CVE-2026-143378

Source
https://cve.org/CVERecord?id=CVE-2026-143378
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143378.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143378
Downstream
Published
2026-12-03T09:22:25Z
Modified
2026-12-03T11:02:15Z
Summary
btrfs: zoned: fix double free of bitmaps on clone failure
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143378.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
21e61ec6d0bb786818490e926aa9aeb4de95ad0d
Fixed
d327f5adaf1af9cb399f988570f57e784481863d
Fixed
1c1b485bf2a79180e41204ac93b73f4731bb3557
Fixed
c8b32df27f50d28e3ef2601e0ef578e47dc72e12
Fixed
8c66a6aa59a5df1d672d72b7cd379d897ff73200
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ad88cabcec942c033f980cd1e28d56ecdaf5f3b8

Affected versions

v6.*
v6.0.10
v6.0.11
v6.0.12
v6.0.13
v6.0.14
v6.0.15
v6.0.16
v6.0.17
v6.0.18
v6.0.19
v6.0.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143378.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.9
Fixed
6.1
Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143378.json"