Local kernel crash via missing block-group reference
Published Sep 15, 2025 · Updated Sep 15, 2025
Use-after-free in Linux btrfs allows local users to crash the kernel during cleanup of an unused new block group. btrfs_mark_bg_unused() moves a still-new block group to the unused list without taking the reference expected for a reclaimed group, so later cleanup decrements the reference count to zero. The demonstrated trigger requires local filesystem activity that creates and abandons a block group before creation finishes; unmount then reaches a kernel assertion and crash.
Summary
What happened
Use-after-free in Linux btrfs allows local users to crash the kernel during cleanup of an unused new block group. btrfs_mark_bg_unused() moves a still-new block group to the unused list without taking the reference expected for a reclaimed group, so later cleanup decrements the reference count to zero. The demonstrated trigger requires local filesystem activity that creates and abandons a block group before creation finishes; unmount then reaches a kernel assertion and crash.
The record
- CVE
- CVE-2023-53187
- Published
- Sep 15, 2025
- Updated
- Sep 15, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1499
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Sep 15, 2025CVE publishedPublication date reported by the CVE source.
- Sep 15, 2025Record 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=01eca70ef8cf499d0cb6d1bbd691558e7792cf17 <6297644db23f77c02ae7961cc542d162629ae2c4
- Affected versionversion=5d19abcffd8404078dfa7d7118cec357b5e7bc58 <7569c4294ba6ff9f194635b14876198f8a687c4a
- Affected versionversion=a9f189716cf15913c453299d72f69c51a9b0f86b <0657b20c5a76c938612f8409735a8830d257866e
- Affected versionversion=edf3b5aadb2515c808200b904baa5b70a727f0ac
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