CVE-2026-143378

CVE-2026-143378CVE-2026-143378

Description

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.

Scoring

Last modified2026-12-03
Sourced from NVD. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.