Kernel crash via skipped checksum-tree error handling
Published Jul 9, 2025 · Updated May 11, 2026
NULL pointer dereference in Linux Btrfs allows local users to crash the kernel by reading a corrupted filesystem after a rescue mount. During load_global_roots_objectid(), a read_tree_root_path() failure leaves ret at zero, skips BTRFS_FS_STATE_NO_DATA_CSUMS, and permits btrfs_lookup_csum() to use a NULL checksum root. Reaching the fault requires local access, a corrupted Btrfs checksum-tree root, a read-only rescue=ibadroots mount, and a subsequent data read.
Summary
What happened
NULL pointer dereference in Linux Btrfs allows local users to crash the kernel by reading a corrupted filesystem after a rescue mount. During load_global_roots_objectid(), a read_tree_root_path() failure leaves ret at zero, skips BTRFS_FS_STATE_NO_DATA_CSUMS, and permits btrfs_lookup_csum() to use a NULL checksum root. Reaching the fault requires local access, a corrupted Btrfs checksum-tree root, a read-only rescue=ibadroots mount, and a subsequent data read.
The record
- CVE
- CVE-2025-38260
- Published
- Jul 9, 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 9, 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.17
- Affected versionversion=abed4aaae4f71a7bcdbe90a65319b6e772a2689d <3f5c4a996f8f4fecd24a3eb344a307c50af895c2
- Affected versionversion=abed4aaae4f71a7bcdbe90a65319b6e772a2689d <547e836661554dcfa15c212a3821664e85b4191a
- Affected versionversion=abed4aaae4f71a7bcdbe90a65319b6e772a2689d <bbe9231fe611a54a447962494472f604419bad59
- Affected versionversion=abed4aaae4f71a7bcdbe90a65319b6e772a2689d <f8ce11903211542a61f05c02caedd2edfb4256b8
- Affected versionversion=abed4aaae4f71a7bcdbe90a65319b6e772a2689d <fc97a116dc4929905538bc0bd3af7faa51192957
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