CVE-2024-43835 json
virtio_net: Fix napi_skb_cache_put warning
published 2024-08-17 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-40485
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 16%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.4.284, 5.10.226, 5.15.167, 6.1.109, 6.6.50, 6.10.3, 6.11
- linux Debian 12 6.1.112-1
- linux Debian 14, Debian 13 6.10.3-1
debian advisories DEBIAN-CVE-2024-43835
- linux Ubuntu 20.04 LTS 5.4.0-200.220
- linux Ubuntu 22.04 LTS 5.15.0-125.135
- linux Ubuntu 24.04 LTS 6.8.0-50.51
- linux-aws Ubuntu 20.04 LTS 5.4.0-1135.145
- linux-aws Ubuntu 22.04 LTS 5.15.0-1072.78
- linux-aws Ubuntu 24.04 LTS 6.8.0-1020.22
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1139.148
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1071.79
ubuntu advisories UBUNTU-CVE-2024-43835
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Linux Micro 6.0 6.4.0-11.1
- kernel-source-rt Linux Micro 6.0 6.4.0-11.1
- kernel-livepatch-MICRO-6-0-RT_Update_3 Linux Micro 6.0 1-1.2
- kernel-source Linux Micro 6.0 6.4.0-20.1
- kernel-default Linux Micro 6.0 6.4.0-20.1
- kernel-kvmsmall Linux Micro 6.0 6.4.0-20.1
- kernel-default-base Linux Micro 6.0 6.4.0-17.1.1.51
- kernel-livepatch-MICRO-6-0_Update_3 Linux Micro 6.0 1-1.2
suse advisories SUSE-SU-2025:20077-1SUSE-SU-2025:20073-1SUSE-SU-2024:3592-1SUSE-SU-2024:3569-1SUSE-SU-2024:3564-1SUSE-SU-2024:3561-1
- kernel Azure Linux 3.0 6.6.64.2-9
- kernel CBL-Mariner 2.0 5.15.176.3-1
azure linux advisories AZL-51969AZL-51995
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- git.kernel.org/stable/c/d3af435e8ace119e58d8e21d3d2d6a4e7c4a4baa commit
- git.kernel.org/stable/c/842a97b5e44f0c8a9fc356fe976e0e13ddcf7783 commit
- git.kernel.org/stable/c/cc7340f18e45886121c131227985d64ef666012f commit
- git.kernel.org/stable/c/6b5325f2457521bbece29499970c0117a648c620 commit
- git.kernel.org/stable/c/f5e9a22d19bb98a7e86034db85eb295e94187caa commit
- git.kernel.org/stable/c/468a729b78895893d0e580ceea49bed8ada2a2bd commit
- git.kernel.org/stable/c/f8321fa75102246d7415a6af441872f6637c93ab commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-43835 updated cvss 5.5
kernel: virtio_net: Fix napi_skb_cache_put warning
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 moreaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
-
git.kernel.org
/stable/c/d3af435e8ace119e58d8e21d3d2d6a4e7c4a4baa
patch
-
git.kernel.org
/stable/c/842a97b5e44f0c8a9fc356fe976e0e13ddcf7783
patch
-
git.kernel.org
/stable/c/cc7340f18e45886121c131227985d64ef666012f
patch
-
git.kernel.org
/stable/c/6b5325f2457521bbece29499970c0117a648c620
patch
-
git.kernel.org
/stable/c/f5e9a22d19bb98a7e86034db85eb295e94187caa
patch
-
git.kernel.org
/stable/c/468a729b78895893d0e580ceea49bed8ada2a2bd
patch
-
git.kernel.org
/stable/c/f8321fa75102246d7415a6af441872f6637c93ab
patch
- lists.debian.org /debian-lts-announce/2025/01/msg00001.html
- lists.debian.org /debian-lts-announce/2024/10/msg00003.html
Sources
- CVE List CVE-2024-43835
- NVD CVE-2024-43835
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.