# CVE-2024-43835: virtio\_net: Fix napi\_skb\_cache\_put warning

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 17, 2026-11-26)
- **Published:** 2024-08-17T09:21:52.425Z
- **Modified:** 2026-06-17T07:51:48.363Z

## Who should check

- Anyone running Linux \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< d3af435e8ace119e58d8e21d3d2d6a4e7c4a4baa; \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< 842a97b5e44f0c8a9fc356fe976e0e13ddcf7783; \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< cc7340f18e45886121c131227985d64ef666012f; \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< 6b5325f2457521bbece29499970c0117a648c620; \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< f5e9a22d19bb98a7e86034db85eb295e94187caa; \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< 468a729b78895893d0e580ceea49bed8ada2a2bd; \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< f8321fa75102246d7415a6af441872f6637c93ab
- Anyone running Linux 5.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

virtio\_net: Fix napi\_skb\_cache\_put warning

After the commit bdacf3e34945 ("net: Use nested-BH locking for
napi\_alloc\_cache.") was merged, the following warning began to appear:

	 WARNING: CPU: 5 PID: 1 at net/core/skbuff.c:1451 napi\_skb\_cache\_put+0x82/0x4b0

	  \_\_warn+0x12f/0x340
	  napi\_skb\_cache\_put+0x82/0x4b0
	  napi\_skb\_cache\_put+0x82/0x4b0
	  report\_bug+0x165/0x370
	  handle\_bug+0x3d/0x80
	  exc\_invalid\_op+0x1a/0x50
	  asm\_exc\_invalid\_op+0x1a/0x20
	  \_\_free\_old\_xmit+0x1c8/0x510
	  napi\_skb\_cache\_put+0x82/0x4b0
	  \_\_free\_old\_xmit+0x1c8/0x510
	  \_\_free\_old\_xmit+0x1c8/0x510
	  \_\_pfx\_\_\_free\_old\_xmit+0x10/0x10

The issue arises because virtio is assuming it's running in NAPI context
even when it's not, such as in the netpoll case.

To resolve this, modify virtnet\_poll\_tx() to only set NAPI when budget
is available. Same for virtnet\_poll\_cleantx(), which always assumed that
it was in a NAPI context.

## Affected and fixed versions

- Linux: \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< d3af435e8ace119e58d8e21d3d2d6a4e7c4a4baa; \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< 842a97b5e44f0c8a9fc356fe976e0e13ddcf7783; \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< cc7340f18e45886121c131227985d64ef666012f; \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< 6b5325f2457521bbece29499970c0117a648c620; \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< f5e9a22d19bb98a7e86034db85eb295e94187caa; \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< 468a729b78895893d0e580ceea49bed8ada2a2bd; \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< f8321fa75102246d7415a6af441872f6637c93ab (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-43835. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-43835.md
Affected: Linux >= df133f3f96257ee29696c0ed8bd198ec801dc810, < d3af435e8ace119e58d8e21d3d2d6a4e7c4a4baa; >= df133f3f96257ee29696c0ed8bd198ec801dc810, < 842a97b5e44f0c8a9fc356fe976e0e13ddcf7783; >= df133f3f96257ee29696c0ed8bd198ec801dc810, < cc7340f18e45886121c131227985d64ef666012f; >= df133f3f96257ee29696c0e…
Fixed in: Linux 842a97b5e44f0c8a9fc356fe976e0e13ddcf7783, Linux 6b5325f2457521bbece29499970c0117a648c620, Linux 468a729b78895893d0e580ceea49bed8ada2a2bd

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-43835 being exploited?

There is no confirmed exploitation: CVE-2024-43835 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-43835?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-43835?

Linux \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< d3af435e8ace119e58d8e21d3d2d6a4e7c4a4baa; \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< 842a97b5e44f0c8a9fc356fe976e0e13ddcf7783; \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< cc7340f18e45886121c131227985d64ef666012f; \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< 6b5325f2457521bbece29499970c0117a648c620; \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< f5e9a22d19bb98a7e86034db85eb295e94187caa; \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< 468a729b78895893d0e580ceea49bed8ada2a2bd; \>= df133f3f96257ee29696c0ed8bd198ec801dc810, \< f8321fa75102246d7415a6af441872f6637c93ab; Linux 5.0.

### Is there a fix for CVE-2024-43835?

Yes. Fixed in Linux 842a97b5e44f0c8a9fc356fe976e0e13ddcf7783, Linux 6b5325f2457521bbece29499970c0117a648c620, Linux 468a729b78895893d0e580ceea49bed8ada2a2bd. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-43835?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/d3af435e8ace119e58d8e21d3d2d6a4e7c4a4baa>
- patch: <https://git.kernel.org/stable/c/842a97b5e44f0c8a9fc356fe976e0e13ddcf7783>
- patch: <https://git.kernel.org/stable/c/cc7340f18e45886121c131227985d64ef666012f>
- patch: <https://git.kernel.org/stable/c/6b5325f2457521bbece29499970c0117a648c620>
- patch: <https://git.kernel.org/stable/c/f5e9a22d19bb98a7e86034db85eb295e94187caa>
- patch: <https://git.kernel.org/stable/c/468a729b78895893d0e580ceea49bed8ada2a2bd>
- patch: <https://git.kernel.org/stable/c/f8321fa75102246d7415a6af441872f6637c93ab>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-43835>

HTML: <https://flawdb.com/CVE-2024-43835> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-43835>
