Filesystem corruption via concurrent extent unpinning
Published Jun 18, 2025 · Updated Aug 5, 2026
A race in the Linux btrfs space cache allows local users to corrupt filesystem metadata through concurrent file operations. Overlapping transaction commits let btrfs_cache_block_group and btrfs_finish_extent_commit add the same freed extent to the in-memory cache twice. Write access to a mounted btrfs filesystem is required; double allocation can expose or overwrite file blocks, and persisted duplicate free ranges can crash the next mount.
Summary
What happened
A race in the Linux btrfs space cache allows local users to corrupt filesystem metadata through concurrent file operations. Overlapping transaction commits let btrfs_cache_block_group and btrfs_finish_extent_commit add the same freed extent to the in-memory cache twice. Write access to a mounted btrfs filesystem is required; double allocation can expose or overwrite file blocks, and persisted duplicate free ranges can crash the next mount.
The record
- CVE
- CVE-2022-49999
- Published
- Jun 18, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-787
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 18, 2025CVE 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=5.12
- Affected versionversion=d0c2f4fa555e70324ec2a129b822ab58f172cc62 <92dc4c1a8e58bcc7a183a4c86b055c24cc88d967
- Affected versionversion=d0c2f4fa555e70324ec2a129b822ab58f172cc62 <a2e54eb64229f07f917b05d0c323604fda9b89f7
- Affected versionversion=d0c2f4fa555e70324ec2a129b822ab58f172cc62 <ced8ecf026fd8084cf175530ff85c76d6085d715
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