CVE-2026-143243: btrfs: zoned: only change active zone counter on successful (de)activation

Published Dec 3, 2026
·
Updated

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

4 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.6.0<6.12.120
6.12.120
linux/kernel>=6.13.0<6.18.66
6.18.66
linux/kernel>=6.19.0<7.3.7
7.3.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.120
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.66
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.7

Event History

Dec 3, 2026
CVE Published
via MITRE·09:20 AM
Data Sourced
via MITRE·09:20 AM
Description
Data Sourced
via OSV·09:20 AM
DescriptionAffected Software
Data Sourced
via NVD·10:18 AM
Description

Frequently Asked Questions

1

Which deployments are implicated by this issue?

The issue is in the Btrfs zoned code path of the Linux kernel. The provided information does not identify affected kernel versions or establish whether non-zoned Btrfs deployments are affected.

2

What condition causes the active-zone counter to become inaccurate?

A race can occur when a zone is already marked active in the bitmap and another activation attempt fails to set that bit. The counter may then be decremented despite no successful state change, potentially causing a double decrement; analogous accounting is required when clearing the bit.

3

Are upstream fix references available for backport verification?

Yes. The provided references identify fixes at aba46638426ee1739e86db61e4cc94559b5fb312, a5639ba463867ad47bfab44e36c74cff0510d024, and 46a94be3ce1600b7dca4be4eee32aaa0d8ea17e3.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203