CVE-2024-26739
net/sched: act_mirred: don't override retval if we already lost the skb
Mitigation
- Upgrade Linux to 166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210 or later.
Who should check
- Anyone running Linux >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < e873e8f7d03a2ee5b77fb1a305c782fed98e2754; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 28cdbbd38a4413b8eff53399b3f872fd4e80db9d; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < f4e294bbdca8ac8757db436fc82214f3882fc7e7; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210
- Anyone running Linux 4.19
Vulnerability facts
- Affected
- Linux >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < e873e8f7d03a2ee5b77fb1a305c782fed98e2754; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 28cdbbd38a4413b8eff53399b3f872fd4e80db9d; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < f4e294bbdca8ac8757db436fc82214f3882fc7e7; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210; Linux 4.19
- Fixed in
- Linux 0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd, Linux 9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5, Linux 28cdbbd38a4413b8eff53399b3f872fd4e80db9d, Linux 166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210
- 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.35% chance of exploitation in 30 days (percentile 21, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net/sched: act_mirred: don't override retval if we already lost the skb If we're redirecting the skb, and haven't called tcf_mirred_forward(), yet, we need to tell the core to drop the skb by setting the retcode to SHOT. If we have called tcf_mirred_forward(), however, the skb is out of our hands and returning SHOT will lead to UaF. Move the retval override to the error path which actually need it.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < e873e8f7d03a2ee5b77fb1a305c782fed98e2754; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 28cdbbd38a4413b8eff53399b3f872fd4e80db9d; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < f4e294bbdca8ac8757db436fc82214f3882fc7e7; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210 | — | cvelist |
| Linux | 4.19 | — | cvelist |
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-26739. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-26739.md Affected: Linux >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < e873e8f7d03a2ee5b77fb1a305c782fed98e2754; >= e5cf1baf92cb785b90390db… Fixed in: Linux 0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd, Linux 9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5, Linux 28cdbbd38a4413b8eff53399b3f872fd4e80db9d, Linux 166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210 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
Patches
- https://git.kernel.org/stable/c/0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd
- https://git.kernel.org/stable/c/9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5
- https://git.kernel.org/stable/c/e873e8f7d03a2ee5b77fb1a305c782fed98e2754
- https://git.kernel.org/stable/c/28cdbbd38a4413b8eff53399b3f872fd4e80db9d
- https://git.kernel.org/stable/c/f4e294bbdca8ac8757db436fc82214f3882fc7e7
- https://git.kernel.org/stable/c/166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210
FAQ
Is CVE-2024-26739 being exploited?
There is no confirmed exploitation: CVE-2024-26739 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-26739?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-26739?
Linux >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < e873e8f7d03a2ee5b77fb1a305c782fed98e2754; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 28cdbbd38a4413b8eff53399b3f872fd4e80db9d; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < f4e294bbdca8ac8757db436fc82214f3882fc7e7; >= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210; Linux 4.19.
Is there a fix for CVE-2024-26739?
Yes. Fixed in Linux 0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd, Linux 9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5, Linux 28cdbbd38a4413b8eff53399b3f872fd4e80db9d, Linux 166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210. Upgrade Linux to 166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210 or later.
How do I check if I'm affected by CVE-2024-26739?
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.