btrfs: zoned: fix double free of bitmaps on clone failure

Currently unrated

CVE-2026-143378

Key Information:

Vendor

Linux

Status
CVE ID
CVE ID:
CVE-2026-143378
Vendor
CVE Published:
3 December 2026
Fixed in
Fixed in:
6.12.120, 6.18.66, 7.3.7 +1 more

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Unknown: Exploitability over the network not rated
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Update to a fixed version

Several version ranges are affected; the full list is under Affected Version(s).

Install the Linux release that fixes your version line, or later:

6.12.1206.18.667.3.77.4-rc2
2Why it's rated "Monitor"
  • No exploitation signals have been recorded.

What is CVE-2026-143378?

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 Version(s)

Linux 21e61ec6d0bb…

Linux 21e61ec6d0bb… < 1c1b485bf2a7…

Linux 21e61ec6d0bb…

References

Memory Ordering Flaw in Linux Kernel

CVE-2026-99676
LinuxLinux😄9.8CRITICAL

Linux Kernel Vulnerability in SCTP Control Chunk Migration

CVE-2026-99582
LinuxLinux7.8HIGH

Data Copy Vulnerability in Linux Kernel

CVE-2026-99370
LinuxLinux9.4CRITICAL
View more Linux vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

.