Filesystem corruption via incorrect extent-replacement abort logic
Published May 22, 2024 · Updated Aug 5, 2026
Improper error handling in the Linux btrfs extent-replacement path allows local users to corrupt a mounted filesystem. btrfs_replace_file_extents combines the clone-path flag with the return code incorrectly, so preallocation errors can escape the required transaction abort and leave a missing extent. Reachability requires local access that exercises preallocation on a btrfs filesystem while an underlying operation fails; the documented consequence is filesystem corruption rather than code execution.
Summary
What happened
Improper error handling in the Linux btrfs extent-replacement path allows local users to corrupt a mounted filesystem. btrfs_replace_file_extents combines the clone-path flag with the return code incorrectly, so preallocation errors can escape the required transaction abort and leave a missing extent. Reachability requires local access that exercises preallocation on a btrfs filesystem while an underlying operation fails; the documented consequence is filesystem corruption rather than code execution.
The record
- CVE
- CVE-2021-47433
- Published
- May 22, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1485
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 22, 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=5.10
- Affected versionversion=8fccebfa534c7984864394fa03608305e4929aae <0e309e1152fc34ef75991d9d69b165dbf75bf26c
- Affected versionversion=8fccebfa534c7984864394fa03608305e4929aae <0e32a2b85c7d92ece86c17dfef390c5ed79c6378
- Affected versionversion=8fccebfa534c7984864394fa03608305e4929aae <4afb912f439c4bc4e6a4f3e7547f2e69e354108f
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