All reports
Low

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-71268

Probability of exploitation in the next 30 days: 0.35%

FIRST EPSS · 2026-11-20

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.

A resource leak was found in the Linux kernel's btrfs filesystem. In __cow_file_range_inline(), when path allocation or transaction join fails, the function returns without calling btrfs_qgroup_free_data() to release reserved qgroup data. This causes qgroup reservations to accumulate over time, potentially exhausting quota resources.