CVE-2025-71268

MEDIUM

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

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0002
EPSS Percentile 4.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (23)
linux/Kernel 4.4.0 - 6.1.163linux
linux/Kernel 6.13.0 - 6.18.10linux
linux/Kernel 6.2.0 - 6.6.124linux
linux/Kernel 6.7.0 - 6.12.70linux
Linux/Linux < 4.4
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 28768bd3abf9995a93f6e01bfce01c60622964dd
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 28b97fcbbf523779688e8de5fe55bf2dae3859f6
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - c1c050f92d8f6aac4e17f7f2230160794fceef0c
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - f3ee1732851aec6fe6b2cec2ef1b32d4e71d9913
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - f7156512c8166d385f574b9ec030479aa7b1e8c9
... and 13 more
Published Mar 18, 2026
Tracked Since Mar 18, 2026