Kernel crash via unreleased btrfs inode
Published May 20, 2025 · Updated May 11, 2026
Missing resource release in Linux btrfs 6.13 through 6.14.5 and 6.15-rc1 through 6.15-rc4 allows local users to crash the kernel. When btrfs_alloc_path() fails, btrfs_iget() returns without calling iget_failed() on the inode created by btrfs_iget_locked(), leaving it busy at unmount. Exploitation requires local privileges sufficient to exercise a crafted btrfs filesystem and the allocation-failure path; the bounded consequence is a kernel BUG and host service interruption.
Summary
What happened
Missing resource release in Linux btrfs 6.13 through 6.14.5 and 6.15-rc1 through 6.15-rc4 allows local users to crash the kernel. When btrfs_alloc_path() fails, btrfs_iget() returns without calling iget_failed() on the inode created by btrfs_iget_locked(), leaving it busy at unmount. Exploitation requires local privileges sufficient to exercise a crafted btrfs filesystem and the allocation-failure path; the bounded consequence is a kernel BUG and host service interruption.
The record
- CVE
- CVE-2025-37904
- Published
- May 20, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 20, 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=6.13
- Affected versionversion=7c855e16ab72596d771355050ffe026e6b99f91c <30a339bece3a44ab0a821477139e84fb86af9761
- Affected versionversion=7c855e16ab72596d771355050ffe026e6b99f91c <48c1d1bb525b1c44b8bdc8e7ec5629cb6c2b9fc4
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