
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-71269 is a qgroup quota accounting flaw in the Linux kernel's btrfs filesystem subsystem. When an attempt to create an inline extent fails due to insufficient space (-ENOSPC), the kernel incorrectly frees reserved qgroup data even though that data will subsequently be used via the normal copy-on-write (COW) path. This results in inconsistent quota accounting, allowing disk space to be consumed beyond allocated quota limits. Affected kernel versions span from 4.4 up to (but not including) 6.1.168, 6.2 through 6.6.134, 6.7 through 6.12.81, and 6.13 through 6.18.10, as well as release candidates 6.19-rc1 through rc4. It carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat Advisory, Red Hat Bugzilla).
The root cause is improper resource management (CWE-404) in the __cow_file_range_inline() function within the btrfs filesystem driver. When inline extent creation fails with -ENOSPC, the code path unconditionally frees the reserved qgroup data reservation, even though execution falls back to the normal COW path which will consume that reservation. The fix conditions the qgroup data release on the return value: reserved data is only freed when ret <= 0 (i.e., not during a fallback scenario). Exploitation requires local access to a system with a btrfs filesystem that has qgroup quota enforcement enabled (Red Hat Bugzilla, Red Hat Advisory).
A local user with write access to a btrfs filesystem with qgroup quotas enabled can trigger this vulnerability by writing files that cause inline extent creation failures, causing qgroup accounting to become inconsistent. This allows the attacker to exceed their assigned disk quota limits and potentially exhaust disk space reserved for other users or critical system operations, resulting in a denial-of-service condition. There is no confidentiality or integrity impact; the vulnerability is limited to availability (Red Hat Advisory).
Apply the upstream kernel patches that correct the qgroup data reservation logic in __cow_file_range_inline(). Fixed versions include Linux kernel 6.1.168, 6.6.134, 6.12.81, 6.18.10, and 6.19 (stable). Patches are available via the stable kernel tree at git.kernel.org. Distribution-specific fixes have been released by SUSE (SUSE-SU-2026:1661-1, SUSE-SU-2026:1668-1), Debian (DSA-6238-1, DSA-6243-1, DLA-4561-1), and Amazon Linux 2023 (ALAS2023-2026-1681). As a workaround, disabling btrfs qgroup quota enforcement (btrfs quota disable <mountpoint>) eliminates the vulnerable code path, or restricting write access to btrfs filesystems to trusted users reduces risk (Red Hat Advisory, Red Hat Bugzilla).
The vulnerability was disclosed via the Linux kernel CVE announcement mailing list and tracked by Red Hat's Product Security team. Multiple Linux distributions including SUSE, Debian, and Amazon Linux have issued security advisories and updated packages. No notable independent researcher commentary or significant social media discussion has been identified for this vulnerability.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."