Kernel crash via optional length dereference
Published Jul 10, 2025 · Updated May 11, 2026
NULL pointer dereference in Linux kernel Bluetooth EIR parsing allows local users to crash affected kernels through service data. eir_get_service_data passes its optional len output to eir_get_data, then dereferences len to advance past a nonmatching EIR_SERVICE_DATA entry even when it is NULL. Reachability requires a caller that omits the length output and parsing that continues after a UUID mismatch; the bounded consequence is a kernel crash.
Summary
What happened
NULL pointer dereference in Linux kernel Bluetooth EIR parsing allows local users to crash affected kernels through service data. eir_get_service_data passes its optional len output to eir_get_data, then dereferences len to advance past a nonmatching EIR_SERVICE_DATA entry even when it is NULL. Reachability requires a caller that omits the length output and parsing that continues after a UUID mismatch; the bounded consequence is a kernel crash.
The record
- CVE
- CVE-2025-38304
- Published
- Jul 10, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 10, 2025CVE 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.19
- Affected versionversion=8f9ae5b3ae80f168a6224529e3787f4fb27f299a <20a2aa01f5aeb6daad9aeaa7c33dd512c58d81eb
- Affected versionversion=8f9ae5b3ae80f168a6224529e3787f4fb27f299a <497c9d2d7d3983826bb02c10fb4a5818be6550fb
- Affected versionversion=8f9ae5b3ae80f168a6224529e3787f4fb27f299a <4bf29910570666e668a60d953f8da78e95bb7fa2
- Affected versionversion=8f9ae5b3ae80f168a6224529e3787f4fb27f299a <7d99cc0f8e6fa0f35570887899f178122a61d44e
- Affected versionversion=8f9ae5b3ae80f168a6224529e3787f4fb27f299a <842f7c3154d5b25ca11753c02ee8cf6ee64c0142
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.
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