Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2025-71268

btrfs: fix reservation leak in some error paths when inserting inline extent

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix reservation leak in some error paths when inserting inline extent If we fail to allocate a path or join a transaction, we return from __cow_file_range_inline() without freeing the reserved qgroup data, resulting in a leak. Fix this by ensuring we call btrfs_qgroup_free_data() in such cases.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 94ed938aba557aa798acf496f09afb289b619fcd to < f7156512c8166d385f574b9ec030479aa7b1e8c9affected
  • 94ed938aba557aa798acf496f09afb289b619fcd to < 28b97fcbbf523779688e8de5fe55bf2dae3859f6affected
  • 94ed938aba557aa798acf496f09afb289b619fcd to < f3ee1732851aec6fe6b2cec2ef1b32d4e71d9913affected
  • 94ed938aba557aa798acf496f09afb289b619fcd to < 28768bd3abf9995a93f6e01bfce01c60622964ddaffected
  • 94ed938aba557aa798acf496f09afb289b619fcd to < c1c050f92d8f6aac4e17f7f2230160794fceef0caffected

Linux Linux

Default version status: affected

  • 4.4affected
  • 0 to < 4.4unaffected
  • 6.1.163 to ≤ 6.1.*unaffected
  • 6.6.124 to ≤ 6.6.*unaffected
  • 6.12.70 to ≤ 6.12.*unaffected
  • 6.18.10 to ≤ 6.18.*unaffected
  • 6.19 to ≤ *unaffected

References