Technical impact
When adding a new device to a btrfs seed filesystem, the routine btrfs_init_new_device() incorrectly calls btrfs_setup_sprout() before the first writable chunks are created. If a subsequent step in the process fails, the error path removes the device but does not undo the sprout setup, leaving the filesystem in a partially initialized sprout state. This state can result in the mounted filesystem having no active devices, potentially rendering it unusable and leading to data loss or corruption. The flaw is an error‑handling defect that compromises file‑system integrity.
Affected Systems
All Linux kernel builds that include the btrfs file‑system driver and that have not yet incorporated the fix found in the referenced kernel commits. The issue affects the generic Linux kernel product, as the bug resides in the core kernel code and impacts all deployments of Linux that use the btrfs file‑system.
Risk and Exploitability
The vulnerability is not indexed in the CISA KEV catalog and no EPSS score is available. However, exploitation requires privileged access to trigger a device addition on a btrfs volume, which is a high‑privilege operation. Based on the description, it is inferred that the attacker would need such privileged access to issue a btrfs device add command. Because the defect can silently corrupt a filesystem’s device list, the impact is significant for availability and integrity of data on affected systems. The lack of a publicly disclosed exploitation vector does not mitigate the risk of a future targeted attack once the flaw becomes known.