# CVE-2024-40996: bpf: Avoid splat in pskb\_pull\_reason

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 18, 2026-11-26)
- **Published:** 2024-07-12T12:37:38.454Z
- **Modified:** 2026-06-17T07:47:02.803Z

## Who should check

- Anyone running Linux \>= 8af60bb2b215f478b886f1d6d302fefa7f0b917d, \< dacc15e9cb248d19e5fc63c54bef0b9b55007761; \>= 1b2b26595bb09febf14c5444c873ac4ec90a5a77, \< 7f9644782c559635bd676c12c59389a34ed7c866; \>= 219eee9c0d16f1b754a8b85275854ab17df0850a, \< 5e90258303a358e88737afb5048bee9113beea3a; \>= 219eee9c0d16f1b754a8b85275854ab17df0850a, \< 2bbe3e5a2f4ef69d13be54f1cf895b4658287080; fff05b2b004d9a8a2416d08647f3dc9068e357c8; \>= 6.1.86, \< 6.1.96; \>= 6.6.27, \< 6.6.36; \>= 6.8.6, \< 6.9
- Anyone running Linux 6.9

## Description

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 and fixed versions

- Linux: \>= 8af60bb2b215f478b886f1d6d302fefa7f0b917d, \< dacc15e9cb248d19e5fc63c54bef0b9b55007761; \>= 1b2b26595bb09febf14c5444c873ac4ec90a5a77, \< 7f9644782c559635bd676c12c59389a34ed7c866; \>= 219eee9c0d16f1b754a8b85275854ab17df0850a, \< 5e90258303a358e88737afb5048bee9113beea3a; \>= 219eee9c0d16f1b754a8b85275854ab17df0850a, \< 2bbe3e5a2f4ef69d13be54f1cf895b4658287080; fff05b2b004d9a8a2416d08647f3dc9068e357c8; \>= 6.1.86, \< 6.1.96; \>= 6.6.27, \< 6.6.36; \>= 6.8.6, \< 6.9 (cvelist)
- Linux: 6.9 (cvelist)

## Mitigation

- Upgrade Linux to 6.9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-40996. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-40996.md
Affected: Linux >= 8af60bb2b215f478b886f1d6d302fefa7f0b917d, < dacc15e9cb248d19e5fc63c54bef0b9b55007761; >= 1b2b26595bb09febf14c5444c873ac4ec90a5a77, < 7f9644782c559635bd676c12c59389a34ed7c866; >= 219eee9c0d16f1b754a8b85275854ab17df0850a, < 5e90258303a358e88737afb5048bee9113beea3a; >= 219eee9c0d16f1b754a8b85…
Fixed in: Linux 7f9644782c559635bd676c12c59389a34ed7c866, Linux 5e90258303a358e88737afb5048bee9113beea3a, Linux 2bbe3e5a2f4ef69d13be54f1cf895b4658287080, Linux 6.1.96, Linux 6.6.36, Linux 6.9

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-40996 being exploited?

There is no confirmed exploitation: CVE-2024-40996 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-40996?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-40996?

Linux \>= 8af60bb2b215f478b886f1d6d302fefa7f0b917d, \< dacc15e9cb248d19e5fc63c54bef0b9b55007761; \>= 1b2b26595bb09febf14c5444c873ac4ec90a5a77, \< 7f9644782c559635bd676c12c59389a34ed7c866; \>= 219eee9c0d16f1b754a8b85275854ab17df0850a, \< 5e90258303a358e88737afb5048bee9113beea3a; \>= 219eee9c0d16f1b754a8b85275854ab17df0850a, \< 2bbe3e5a2f4ef69d13be54f1cf895b4658287080; fff05b2b004d9a8a2416d08647f3dc9068e357c8; \>= 6.1.86, \< 6.1.96; \>= 6.6.27, \< 6.6.36; \>= 6.8.6, \< 6.9; Linux 6.9.

### Is there a fix for CVE-2024-40996?

Yes. Fixed in Linux 7f9644782c559635bd676c12c59389a34ed7c866, Linux 5e90258303a358e88737afb5048bee9113beea3a, Linux 2bbe3e5a2f4ef69d13be54f1cf895b4658287080, Linux 6.1.96, Linux 6.6.36, Linux 6.9. Upgrade Linux to 6.9 or later.

### How do I check if I'm affected by CVE-2024-40996?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/dacc15e9cb248d19e5fc63c54bef0b9b55007761>
- patch: <https://git.kernel.org/stable/c/7f9644782c559635bd676c12c59389a34ed7c866>
- patch: <https://git.kernel.org/stable/c/5e90258303a358e88737afb5048bee9113beea3a>
- patch: <https://git.kernel.org/stable/c/2bbe3e5a2f4ef69d13be54f1cf895b4658287080>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-40996>

HTML: <https://flawdb.com/CVE-2024-40996> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-40996>
