CVE-2026-43393 PUBLISHED

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

Assigner: Linux
Reserved: 01.05.2026 Published: 08.05.2026 Updated: 08.05.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 0ae653fbec2b9fbc72c65a0c99528990bfb2136d to 0e4aaf5a3212b6a469c2489637c29a8e2a5062a5 (excl.)
  • affected from 0ae653fbec2b9fbc72c65a0c99528990bfb2136d to 7bdf00ed75c477252578068dba19934cd825f20a (excl.)
  • affected from 0ae653fbec2b9fbc72c65a0c99528990bfb2136d to 4f90c5c2698383984102401b1724b0b67da832ab (excl.)
  • affected from 0ae653fbec2b9fbc72c65a0c99528990bfb2136d to f15fb3d41543244d1179f423da4a4832a55bc050 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.12 is affected
  • unaffected from 0 to 6.12 (excl.)
  • unaffected from 6.12.78 to 6.12.* (incl.)
  • unaffected from 6.18.19 to 6.18.* (incl.)
  • unaffected from 6.19.9 to 6.19.* (incl.)
  • unaffected from 7.0 to * (incl.)

References