Linux kernel Btrfs zoned double-free on clone failure
CVE-2026-143378 Published on December 3, 2026
btrfs: zoned: fix double free of bitmaps on clone failure
In the Linux kernel, the following vulnerability has been resolved:
btrfs: zoned: fix double free of bitmaps on clone failure
btrfs_clone_dev_zone_info() duplicates the original orig_dev->zone_info
with kmemdup(), which also copies the seq_zones, empty_zones and
active_zones pointers. The clone then replaces them one by one with
fresh bitmaps. If one of the allocations fails, the error path frees all
three pointers, including those not yet replaced, which still point to
the bitmaps owned by the original device.
Clear the three pointers right after kmemdup() so the error path only frees
what this function allocated.
Products Associated with CVE-2026-143378
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version 21e61ec6d0bb786818490e926aa9aeb4de95ad0d and below d327f5adaf1af9cb399f988570f57e784481863d is affected.
- Version 21e61ec6d0bb786818490e926aa9aeb4de95ad0d and below 1c1b485bf2a79180e41204ac93b73f4731bb3557 is affected.
- Version 21e61ec6d0bb786818490e926aa9aeb4de95ad0d and below c8b32df27f50d28e3ef2601e0ef578e47dc72e12 is affected.
- Version 21e61ec6d0bb786818490e926aa9aeb4de95ad0d and below 8c66a6aa59a5df1d672d72b7cd379d897ff73200 is affected.
- Version ad88cabcec942c033f980cd1e28d56ecdaf5f3b8 is affected.
- Version 6.0.9 and below 6.1 is affected.
- Version 6.1 is affected.
- Before 6.1 is unaffected.
- Version 6.12.120, <= 6.12.* is unaffected.
- Version 6.18.66, <= 6.18.* is unaffected.
- Version 7.3.7, <= 7.3.* is unaffected.
- Version 7.4-rc2, <= * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.