CVE Catalog

CVE-2025-71269

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.22%

13th percentile - higher than 13% of all known CVEs

Summary

In the Linux btrfs filesystem, when creating an inline extent fails with -ENOSPC and falls back to COW, the reserved qgroup data was incorrectly freed. The fix frees it only when no fallback occurs (ret <= 0).

Risk Assessment

An attacker could remotely cause a qgroup resource leak in btrfs, leading to denial of service (DoS) by exhausting quota.

Recommendation

Apply the Linux kernel patch that modifies __cow_file_range_inline() to free qgroup data only when no fallback occurs (ret <= 0).

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: btrfs: do not free data reservation in fallback from inline due to -ENOSPC If we fail to create an inline extent due to -ENOSPC, we will attempt to go through the normal COW path, reserve an extent, create an ordered extent, etc. However we were always freeing the reserved qgroup data, which is wrong since we will use data. Fix this by freeing the reserved qgroup data in __cow_file_range_inline() only if we are not doing the fallback (ret is <= 0).

Vulnerability data from NVD (NIST) · CISA KEV · EPSS