CVE-2026-98269: btrfs: abort transaction on failure to update inode for hole punching and reflinking
In the Linux kernel, the following vulnerability has been resolved:
btrfs: abort transaction on failure to update inode for hole punching and reflinking
If we fail to update the inode we error out without aborting the transaction, which can result in a persistent inconsistency if after the failure the transaction is committed, as we have dropped file extent items from a range and either punched a hole or insert a new file extent item for that range (for reflinks).
So add the missing transaction abort.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Abort the Btrfs transaction when updating the inode fails during hole punching or reflinking, before committing the transaction, to prevent persistent filesystem inconsistency.