# CVE-2026-43393: btrfs: fix chunk map leak in btrfs_map_block() after btrfs_chunk_map_num_copies()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-08T14:21:37.368Z
- Modified: 2026-11-11T20:10:00.273Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

btrfs: fix chunk map leak in btrfs_map_block() after btrfs_chunk_map_num_copies()

Fix a chunk map leak in btrfs_map_block(): if we return early with -EINVAL,
we're not freeing the chunk map that we've just looked up.

(As written by CVE List.)

## Affected

- Linux Linux: from 0ae653fbec2b9fbc72c65a0c99528990bfb2136d before 0e4aaf5a3212b6a469c2489637c29a8e2a5062a5; from 0ae653fbec2b9fbc72c65a0c99528990bfb2136d before 7bdf00ed75c477252578068dba19934cd825f20a; from 0ae653fbec2b9fbc72c65a0c99528990bfb2136d before 4f90c5c2698383984102401b1724b0b67da832ab; from 0ae653fbec2b9fbc72c65a0c99528990bfb2136d before f15fb3d41543244d1179f423da4a4832a55bc050; 6.12 (not affected: before 6.12; from 6.12.78 up to 6.12.*; from 6.18.19 up to 6.18.*; from 6.19.9 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.12 before 6.12.78; from 6.13 before 6.18.19; from 6.19 before 6.19.9; 7.0

## References

- <https://git.kernel.org/stable/c/0e4aaf5a3212b6a469c2489637c29a8e2a5062a5> (patch)
- <https://git.kernel.org/stable/c/7bdf00ed75c477252578068dba19934cd825f20a> (patch)
- <https://git.kernel.org/stable/c/4f90c5c2698383984102401b1724b0b67da832ab> (patch)
- <https://git.kernel.org/stable/c/f15fb3d41543244d1179f423da4a4832a55bc050> (patch)

## Sources

- CVE List: [CVE-2026-43393](https://www.cve.org/CVERecord?id=CVE-2026-43393), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-43393](https://nvd.nist.gov/vuln/detail/CVE-2026-43393), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43393 · Whole record: https://cve.day/CVE-2026-43393.json · Rebuilt by cve.day 2026-11-25T22:59:21.044Z
