CVE-2024-40996

bpf: Avoid splat in pskb_pull_reason

No CVSS score yet EPSS 0.28%

Published 12 Jul 2024 Updated 23 May 2026 CNA: Linux

Check your servers for CVE-2024-40996

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-40996 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.28%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 21.8% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 8af60bb2b215f478b886f1d6d302fefa7f0b917d, before dacc15e9cb248d19e5fc63c54bef0b9b55007761
affected from 1b2b26595bb09febf14c5444c873ac4ec90a5a77, before 7f9644782c559635bd676c12c59389a34ed7c866
affected from 219eee9c0d16f1b754a8b85275854ab17df0850a, before 5e90258303a358e88737afb5048bee9113beea3a
affected from 219eee9c0d16f1b754a8b85275854ab17df0850a, before 2bbe3e5a2f4ef69d13be54f1cf895b4658287080
affected fff05b2b004d9a8a2416d08647f3dc9068e357c8
affected from 6.1.86, before 6.1.96
affected from 6.6.27, before 6.6.36
affected from 6.8.6, before 6.9
Other versions: unaffected
Linux
affected 6.9
unaffected before 6.9
unaffected from 6.1.96 up to and including 6.1.*
unaffected from 6.6.36 up to and including 6.6.*
unaffected from 6.9.7 up to and including 6.9.*
unaffected 6.10 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-40996 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-40996

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-40996
trivy image --scanners vuln IMAGE | grep CVE-2024-40996

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-40996 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.