← CVE Intelligence

CVE-2025-71268

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 94ed938aba557aa798acf496f09afb289b619fcd before f7156512c8166d385f574b9ec030479aa7b1e8c9; affected 94ed938aba557aa798acf496f09afb289b619fcd before 28b97fcbbf523779688e8de5fe55bf2dae3859f6; affected 94ed938aba557aa798acf496f09afb289b619fcd before f3ee1732851aec6fe6b2cec2ef1b32d4e71d9913; affected 94ed938aba557aa798acf496f09afb289b619fcd before 28768bd3abf9995a93f6e01bfce01c60622964dd; affected 94ed938aba557aa798acf496f09afb289b619fcd before c1c050f92d8f6aac4e17f7f2230160794fceef0c
Linux / Linuxaffected 4.4; unaffected 0 before 4.4; unaffected 6.1.163 through 6.1.*; unaffected 6.6.124 through 6.6.*; unaffected 6.12.70 through 6.12.*; unaffected 6.18.10 through 6.18.*; unaffected 6.19 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.