Skip to main content

Linux Kernel CVE-2025-71312

| EUVDEUVD-2025-209966 MEDIUM
Memory Leak (CWE-401)
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-w58m-8mj8-hh8w
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Local user triggers fsopen() with ntfs3 type
  2. Delivery
    ntfs_fill_super() sets fc->fs_private to NULL
  3. Exploit
    ntfs_fs_free() skips freeing ntfs_mount_options
  4. Execution
    32-byte kernel heap object permanently orphaned
  5. Persist
    Repeat mount operations in loop
  6. Impact
    Kernel memory exhaustion causes availability impact

Vulnerability Assessment

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

Exploitation requires local access to the target system and the ability to invoke the fsopen() or mount() system calls with filesystem type ntfs3. On kernels with CONFIG_USER_NS=y and permissive user namespace policies (common on desktop-oriented distributions such as Ubuntu), unprivileged users can trigger this path inside a user namespace without root, making the effective privilege requirement lower than the CVSS PR:L classification suggests. The vulnerable code path is reached exclusively when mounting NTFS3 filesystems - no other filesystem type triggers this code. The leak is 32 bytes per mount event, meaning a meaningful denial-of-service requires sustained, repeated mount operations rather than a single request. Exploitation is further constrained by: (1) requirement for ntfs3 module to be loaded or loadable, (2) 32-byte-per-event leak size demanding high-frequency repetition to cause system impact, and (3) kernel memory accounting tools such as kmemleak may alert administrators before DoS thresholds are reached.

Impact

The CVSS 3.1 score of 5.5 Medium is internally consistent: AV:L requires local access, PR:L reflects standard mount-capable user privileges, and A:H captures the possibility of kernel memory exhaustion via repeated mounts. The 'Information Disclosure' tag in the source intelligence appears to be a misclassification - the CVSS impact metrics (C:N/I:N/A:H) confirm this is purely an availability-class vulnerability, not a memory disclosure. The EPSS score of 0.02% (5th percentile) is appropriately low: kernel memory leaks of this type require sustained, repeated triggering to cause meaningful memory pressure and offer no direct path to privilege escalation or code execution. There is no KEV listing and no known public exploit at time of analysis. One nuance worth evaluating per deployment: on kernels with CONFIG_USER_NS=y, unprivileged users may be able to trigger NTFS3 mounts within user namespaces, effectively lowering the practical privilege bar below the CVSS PR:L classification - defenders should verify their kernel namespace configuration.

Exploit ScenarioDerived

A local user executes a loop invoking fallocate to create a file and mounting it as an NTFS3 filesystem (as shown in the CVE description's reproduction steps), leaking 32 bytes of kernel memory per iteration. Over thousands of iterations - achievable in a short script - kernel memory pressure builds until the system exhibits degraded performance or an out-of-memory condition. No public exploit code exists beyond the trivially reproducible two-command sequence documented in the vulnerability description itself.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 25, 2026

Memory leak in the Linux kernel NTFS3 driver's ntfs_fill_super() function allows a local user with mount privileges to gradually exhaust kernel memory by repeatedly mounting NTFS filesystems. The ntfs_mount_options structure (32 bytes per mount) is permanently leaked because fc->fs_private is nulled before ntfs_fs_free() can release it, confirmed by kmemleak tooling. No active exploitation has been identified - EPSS is 0.02% (5th percentile) and this vulnerability is absent from CISA KEV - making it a maintenance-class fix rather than an urgent security priority, though the availability impact is rated High by CVSS.

RemediationAI

Upgrade to Linux kernel 6.19.4 or Linux 7.0 (or later), which incorporate the fix commits at https://git.kernel.org/stable/c/dac871d833b09495198dcac81d2ebaa8db11acbc and https://git.kernel.org/stable/c/f7edab0cee03a1cbe0e55a7bcab8d2d8b6b74278. Enterprise distributions (RHEL, Ubuntu, Debian, SUSE) may backport this fix into their own kernel packages independently of upstream version numbers - consult distribution-specific security errata rather than relying solely on upstream version numbers. If immediate patching is not feasible, restrict NTFS3 mount access by blacklisting the ntfs3 kernel module via kernel command line parameter modprobe.blacklist=ntfs3 or by adding 'install ntfs3 /bin/false' to /etc/modprobe.d/; note this will prevent mounting of NTFS filesystems entirely, which may impact removable media or dual-boot workflows. Alternatively, restrict mount namespace capabilities using seccomp or LSM policies to limit which processes can invoke fsopen() with the ntfs3 filesystem type.

Affected VersionsENISA

Linux 6.19
Linux patch: 6.19.4
Linux patch: 0
Linux aee4d5a521e94f658e46c904e08a473daa9c8fc0 <dac871d833b09495198dcac81d2ebaa8db11acbc
Linux aee4d5a521e94f658e46c904e08a473daa9c8fc0 <f7edab0cee03a1cbe0e55a7bcab8d2d8b6b74278
Linux patch: 7.0

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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 fs/ntfs3, the in-kernel NTFS3 driver introduced in Linux 5.15. During the mount path invoked via fsopen()/fsmount() syscalls, ntfs_fill_super() is responsible for initializing the superblock. The ntfs_mount_options structure is allocated in __ntfs_init_fs_context() and stored in fc->fs_private. The defect (CWE-401: Missing Release of Memory after Effective Lifetime) occurs because ntfs_fill_super() sets fc->fs_private = NULL before the cleanup callback ntfs_fs_free() executes, causing the cleanup to skip the free since the pointer is gone. The sbi->options field is a copy of fc->fs_private, not the allocation itself, so nulling fc->fs_private serves no protective purpose and only orphans the memory. The fix removes the spurious NULL assignment and standardizes cleanup through the put_mount_options() helper. Affected CPE: cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*, in the commit range from aee4d5a521e9 to dac871d833b0 / f7edab0cee03 across stable branches.

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
vuln.today AI 5.5 MEDIUM

Local mount privilege required to reach NTFS3 path; no confidentiality or integrity impact from a kernel heap leak; sustained availability degradation justifies A:H.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 3.3 LOW
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

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
Jun 25, 2026 - 21:07 NVD
5.5 (MEDIUM)
CVE Published
May 27, 2026 - 14:16 nvd
MEDIUM 5.5
CVE Published
May 27, 2026 - 14:16 nvd
UNKNOWN (no severity yet)

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

fs/ntfs3: fix ntfs_mount_options leak in ntfs_fill_super()

In ntfs_fill_super(), the fc->fs_private pointer is set to NULL without first freeing the memory it points to. This causes the subsequent call to ntfs_fs_free() to skip freeing the ntfs_mount_options structure.

This results in a kmemleak report:

unreferenced object 0xff1100015378b800 (size 32): comm "mount", pid 582, jiffies 4294890685 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 ed ff ed ff 00 04 00 00 ................ backtrace (crc ed541d8c): __kmalloc_cache_noprof+0x424/0x5a0 __ntfs_init_fs_context+0x47/0x590 alloc_fs_context+0x5d8/0x960 __x64_sys_fsopen+0xb1/0x190 do_syscall_64+0x50/0x1f0 entry_SYSCALL_64_after_hwframe+0x76/0x7e

This issue can be reproduced using the following commands: fallocate -l 100M test.file mount test.file /tmp/test

Since sbi->options is duplicated from fc->fs_private and does not directly use the memory allocated for fs_private, it is unnecessary to set fc->fs_private to NULL.

Additionally, this patch simplifies the code by utilizing the helper function put_mount_options() instead of open-coding the cleanup logic.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Prevalence
Ubiquitous
Linux kernel underpins virtually all cloud, server, and embedded environments
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 No
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

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.

Vendor StatusVendor

SUSE

Severity: Low
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected

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