CVE-2024-40996

published 12 Jul 2024 · updated 17 Nov 2026

bpf: Avoid splat in pskb_pull_reason

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel dacc15e9cb248d19e5fc63c54bef0b9b55007761, Kernel 5e90258303a358e88737afb5048bee9113beea3a, Kernel 6.1.96 and 5 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=8af60bb2b215f478b886f1d6d302fefa7f0b917d <dacc15e9cb248d19e5fc63c54bef0b9b55007761, >=219eee9c0d16f1b754a8b85275854ab17df0850a <5e90258303a358e88737afb5048bee9113beea3a, >=6.1.86 <6.1.96, >=6.6.27 <6.6.36, >=6.8.6 <6.9, =6.9, =fff05b2b004d9a8a2416d08647f3dc9068e357c8, >=1b2b26595bb09febf14c5444c873ac4ec90a5a77 <7f9644782c559635bd676c12c59389a34ed7c866, >=219eee9c0d16f1b754a8b85275854ab17df0850a <2bbe3e5a2f4ef69d13be54f1cf895b4658287080dacc15e9cb248d19e5fc63c54bef0b9b55007761, 5e90258303a358e88737afb5048bee9113beea3a, 6.1.96, 6.6.36, 6.9, 7f9644782c559635bd676c12c59389a34ed7c866, 2bbe3e5a2f4ef69d13be54f1cf895b4658287080
linux-kernel: Kernel>=6.6.27 <6.6.36, >=6.8.6 <6.9, >=6.9.0 <6.9.7, >=6.1.86 <6.1.966.6.36, 6.9, 6.9.7, 6.1.96

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-40996 severity on Zeptric[![CVE-2024-40996](https://zeptric.io/badge/cve/CVE-2024-40996.svg)](https://zeptric.io/cve/CVE-2024-40996)