Kernel crash via unchecked BTF error pointer
Published Jun 21, 2024 · Updated May 11, 2026
Improper error handling in the Linux trace-probe parser allows local users to crash the kernel through a crafted BTF field. In parse_btf_field(), btf_find_struct_member() can return an ERR_PTR value, but the caller checks only for NULL and treats the encoded error as a valid field pointer. Reachability requires permission to create a kprobe event using BTF field access on a kernel built with CONFIG_KPROBE_EVENTS and BTF support; the bounded impact is a kernel crash.
Summary
What happened
Improper error handling in the Linux trace-probe parser allows local users to crash the kernel through a crafted BTF field. In parse_btf_field(), btf_find_struct_member() can return an ERR_PTR value, but the caller checks only for NULL and treats the encoded error as a valid field pointer. Reachability requires permission to create a kprobe event using BTF field access on a kernel built with CONFIG_KPROBE_EVENTS and BTF support; the bounded impact is a kernel crash.
The record
- CVE
- CVE-2024-36481
- Published
- Jun 21, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 21, 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=6.6
- Affected versionversion=c440adfbe30257dde905adc1fce51131145f7245 <4ed468edfeb54c7202e559eba74c25fac6a0dad0
- Affected versionversion=c440adfbe30257dde905adc1fce51131145f7245 <ad4b202da2c498fefb69e5d87f67b946e7fe1e6a
- Affected versionversion=c440adfbe30257dde905adc1fce51131145f7245 <e569eb34970281438e2b48a3ef11c87459fcfbcb
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