Technical impact
The kernel patch reveals that btrfs_remove_free_space_inode adds an orphan entry and clears the inode’s link count but never commits the updated inode item. If a crash occurs before the inode is written or the eviction cannot reserve space for truncation, the on‑disk inode retains a link count of one when the orphan cleanup runs. The orphan cleaner therefore treats the inode as still in use and only removes the orphan entry. The free space header has already been deleted, so the inode can never be located again and its data extents remain on disk, resulting in persistent orphaned extents and potential data loss.
Affected Systems
All Linux kernel releases that contain the buggy btrfs_remove_free_space_inode logic are affected. The specific version range is not listed, but any kernel prior to the commit that introduced the fix is vulnerable.
Risk and Exploitability
Exploitation would require a crash or a situation where the eviction cannot reserve space during truncation, conditions that are not trivially controllable by remote attackers. Because no EPSS score is available and the vulnerability is not listed in CISA’s KEV catalog, the likely exposure is moderate and limited to data loss or file system inconsistency rather than direct code execution. Hosts should consider the risk high enough to apply the patch promptly, especially if the system runs btrfs mounts that may encounter frequent crashes or heavy write activity.