Skip to main content

Linux CVE-2025-71268

| EUVDEUVD-2025-208840 MEDIUM
Memory Leak (CWE-401)
2026-03-18 Linux
5.5
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Impact

While CVSS and EPSS scores are not provided, the risk profile is moderate but meaningful for systems using btrfs with qgroup quotas enabled. The vulnerability requires local access and the ability to perform filesystem operations (write access to btrfs mount), placing it in the local attack vector category with likely high complexity. The exploit is highly automatable—repeated failed inline extent insertion attempts can reliably leak memory. The technical impact is denial of service through kernel memory exhaustion, which is a substantial threat in multi-tenant environments, containerized systems, and shared hosting scenarios. The availability of five patch commits across kernel stable branches indicates this was rapidly addressed across the kernel maintenance tree, suggesting developers recognized it as a credible issue. However, this is not a KEV/CISA known exploited vulnerability, and no public POC has surfaced, meaning real-world exploitation remains theoretical despite being technically feasible. For systems with btrfs + qgroup quotas in use (not default), patching is recommended; for systems using different filesystems or qgroups disabled, risk is negligible.

Exploit ScenarioDerived

A local attacker with write access to a btrfs filesystem creates a loop that repeatedly attempts to insert inline extents while triggering path allocation or transaction join failures through timing or resource exhaustion techniques. Each failed iteration leaks a small amount of qgroup reserved data; over hundreds or thousands of iterations, the cumulative leak exhausts kernel memory or filesystem quota space, causing legitimate applications to fail with ENOSPC (no space) or ENOMEM errors, resulting in denial of service to other users or services on the system. This scenario is realistic in multi-tenant container environments or shared Linux systems where multiple user workloads coexist.

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 leak vulnerability exists in the Linux kernel's btrfs filesystem implementation where reserved qgroup data fails to be freed in error paths during inline extent insertion operations. This affects all Linux versions with vulnerable btrfs code, and allows local attackers with filesystem write access to exhaust kernel memory resources through repeated failed inline extent insertions, potentially causing denial of service. No active exploitation in the wild has been reported, but kernel memory exhaustion vulnerabilities are routinely targeted by local privilege escalation chains.

RemediationAI

Apply the upstream kernel patch by upgrading to a patched kernel version from your distribution (consult your Linux vendor for specific version numbers containing commits f7156512c8166d385f574b9ec030479aa7b1e8c9 or later). Most major distributions (Ubuntu, RHEL, Debian, etc.) will backport this fix into their stable kernel updates within normal update cycles. Until patching is completed, restrict filesystem write access to btrfs-backed volumes only to trusted users, disable btrfs qgroup quotas if not actively required (via btrfs quota disable), and monitor kernel memory pressure via tools such as /proc/slabinfo to detect potential leaks. For production systems using btrfs with qgroup enforcement, prioritize kernel patching as this leak can accumulate under sustained malicious activity.

Affected VersionsENISA

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <28768bd3abf9995a93f6e01bfce01c60622964dd
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c1c050f92d8f6aac4e17f7f2230160794fceef0c
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f3ee1732851aec6fe6b2cec2ef1b32d4e71d9913
Linux patch: 6.18.10
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <28b97fcbbf523779688e8de5fe55bf2dae3859f6
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f7156512c8166d385f574b9ec030479aa7b1e8c9
Linux patch: 6.12.70
Linux patch: 6.19
Linux patch: 6.6.124
Linux patch: 6.1.163

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 resides in the btrfs (B-tree filesystem) subsystem of the Linux kernel, specifically in the __cow_file_range_inline() function responsible for copy-on-write operations when inserting inline extents. When the function fails to allocate a path structure or join a transaction during inline extent insertion, it returns without calling btrfs_qgroup_free_data() to release reserved quota group (qgroup) data resources that were allocated earlier in the execution path. This is a classic resource leak (CWE-404: Improper Resource Shutdown or Release) where allocated kernel memory accounting structures remain reserved but never freed. The qgroup subsystem in btrfs is used for quota management and accounting; failing to return reserved data results in permanent loss of available quota space within the filesystem context. The affected product is the Linux kernel itself (CPE: cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*), impacting all distributions that include vulnerable btrfs code.

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 3.3 LOW

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

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

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 fixed 6.1.164-1 -
bookworm (security) fixed 6.1.164-1 -
trixie fixed 6.12.73-1 -
trixie (security) fixed 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