CVE-2024-26739Use After Free in Linux

CWE-416Use After Free26 documents7 sources
Severity
7.8HIGHNVD
OSV8.8
EPSS
0.0%
top 98.28%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 3
Latest updateSep 2

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages6 packages

NVDlinux/linux_kernel4.195.10.238+5
Debianlinux/linux_kernel< 5.10.244-1+3
Ubuntulinux/linux_kernel< 5.15.0-144.157
CVEListV5linux/linuxe5cf1baf92cb785b90390db1c624948e70c8b8bd0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd+6
debiandebian/linux< linux 6.1.137-1 (bookworm)

Also affects: Debian Linux 11.0

Patches

🔴Vulnerability Details

12
OSV
linux-azure-5.15 vulnerabilities2025-09-02
OSV
linux-azure-fips vulnerabilities2025-08-22
OSV
linux-azure vulnerabilities2025-08-22
OSV
linux-raspi vulnerabilities2025-08-05
OSV
linux-xilinx-zynqmp vulnerabilities2025-07-29

📋Vendor Advisories

12
Ubuntu
Linux kernel (Azure) vulnerabilities2025-09-02
Ubuntu
Linux kernel (Azure FIPS) vulnerabilities2025-08-22
Ubuntu
Linux kernel (Azure) vulnerabilities2025-08-22
Ubuntu
Linux kernel (Raspberry Pi) vulnerabilities2025-08-05
Ubuntu
Linux kernel (Xilinx ZynqMP) vulnerabilities2025-07-29

💬Community

1
Bugzilla
CVE-2024-26739 kernel: net/sched: act_mirred: don't override retval if we already lost the skb2024-04-04