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.
References
Configurations
Configuration 1 (hide)
|
History
07 Jan 2025, 17:28
Type | Values Removed | Values Added |
---|---|---|
First Time |
Linux linux Kernel
Linux |
|
CWE | CWE-416 | |
References | () https://git.kernel.org/stable/c/166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210 - Patch | |
References | () https://git.kernel.org/stable/c/28cdbbd38a4413b8eff53399b3f872fd4e80db9d - Patch | |
References | () https://git.kernel.org/stable/c/f4e294bbdca8ac8757db436fc82214f3882fc7e7 - Patch | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.8 |
CPE | cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:* |
Information
Published : 2024-04-03 17:15
Updated : 2025-01-07 17:28
NVD link : CVE-2024-26739
Mitre link : CVE-2024-26739
CVE.ORG link : CVE-2024-26739
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-416
Use After Free