Kernel crash via unchecked malformed filesystem metadata
Published May 20, 2024 · Updated Aug 5, 2026
Out-of-bounds access in the Btrfs tree checker in Linux 6.5 allows local users to crash the kernel with a crafted filesystem image. __btrfs_check_leaf() skipped item-pointer validation when a metadata leaf lacked the WRITTEN flag, so accessors reached beyond the extent buffer. Triggering requires local access and the ability to make the affected kernel mount attacker-controlled Btrfs media.
Summary
What happened
Out-of-bounds access in the Btrfs tree checker in Linux 6.5 allows local users to crash the kernel with a crafted filesystem image. __btrfs_check_leaf() skipped item-pointer validation when a metadata leaf lacked the WRITTEN flag, so accessors reached beyond the extent buffer. Triggering requires local access and the ability to make the affected kernel mount attacker-controlled Btrfs media.
The record
- CVE
- CVE-2024-35949
- Published
- May 20, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-787
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 20, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 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.5
- Affected versionversion=85d8a826c7cde17f9cca9c4debecb4538bdb6573 <9dff3e36ea89e8003516841c27c45af562b6ef44
- Affected versionversion=85d8a826c7cde17f9cca9c4debecb4538bdb6573 <e03418abde871314e1a3a550f4c8afb7b89cb273
- Affected versionversion=85d8a826c7cde17f9cca9c4debecb4538bdb6573 <ef3ba8ce8cf7075b716aa4afcefc3034215878ee
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