CVE-2024-40996
bpf: Avoid splat in pskb_pull_reason
Reported by linux · Published July 12, 2024
In the Linux kernel, the following vulnerability has been resolved: bpf: Avoid splat in pskb_pull_reason syzkaller builds (CONFIG_DEBUG_NET=y) frequently trigger a debug hint in pskb_may_pull. We'd like to retain this debug check because it might hint at integer overflows and other issues (kernel code should pull headers, not huge value). In bpf case, this splat isn't interesting at all: such (nonsensical) bpf programs are typically generated by a fuzzer anyway. Do what Eric suggested and suppress such warning. For CONFIG_DEBUG_NET=n we don't need the extra check because pskb_may_pull will do the right thing: return an error without the WARN() backtrace.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perf | Amazon Linux | 6.1.96-102.177.amzn2023 |
| kernel | Amazon Linux | 6.1.96-102.177.amzn2023 |
| kernel-headers | Amazon Linux | 6.1.96-102.177.amzn2023 |
| bpftool | Amazon Linux | 6.1.96-102.177.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.96-102.177.amzn2023 |
| python3-perf | Amazon Linux | 6.1.96-102.177.amzn2023 |
| kernel-livepatch-6.1.96-102.177 | Amazon Linux | 1.0-0.amzn2023 |
| linux_kernel | linux | 6.9.7, 6.6.36, 6.1.96 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 8af60bb2b215f478b886f1d6d302fefa7f0b917d, 1b2b26595bb09febf14c5444c873ac4ec90a5a77, 219eee9c0d16f1b754a8b85275854ab17df0850a |
| Linux | Linux | 6.9, 0, 6.1.96 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-livepatch-6.1.96-102.177 | 0 |
| linux | linux_kernel | 6.8.6, 6.1.86, 6.6.27 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| Linux | Linux | 8af60bb2b215f478b886f1d6d302fefa7f0b917d, 1b2b26595bb09febf14c5444c873ac4ec90a5a77, 219eee9c0d16f1b754a8b85275854ab17df0850a |
Timeline
- Jul 12, 2024 CVE Published
- Jul 13, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
- Jan 7, 2026 Security Advisory (271 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (174 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-40996
vulnetix vdb fixes CVE-2024-40996
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-40996/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart