CVE-2024-26739

net/sched: act_mirred: don't override retval if we already lost the skb

HIGH
7.8
CVSS Score
Published: April 3, 2024 at 05:00 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.19 ≤ v < 5.10.2384.19 ≤ v < 5.15.1824.19 ≤ v < 6.1.1364.19 ≤ v < 6.6.194.19 ≤ v < 6.7.74.19 ≤ v < 6.85.11 ≤ v < 5.15.1825.16 ≤ v < 6.1.1366.2 ≤ v < 6.6.196.7 ≤ v < 6.7.76.8 rc16.8 rc26.8 rc36.8 rc4e5cf1baf92cb785b90390db1c624948e70c8b8bd
Vendor states this is fixed in 0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd (fixed)
Vendor states this is fixed in 166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210 (fixed)
Vendor states this is fixed in 28cdbbd38a4413b8eff53399b3f872fd4e80db9d (fixed)
Vendor states this is fixed in 9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5 (fixed)
Vendor states this is fixed in e873e8f7d03a2ee5b77fb1a305c782fed98e2754 (fixed)
Vendor states this is fixed in f4e294bbdca8ac8757db436fc82214f3882fc7e7 (fixed)
Vendor states this is fixed in 4.19 (unaffected)
Vendor states this is fixed in 5.10.238 (unaffected)
Vendor states this is fixed in 5.15.182 (unaffected)
Vendor states this is fixed in 6.1.136 (unaffected)
Vendor states this is fixed in 6.6.19 (unaffected)
Vendor states this is fixed in 6.7.7 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/28cdbbd38a4413b8eff53399b3f872fd4e80db9d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e873e8f7d03a2ee5b77fb1a305c782fed98e2754
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f4e294bbdca8ac8757db436fc82214f3882fc7e7
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card