Skip to main content

Linux CVE-2025-71269

| EUVDEUVD-2025-208842 MEDIUM
Use After Free (CWE-416)
2026-03-18 Linux
5.5
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The real-world risk is moderate but not immediately critical. No CVSS score or EPSS exploitation probability has been assigned, which typically indicates this is a reliability and data consistency issue rather than a direct remote code execution or privilege escalation vector. No KEV (Known Exploited Vulnerability) status is indicated, and no proof-of-concept is publicly available from the references provided. However, the vulnerability does enable information disclosure through qgroup quota state corruption, allowing attackers or unprivileged users to observe inconsistencies in quota tracking that may leak information about system resource allocation. The technical impact is limited to systems using Btrfs with qgroups enabled, which is not universally deployed but is present in many modern Linux distributions. Exploitation requires the ability to trigger the -ENOSPC condition through file operations, which is achievable by local attackers or unprivileged users writing to Btrfs-backed storage. The vulnerability is better characterized as a data consistency bug than an exploitable security hole, making it a medium-priority update for systems relying on qgroup quota enforcement.

Exploit ScenarioDerived

An unprivileged local user on a system using Btrfs with qgroup quotas enabled writes large files to a Btrfs-backed filesystem that is approaching its qgroup quota limit. When the user triggers the -ENOSPC condition during inline extent creation, the kernel incorrectly frees qgroup quota while still consuming disk space in the fallback COW operation. The user can then write additional data beyond the nominal quota limit, discovering through quota queries that the qgroup accounting no longer matches actual disk usage, revealing information about the quota system's internal state and potentially enabling quota evasion attacks. This scenario does not require special privileges or network access, making it achievable by any local user with write access to Btrfs storage.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 18, 2026

A resource management vulnerability exists in the Linux kernel's Btrfs filesystem implementation where qgroup data reservations are incorrectly freed when an inline extent creation fails due to -ENOSPC (no space available). This causes the kernel to prematurely release qgroup quota accounting for data that will actually be used when the operation falls back to the normal copy-on-write path, potentially leading to qgroup quota inconsistencies and information disclosure about quota state. All Linux distributions using Btrfs with qgroup quota tracking enabled are affected. While no CVSS score or EPSS risk score has been assigned, the vulnerability has stable patches available in the Linux kernel repository.

RemediationAI

Apply Linux kernel updates that include the Btrfs qgroup reservation fix, which has been committed to the stable kernel branches. Users should upgrade to the latest stable kernel version available for their distribution, which will include commit 6de3a371a8b9fd095198b1aa68c22cc10a4c6961 or equivalent. For systems unable to immediately patch, disable Btrfs qgroup quota tracking if not operationally required by setting the qgroup tracking to off, though this removes quota enforcement protections. Monitor kernel release notes from your distribution (Ubuntu Security Notices, Red Hat Security Advisories, SUSE Security Updates) for the specific patched kernel version applicable to your system. Apply the patch as part of a regular kernel update cycle, prioritizing systems where Btrfs with qgroups is actively used for quota enforcement or multi-tenant isolation.

Affected VersionsENISA

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f8da41de0bff9eb1d774a7253da0c9f637c4470a
Linux patch: 6.19
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6de3a371a8b9fd095198b1aa68c22cc10a4c6961
Linux patch: 6.18.10

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is located in the Btrfs filesystem code within the Linux kernel, specifically in the qgroup (quota group) data reservation handling during inline extent creation fallback scenarios. The Btrfs filesystem uses qgroups to track and limit data usage across subvolumes. When the kernel attempts to create an inline extent (a small file stored directly in metadata) and encounters insufficient space (-ENOSPC), it falls back to a normal copy-on-write allocation path. However, the buggy code in __cow_file_range_inline() unconditionally frees the reserved qgroup data quota even when fallback occurs, meaning the quota is released but the data space is still consumed by the fallback COW operation. This violates the invariant that reserved qgroup quota must match actual usage. The affected products are identified via CPE as cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:* across all affected versions. While no specific CWE is listed in the disclosure, this represents a resource management flaw where quota accounting and actual resource consumption become desynchronized.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
May 21, 2026 - 18:52 NVD
5.5 (MEDIUM)
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 18, 2026 - 17:40 nvd
N/A

DescriptionNVD

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).

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Related Vulnerabilities in Linux kernel btrfs Reservation Memory Leaks

View all 2

Vendor StatusVendor

Debian

linux
Release Status Fixed Version Urgency
bullseye vulnerable 5.10.223-1 -
bullseye (security) vulnerable 5.10.251-1 -
bookworm vulnerable 6.1.159-1 -
bookworm (security) vulnerable 6.1.164-1 -
trixie vulnerable 6.12.73-1 -
trixie (security) vulnerable 6.12.74-2 -
forky fixed 6.19.6-2 -
sid fixed 6.19.8-1 -
(unstable) fixed 6.18.10-1 -

SUSE

Severity: Medium
Product Status
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.127 Container suse/sl-micro/6.1/base-os-container:2.2.1-5.114 Image SL-Micro-Azure Image SL-Micro-BYOS-Azure Image SL-Micro-BYOS-EC2 Image SL-Micro-BYOS-GCE Image SL-Micro-EC2 Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Image SUSE-Multi-Linux-Manager-Proxy-BYOS-Azure Image SUSE-Multi-Linux-Manager-Proxy-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-Azure-llc Image SUSE-Multi-Linux-Manager-Server-Azure-ltd Image SUSE-Multi-Linux-Manager-Server-BYOS-Azure Image SUSE-Multi-Linux-Manager-Server-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Server-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-EC2-llc Image SUSE-Multi-Linux-Manager-Server-EC2-ltd Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.144 Container suse/sl-micro/6.1/kvm-os-container:2.2.1-5.116 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.161 Container suse/sl-micro/6.1/rt-os-container:2.2.1-5.107 Affected
Image SLES12-SP5-Azure-BYOS Image SLES12-SP5-Azure-HPC-BYOS Image SLES12-SP5-EC2-BYOS Image SLES12-SP5-EC2-ECS-On-Demand Image SLES12-SP5-EC2-On-Demand Image SLES12-SP5-GCE-BYOS Image SLES12-SP5-GCE-On-Demand Affected
Image SLES12-SP5-Azure-SAP-BYOS Image SLES12-SP5-Azure-SAP-On-Demand Image SLES12-SP5-EC2-SAP-BYOS Image SLES12-SP5-EC2-SAP-On-Demand Image SLES12-SP5-GCE-SAP-BYOS Image SLES12-SP5-GCE-SAP-On-Demand Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy