In the Linux kernel, the following vulnerability has been resolved:
btrfs: zoned: only change active zone counter on successful (de)activation
btrfs_zone_activate() unconditionally decrements the reserved_active_zones counter regardless if btrfs_dev_set_active_zone() 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 btrfs_dev_set_active_zone() successfully marked the zone in the bitmap.
Mirror this behaviour when clearing the bit again.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143243.json"
}