VDB

CVE-2024-26739

CVE-2024-26739 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
kernel-libbpf-develAmazon Linux6.1.140-154.222.amzn2023
perfAmazon Linux6.1.140-154.222.amzn2023
kernel-headersAmazon Linux6.1.140-154.222.amzn2023
linux_kernellinux6.7.7, 6.6.19, 6.1.136, 5.15.182, 5.10.238
LinuxLinux4.19, 166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxe5cf1baf92cb785b90390db1c624948e70c8b8bd, e5cf1baf92cb785b90390db1c624948e70c8b8bd, e5cf1baf92cb785b90390db1c624948e70c8b8bd
LinuxLinux4.19, 0, 5.10.238
amazon:2023kernel-libbpf-devel0
amazon:2023perf0
amazon:2023kernel-headers0
LinuxLinux6.7.7, *, *
amazon:2023bpftool0
amazon:2023kernel-libbpf0
amazon:2023kernel-tools-devel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel0
linuxlinux_kernel4.19, 4.19, 4.19
amazon:2023kernel-livepatch-6.1.140-154.2220
amazon:2023python3-perf0
amazon:2023kernel-modules-extra0
amazon:2023kernel-tools0
amazon:2023kernel-devel0
amazon:2023kernel-modules-extra-common0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›