AZL-118406: CVE-2026-143243 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
btrfs: zoned: only change active zone counter on successful (de)activation
btrfszoneactivate() unconditionally decrements the reservedactivezones counter regardless if btrfsdevsetactivezone() fails to set the zone active, i.e. because it raced with another call that already set the bit in the bitmask, or not.
This can lead to a double decrement of the counter in case the bit has already been set.
Only decrement the counter iff btrfsdevsetactivezone() successfully marked the zone in the bitmap.
Mirror this behaviour when clearing the bit again.
Affected Software
Event History
Frequently Asked Questions
Which systems are relevant to this issue?
The issue is in the Linux kernel's Btrfs zoned filesystem handling. Systems not using Btrfs zoned functionality are not described as affected by the vulnerable code path.
What condition leads to the counter error?
The error can occur when active-zone state changes race with another call that has already set or cleared the zone's bitmap bit. This can cause the reserved active-zone counter to be decremented more than once.