Impact
The bug causes btrfs to preserve an inode’s size when replaying a transaction log, even when the inode’s actual size has been changed to zero earlier in the same or a previous transaction. As a result, a file that was truncated but then hard‑linked or renamed during a crash can retain a stale large size after the system recovers, corrupting data and potentially overwriting unrelated sectors.
Affected Systems
All Linux kernels that implement the btrfs filesystem and have not incorporated the patch corresponding to commits 03e966b, 5254d418, and fddb157. The issue applies to any btrfs instance regardless of the node or deployment environment.
Risk and Exploitability
Although this flaw is not remotely exploitable, it can be triggered by a power failure, unclean shutdown, or crash that occurs after an inode is logged with an incorrect generation and size. The CVSS score of 5.5 indicates moderate severity, and the EPSS score of <1% suggests a low probability of exploitation. The lack of a KEV listing further indicates no widespread exploitation to date. Nevertheless, the impact on data consistency is significant, and administrators should treat the vulnerability as a moderate‑risk issue when running btrfs on critical storage volumes.
OpenCVE Enrichment