VYPR
Unrated severityNVD Advisory· Published Dec 3, 2026

CVE-2026-143378

CVE-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.

Affected products

1

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.