What’s Vulnerable › Vulnerabilities

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

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

Get alerted when CVE-2025-71268 or the next vulnerability affects your stack