CVE-2024-40908
bpf: Set run context for rawtp test_run callback
Check your servers for CVE-2024-40908
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-40908 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
bpf: Set run context for rawtp test_run callback
syzbot reported crash when rawtp program executed through the test_run interface calls bpf_get_attach_cookie helper or any other helper that touches task->bpf_ctx pointer.
Setting the run context (task->bpf_ctx pointer) for test_run callback.
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.9% 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.
| Product | Versions |
|---|---|
| Linux |
affected from 7adfc6c9b315e174cf8743b21b7b691c8766791b, before 789bd77c9342aa6125003871ae5c6034d0f6f9d2 affected from 7adfc6c9b315e174cf8743b21b7b691c8766791b, before 3708b6c2546c9eb34aead8a34a17e8ae69004e4d affected from 7adfc6c9b315e174cf8743b21b7b691c8766791b, before d387805d4b4a46ee01e3dae133c81b6d80195e5b affected from 7adfc6c9b315e174cf8743b21b7b691c8766791b, before ae0ba0ab7475a129ef7d449966edf677367efeb4 affected from 7adfc6c9b315e174cf8743b21b7b691c8766791b, before d0d1df8ba18abc57f28fb3bc053b2bf319367f2c
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 5.15.162 up to and including 5.15.* unaffected from 6.1.95 up to and including 6.1.* unaffected from 6.6.35 up to and including 6.6.* unaffected from 6.9.6 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-40908 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-40908
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-40908
trivy image --scanners vuln IMAGE | grep CVE-2024-40908
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
- https://git.kernel.org/stable/c/789bd77c9342aa6125003871ae5c6034d0f6f9d2 git.kernel.org
- https://git.kernel.org/stable/c/3708b6c2546c9eb34aead8a34a17e8ae69004e4d git.kernel.org
- https://git.kernel.org/stable/c/d387805d4b4a46ee01e3dae133c81b6d80195e5b git.kernel.org
- https://git.kernel.org/stable/c/ae0ba0ab7475a129ef7d449966edf677367efeb4 git.kernel.org
- https://git.kernel.org/stable/c/d0d1df8ba18abc57f28fb3bc053b2bf319367f2c git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-40908 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.
Vulnpocalypse