CVE-2024-26739
published high CVSS 3.1 · 7.8net/sched: act_mirred: don't override retval if we already lost the skb
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe5cf1baf92cb785b90390db1c624948e70c8b8bd to < 0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd · e5cf1baf92cb785b90390db1c624948e70c8b8bd to < 9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5 · e5cf1baf92cb785b90390db1c624948e70c8b8bd to < e873e8f7d03a2ee5b77fb1a305c782fed98e2754 · e5cf1baf92cb785b90390db1c624948e70c8b8bd to < 28cdbbd38a4413b8eff53399b3f872fd4e80db9d · e5cf1baf92cb785b90390db1c624948e70c8b8bd to < f4e294bbdca8ac8757db436fc82214f3882fc7e7 · e5cf1baf92cb785b90390db1c624948e70c8b8bd to < 166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.19 (affected) · 0 to < 4.19 (unaffected · semver) · 5.10.238 through 5.10.* (unaffected · semver) · 5.15.182 through 5.15.* (unaffected · semver) · 6.1.136 through 6.1.* (unaffected · semver) · 6.6.19 through 6.6.* (unaffected · semver) · 6.7.7 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2025-095 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-073 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1050 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 9 | bpftool | Advisory build | 7.3.0-427.37.1.el9_4 | ALSA-2024:6997 |
| Debian | bullseye | linux | Advisory build | 5.10.244-1 | DLA-4327-1 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.137-1~deb11u1 | DLA-4193-1 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.3.0-427.37.1.el9_4 | ELSA-2024-6997 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.3.0-427.37.1.el9_4 | ELSA-2024-6997 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-427.37.1.el9_4 | ELSA-2024-6997 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-427.37.1.el9_4 | ELSA-2024-6997 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-427.37.1.el9_4 | ELSA-2024-6997 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-427.37.1.el9_4 | ELSA-2024-6997 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable configuration (ingress qdisc + filter with an act_mirred redirect) must be installed locally via rtnetlink, and the attacker drives the trigger by injecting frames locally into that device. Per kernel scoring convention, tc/qdisc netlink-configured paths are Local. AC:L - There is no race or memory-layout precondition; the attacker fully controls both the mirred configuration and the drop condition (unhandled ethertype, or a drop filter/saturated qdisc on the target device), so every injected packet deterministically produces the double free. PR:L - Configuring the mirred action requires only CAP_NET_ADMIN within a network namespace, which any unprivileged user obtains via `unshare -Urn`; CAP_NET_RAW in that same user namespace supplies the AF_PACKET frame injection. UI:N - The attacker sets up the qdisc/filter and sends the packets entirely on their own; no action by any other user or administrator is needed. S:U - The corruption is confined to the kernel's own heap and privilege domain; no VM, IOMMU, or other security-authority boundary is crossed. C:H - The skb and its data buffer are freed twice, so the same slab object is handed to two owners; this use-after-free lets an attacker read the contents of a kernel object aliased onto the reclaimed skb, giving arbitrary kernel memory disclosure. I:H - The same double-free/UAF primitive permits heap spraying of the reclaimed skb with attacker-controlled data, yielding a write primitive over adjacent kernel structures and a path to control-flow hijack and privilege escalation. A:H - Even without further exploitation, freeing an already-freed skb corrupts the slab freelist and reliably triggers a kernel oops/panic (or BUG on a debug kernel), and it can be repeated at packet rate.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e5cf1baf92cb785b90390db1c624948e70c8b8bd to < 0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd (affected · git)e5cf1baf92cb785b90390db1c624948e70c8b8bd to < 9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5 (affected · git)e5cf1baf92cb785b90390db1c624948e70c8b8bd to < e873e8f7d03a2ee5b77fb1a305c782fed98e2754 (affected · git)e5cf1baf92cb785b90390db1c624948e70c8b8bd to < 28cdbbd38a4413b8eff53399b3f872fd4e80db9d (affected · git)e5cf1baf92cb785b90390db1c624948e70c8b8bd to < f4e294bbdca8ac8757db436fc82214f3882fc7e7 (affected · git)e5cf1baf92cb785b90390db1c624948e70c8b8bd to < 166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.19 (affected)0 to < 4.19 (unaffected · semver)5.10.238 through 5.10.* (unaffected · semver)5.15.182 through 5.15.* (unaffected · semver)6.1.136 through 6.1.* (unaffected · semver)6.6.19 through 6.6.* (unaffected · semver)6.7.7 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd
- https://git.kernel.org/stable/c/166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210
- https://git.kernel.org/stable/c/28cdbbd38a4413b8eff53399b3f872fd4e80db9d
- https://git.kernel.org/stable/c/9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5
- https://git.kernel.org/stable/c/e873e8f7d03a2ee5b77fb1a305c782fed98e2754
- https://git.kernel.org/stable/c/f4e294bbdca8ac8757db436fc82214f3882fc7e7
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
Provider assertions
3Linux · cna
net/sched: act_mirred: don't override retval if we already lost the skb
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 539e7cba7546758917936e8adea51333acc543ced78b8f07ba864fa557d52774
- Ingested
- 23 Sep 2026, 08:20:34 UTC
- Source record
- Official CVE record