Kernel crash via unset raw tracepoint run context
Published Jul 12, 2024 · Updated May 11, 2026
A NULL-pointer dereference in the Linux kernel allows local users to crash the system through a raw tracepoint BPF test run. The rawtp test_run callback invokes helpers such as bpf_get_attach_cookie without first setting task->bpf_ctx, so a helper touching that pointer dereferences an unset run context. A local account able to execute an affected BPF test run can interrupt the entire system, with no reported confidentiality or integrity impact.
Summary
What happened
A NULL-pointer dereference in the Linux kernel allows local users to crash the system through a raw tracepoint BPF test run. The rawtp test_run callback invokes helpers such as bpf_get_attach_cookie without first setting task->bpf_ctx, so a helper touching that pointer dereferences an unset run context. A local account able to execute an affected BPF test run can interrupt the entire system, with no reported confidentiality or integrity impact.
The record
- CVE
- CVE-2024-40908
- Published
- Jul 12, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 12, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.15
- Affected versionversion=7adfc6c9b315e174cf8743b21b7b691c8766791b <3708b6c2546c9eb34aead8a34a17e8ae69004e4d
- Affected versionversion=7adfc6c9b315e174cf8743b21b7b691c8766791b <789bd77c9342aa6125003871ae5c6034d0f6f9d2
- Affected versionversion=7adfc6c9b315e174cf8743b21b7b691c8766791b <ae0ba0ab7475a129ef7d449966edf677367efeb4
- Affected versionversion=7adfc6c9b315e174cf8743b21b7b691c8766791b <d0d1df8ba18abc57f28fb3bc053b2bf319367f2c
- Affected versionversion=7adfc6c9b315e174cf8743b21b7b691c8766791b <d387805d4b4a46ee01e3dae133c81b6d80195e5b
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo