CVE-2024-42071
ionic: use dev_consume_skb_any outside of napi
Mitigation
- Upgrade Linux to 84b767f9e34fdb143c09e66a2a20722fc2921821 or later.
Who should check
- Anyone running Linux >= 386e69865311044b576ff536c99c6ee9cc98a228, < ef7646ed49fff962e97b276f4ab91327a67eeb5a; >= 386e69865311044b576ff536c99c6ee9cc98a228, < 84b767f9e34fdb143c09e66a2a20722fc2921821
- Anyone running Linux 6.9
Vulnerability facts
- Affected
- Linux >= 386e69865311044b576ff536c99c6ee9cc98a228, < ef7646ed49fff962e97b276f4ab91327a67eeb5a; >= 386e69865311044b576ff536c99c6ee9cc98a228, < 84b767f9e34fdb143c09e66a2a20722fc2921821; Linux 6.9
- Fixed in
- Linux 84b767f9e34fdb143c09e66a2a20722fc2921821
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-834
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ionic: use dev_consume_skb_any outside of napi If we're not in a NAPI softirq context, we need to be careful about how we call napi_consume_skb(), specifically we need to call it with budget==0 to signal to it that we're not in a safe context. This was found while running some configuration stress testing of traffic and a change queue config loop running, and this curious note popped out: [ 4371.402645] BUG: using smp_processor_id() in preemptible [00000000] code: ethtool/20545 [ 4371.402897] caller is napi_skb_cache_put+0x16/0x80 [ 4371.403120] CPU: 25 PID: 20545 Comm: ethtool Kdump: loaded Tainted: G OE 6.10.0-rc3-netnext+ #8 [ 4371.403302] Hardware name: HPE ProLiant DL360 Gen10/ProLiant DL360 Gen10, BIOS U32 01/23/2021 [ 4371.403460] Call Trace: [ 4371.403613] <TASK> [ 4371.403758] dump_stack_lvl+0x4f/0x70 [ 4371.403904] check_preemption_disabled+0xc1/0xe0 [ 4371.404051] napi_skb_cache_put+0x16/0x80 [ 4371.404199] ionic_tx_clean+0x18a/0x240 [ionic] [ 4371.404354] ionic_tx_cq_service+0xc4/0x200 [ionic] [ 4371.404505] ionic_tx_flush+0x15/0x70 [ionic] [ 4371.404653] ? ionic_lif_qcq_deinit.isra.23+0x5b/0x70 [ionic] [ 4371.404805] ionic_txrx_deinit+0x71/0x190 [ionic] [ 4371.404956] ionic_reconfigure_queues+0x5f5/0xff0 [ionic] [ 4371.405111] ionic_set_ringparam+0x2e8/0x3e0 [ionic] [ 4371.405265] ethnl_set_rings+0x1f1/0x300 [ 4371.405418] ethnl_default_set_doit+0xbb/0x160 [ 4371.405571] genl_family_rcv_msg_doit+0xff/0x130 [...] I found that ionic_tx_clean() calls napi_consume_skb() which calls napi_skb_cache_put(), but before that last call is the note /* Zero budget indicate non-NAPI context called us, like netpoll */ and DEBUG_NET_WARN_ON_ONCE(!in_softirq()); Those are pretty big hints that we're doing it wrong. We can pass a context hint down through the calls to let ionic_tx_clean() know what we're doing so it can call napi_consume_skb() correctly.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-42071. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-42071.md Affected: Linux >= 386e69865311044b576ff536c99c6ee9cc98a228, < ef7646ed49fff962e97b276f4ab91327a67eeb5a; >= 386e69865311044b576ff536c99c6ee9cc98a228, < 84b767f9e34fdb143c09e66a2a20722fc2921821; Linux 6.9 Fixed in: Linux 84b767f9e34fdb143c09e66a2a20722fc2921821 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.
References
FAQ
Is CVE-2024-42071 being exploited?
There is no confirmed exploitation: CVE-2024-42071 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-42071?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-42071?
Linux >= 386e69865311044b576ff536c99c6ee9cc98a228, < ef7646ed49fff962e97b276f4ab91327a67eeb5a; >= 386e69865311044b576ff536c99c6ee9cc98a228, < 84b767f9e34fdb143c09e66a2a20722fc2921821; Linux 6.9.
Is there a fix for CVE-2024-42071?
Yes. Fixed in Linux 84b767f9e34fdb143c09e66a2a20722fc2921821. Upgrade Linux to 84b767f9e34fdb143c09e66a2a20722fc2921821 or later.
How do I check if I'm affected by CVE-2024-42071?
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.