# CVE-2024-42071: ionic: use dev\_consume\_skb\_any outside of napi

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **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 16, 2026-11-26)
- **CWE:** CWE-834
- **Published:** 2024-07-29T15:52:34.714Z
- **Modified:** 2026-08-05T11:35:29.256Z

## Who should check

- Anyone running Linux \>= 386e69865311044b576ff536c99c6ee9cc98a228, \< ef7646ed49fff962e97b276f4ab91327a67eeb5a; \>= 386e69865311044b576ff536c99c6ee9cc98a228, \< 84b767f9e34fdb143c09e66a2a20722fc2921821
- Anyone running Linux 6.9

## 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

- Linux: \>= 386e69865311044b576ff536c99c6ee9cc98a228, \< ef7646ed49fff962e97b276f4ab91327a67eeb5a; \>= 386e69865311044b576ff536c99c6ee9cc98a228, \< 84b767f9e34fdb143c09e66a2a20722fc2921821 (cvelist)
- Linux: 6.9 (cvelist)

## Mitigation

- Upgrade Linux to 84b767f9e34fdb143c09e66a2a20722fc2921821 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- patch: <https://git.kernel.org/stable/c/ef7646ed49fff962e97b276f4ab91327a67eeb5a>
- patch: <https://git.kernel.org/stable/c/84b767f9e34fdb143c09e66a2a20722fc2921821>

## 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-42071>

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