CVE-2026-98081: btrfs: zoned: finish active block group cleanup if call_zone_finish() fails
btrfs: zoned: finish active block group cleanup if callzonefinish() fails
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1 - Upgrade
Upgrade
debian/linux-6.12to a version that resolves this vulnerability.Fixed in 6.12.113-1~deb12u1 - Upgrade
Upgrade
ubuntu/linux-hwe-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.0.0-42.42 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.0.0-1016.17 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.0.0-1016.18 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oem-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.0.0-1015.16 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1 - Compensating control
When call_zone_finish() fails, fall through to the active block group cleanup and return the error; keep the block group read-only because its zones may be inconsistent.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
The issue affects Linux kernel systems using Btrfs zoned mode. The failure path involves zone-finishing operations and active block-group cleanup.
What happens if the zone-finish operation fails?
A failed call_zone_finish() can leave an inactive block group on the active-block-group list, leak its reference, and prevent BTRFS_FS_NEED_ZONE_FINISH waiters from being woken. Subsequent processing can repeatedly select the same block group and spin in btrfs_zoned_activate_one_bg().
What is the mitigation if the fix cannot be applied immediately?
The provided data does not identify a configuration workaround. The corrected behavior cleans up the block group even after failure while retaining it as read-only because its zones may be inconsistent.