CVE-2024-26739CWE-416

CVE-2024-26739

High · published April 3, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
19.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00278 · 19.2th percentile
Weakness
CWE-416 · Use After Free
Published
2024-04-03T21:15Z
Affected products (10)
ProductVersionsFixed in
debian/debian_linuxall versions—
linux/linux_kernel≥ 4.19, < 5.10.2385.10.238
linux/linux_kernel≥ 5.11, < 5.15.1825.15.182
linux/linux_kernel≥ 5.16, < 6.1.1366.1.136
linux/linux_kernel≥ 6.2, < 6.6.196.6.19
linux/linux_kernel≥ 6.7, < 6.7.76.7.7
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (11)
EPSS history
Timeline
  • 03 APR 17:00Z
    net/sched: act_mirred: don't override retval if we already lost the skb
    cvelistv5