CVE-2025-71268
Analyzed Analyzed - Analysis Complete

Memory Leak in Linux Kernel btrfs Inline Extent Reservation

Vulnerability report for CVE-2025-71268, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-03-18

Last updated on: 2026-05-21

Assigner: kernel.org

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-03-18
Last Modified
2026-05-21
Generated
2026-07-06
AI Q&A
2026-03-18
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 8 associated CPEs
Vendor Product Version / Range
linux linux_kernel 6.19
linux linux_kernel 6.19
linux linux_kernel 6.19
linux linux_kernel 6.19
linux linux_kernel From 6.7 (inc) to 6.12.70 (exc)
linux linux_kernel From 6.2 (inc) to 6.6.124 (exc)
linux linux_kernel From 6.13 (inc) to 6.18.10 (exc)
linux linux_kernel From 4.4 (inc) to 6.1.163 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-401 The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in the Linux kernel's btrfs filesystem. It involves a reservation leak that occurs in certain error paths when inserting an inline extent. Specifically, if the system fails to allocate a path or join a transaction during the __cow_file_range_inline() function, it returns without freeing the reserved quota group (qgroup) data, causing a resource leak. The fix ensures that the reserved qgroup data is properly freed in these error cases.

Impact Analysis

The impact of this vulnerability is a resource leak in the btrfs filesystem. If the reserved qgroup data is not freed properly during certain error conditions, it could lead to inefficient resource usage or exhaustion over time. This might degrade system performance or stability, especially on systems heavily using btrfs with quota groups.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

I don't know

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-71268. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart