Description
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).
Published: 2026-03-18
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The defect resides in the Linux kernel’s btrfs module and occurs when an inline extent cannot be allocated due to insufficient space. In this scenario the code mistakenly frees the qgroup reservation that will later be used in the fallback copy‑on‑write path. This incorrect free leads to a mismatch between the reservation bookkeeping and the actual data usage, which can cause allocation errors, corrupted file‑system metadata, or loss of user data. The likely attack vector is inferred from the description: an attacker would need the ability to generate a write that fails because the filesystem is out of space, which typically requires local or privileged access to the affected system.

Affected Systems

All Linux kernel releases containing the unpatched btrfs implementation, including kernel 6.19 rc1 through rc4 and earlier mainline kernels. The vulnerability applies to the generic Linux kernel product; any system running a kernel with btrfs before the patch commit is potentially affected.

Risk and Exploitability

The CVSS score of 7.5 indicates a high‑impact flaw, while the EPSS score of less than 1% and absence from CISA’s KEV catalog suggest that exploitation is currently uncommon. The flaw is triggered only when a write operation to a btrfs volume fails due to an out‑of‑space condition, meaning an attacker would need local or privileged access to create such a failure scenario. As of now, there is no evidence of active exploitation.

Generated by OpenCVE AI on August 4, 2026 at 19:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the btrfs reservation fix (for example, a kernel containing commit 6de3a371a8b9fd095198b1aa68c22cc10a4c6961).
  • If a kernel upgrade cannot be performed immediately, restrict write permissions on btrfs volumes to trusted users only and monitor system logs for allocation failures or metadata errors that could indicate corruption.
  • Schedule regular btrfs scrub operations or filesystem checks (fsck) to detect and correct any inconsistencies early.

Generated by OpenCVE AI on August 4, 2026 at 19:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4561-1 linux-6.1 security update
Debian DSA Debian DSA DSA-6238-1 linux security update
Debian DSA Debian DSA DSA-6243-1 linux security update
Ubuntu USN Ubuntu USN USN-8567-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-1 Linux kernel (GCP FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8596-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8606-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8607-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8608-1 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8609-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-3 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8619-1 Linux kernel (HWE) vulnerabilities
History

Tue, 04 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sun, 02 Aug 2026 03:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-404

Thu, 30 Jul 2026 06:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Thu, 21 May 2026 23:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-404

Thu, 21 May 2026 21:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772

Thu, 21 May 2026 18:45:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Sat, 11 Apr 2026 13:00:00 +0000


Fri, 27 Mar 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772

Fri, 27 Mar 2026 08:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399

Thu, 26 Mar 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399

Wed, 25 Mar 2026 22:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399
CWE-416

Wed, 25 Mar 2026 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399
CWE-416

Wed, 25 Mar 2026 12:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399

Tue, 24 Mar 2026 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399

Thu, 19 Mar 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Wed, 18 Mar 2026 18:00:00 +0000

Type Values Removed Values Added
Description 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).
Title btrfs: do not free data reservation in fallback from inline due to -ENOSPC
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:12:38.082Z

Reserved: 2026-03-17T09:08:18.457Z

Link: CVE-2025-71269

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2026-03-18T18:16:22.110

Modified: 2026-07-30T06:24:56.980

Link: CVE-2025-71269

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-03-18T00:00:00Z

Links: CVE-2025-71269 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T19:15:03Z

Weaknesses