CVE-2024-40908: Linux kernel · bpf: Set run context for rawtp test_run callback
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 29 Oct 2026, 22:52 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
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.
References
- nvd.nist.gov/vuln/detail/CVE-2024-40908 (opens in a new tab)
- git.kernel.org/stable/c/3708b6c2546c9eb34aead8a34a17e8ae69004e4d (opens in a new tab)
- git.kernel.org/stable/c/789bd77c9342aa6125003871ae5c6034d0f6f9d2 (opens in a new tab)
- git.kernel.org/stable/c/ae0ba0ab7475a129ef7d449966edf677367efeb4 (opens in a new tab)
- git.kernel.org/stable/c/d0d1df8ba18abc57f28fb3bc053b2bf319367f2c (opens in a new tab)
- git.kernel.org/stable/c/d387805d4b4a46ee01e3dae133c81b6d80195e5b (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)