CVE-2024-26739
net/sched: act_mirred: don't override retval if we already lost the skb
Reported by linux · Published April 3, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-libbpf-devel | Amazon Linux | 6.1.140-154.222.amzn2023 |
| perf | Amazon Linux | 6.1.140-154.222.amzn2023 |
| kernel-headers | Amazon Linux | 6.1.140-154.222.amzn2023 |
| linux_kernel | linux | 6.7.7, 6.6.19, 6.1.136, 5.15.182, 5.10.238 |
| Linux | Linux | 4.19, 166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | e5cf1baf92cb785b90390db1c624948e70c8b8bd, e5cf1baf92cb785b90390db1c624948e70c8b8bd, e5cf1baf92cb785b90390db1c624948e70c8b8bd |
| Linux | Linux | 4.19, 0, 5.10.238 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-headers | 0 |
| Linux | Linux | 6.7.7, *, * |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel | 0 |
| linux | linux_kernel | 4.19, 4.19, 4.19 |
| amazon:2023 | kernel-livepatch-6.1.140-154.222 | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
Timeline
- Apr 3, 2024 CVE Published
- Apr 4, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (11 in total, the first dated here)
- Jan 15, 2026 Security Advisory (308 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (271 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-26739
vulnetix vdb fixes CVE-2024-26739
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-26739/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart