CVE-2026-143378

high

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.

References

https://git.kernel.org/stable/c/d327f5adaf1af9cb399f988570f57e784481863d

https://git.kernel.org/stable/c/c8b32df27f50d28e3ef2601e0ef578e47dc72e12

https://git.kernel.org/stable/c/8c66a6aa59a5df1d672d72b7cd379d897ff73200

https://git.kernel.org/stable/c/1c1b485bf2a79180e41204ac93b73f4731bb3557

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-143028

Details

Source: Mitre, NVD

Published: 2026-12-03

Updated: 2026-12-03

Risk Information

CVSS v2

Base Score: 5.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 7.1

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Severity: High

EPSS

EPSS: 0.00368