Security mailing lists by PureSourceCode

CVE-2026-143378

not scored yet

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.

Published
3 Dec 2026
Last modified
3 Dec 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 21e61ec6d0bb786818490e926aa9aeb4de95ad0d, < d327f5adaf1af9cb399f988570f57e784481863d; >= 21e61ec6d0bb786818490e926aa9aeb4de95ad0d, < 1c1b485bf2a79180e41204ac93b73f4731bb3557; >= 21e61ec6d0bb786818490e926aa9aeb4de95ad0d, < c8b32df27f50d28e3ef2601e0ef578e47dc72e12; >= 21e61ec6d0bb786818490e926aa9aeb4de95ad0d, < 8c66a6aa59a5df1d672d72b7cd379d897ff73200; = ad88cabcec942c033f980cd1e28d56ecdaf5f3b8; >= 6.0.9, < 6.1 d327f5adaf1af9cb399f988570f57e784481863d, 1c1b485bf2a79180e41204ac93b73f4731bb3557, c8b32df27f50d28e3ef2601e0ef578e47dc72e12, 8c66a6aa59a5df1d672d72b7cd379d897ff73200, 6.1
CVE List Linux Linux = 6.1

References

History

  • 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
  • 3 Dec 2026 10:08 UTC · CVE List: first stored (published 3 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.