What’s Vulnerable › Vulnerabilities
CVE-2025-71268: btrfs: fix reservation leak in some error paths when inserting inline extent
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-18 · updated 2026-10-19
- Weakness: CWE-401
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
- Linux kernel: from 4.4 before 6.1.163; from 6.2 before 6.6.124; from 6.7 before 6.12.70; from 6.13 before 6.18.10; 6.19-rc1, 6.19-rc2, 6.19-rc3, 6.19-rc4 — fixed in 6.1.163, 6.12.70, 6.18.10, 6.6.124
How to fix
Upgrade to a fixed version: Linux kernel 6.1.163, 6.12.70, 6.18.10, 6.6.124. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/28768bd3abf9995a93f6e01bfce01c60622964dd
- https://git.kernel.org/stable/c/28b97fcbbf523779688e8de5fe55bf2dae3859f6
- https://git.kernel.org/stable/c/c1c050f92d8f6aac4e17f7f2230160794fceef0c
- https://git.kernel.org/stable/c/f3ee1732851aec6fe6b2cec2ef1b32d4e71d9913
- https://git.kernel.org/stable/c/f7156512c8166d385f574b9ec030479aa7b1e8c9
Get alerted when CVE-2025-71268 or the next vulnerability affects your stack