Skip to main content

Linux Kernel CVE-2025-40105

HIGH
2025-10-30 416baaa9-dc9f-4396-8d5f-8c081fb06d67
High
Disputed · 7.8 Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

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

  1. Access
    Gain local access with CAP_DAC_READ_SEARCH
  2. Delivery
    Mount corrupted or crafted filesystem
  3. Exploit
    Call open_by_handle_at() on uncached directory
  4. Execution
    Force reconnect_one() lookup failure
  5. Persist
    Leak unflagged disconnected dentries
  6. Impact
    Exhaust kernel memory / block unmount

Vulnerability Assessment

Exploitation Conditions

Exploitation requires local code execution and the ability to call open_by_handle_at(), which needs the CAP_DAC_READ_SEARCH capability, so it is not reachable by fully unprivileged remote users. The trigger further depends on reconnect_one() failing to find the dentry during reconnection - realistically arising from a corrupted/maliciously crafted filesystem where '..' does not point to the true parent, or a race with a concurrent rename - meaning default, healthy filesystems on a non-racing system are unlikely to hit it spontaneously. The affected inode must be a directory not currently cached in the dcache. Limiting factors: local-only attack surface, required file-handle capability, and dependence on filesystem corruption or a rename race make reliable weaponization difficult; the practical impact is resource leakage and unmount failure rather than code execution or data theft.

Impact

The signals conflict and warrant scrutiny. The supplied CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H = 7.8 HIGH) claims full confidentiality, integrity, and availability impact, but the description describes a dentry/inode memory leak whose only realistic consequence is resource exhaustion and a failed unmount - an availability issue, not C:H/I:H. The C:H/I:H/A:H rating appears to be the kernel CNA's conservative default rather than a demonstrated impact; the 'Information Disclosure' tag is also unsupported by the description. EPSS is low (0.19%), there is no KEV listing and no public PoC, and triggering reliably typically needs a corrupted filesystem or a rename race plus the privilege to call open_by_handle_at() (CAP_DAC_READ_SEARCH). SSVC-style: exploitation is 'none', automatable is 'no', and technical impact is realistically 'partial' (DoS), not 'total'. Net: this is a low-to-moderate real-world priority best handled through normal stable-kernel patch cadence, not an emergency - the HIGH CVSS overstates the practical risk.

Exploit ScenarioDerived

A local user with CAP_DAC_READ_SEARCH repeatedly calls open_by_handle_at() against uncached directory inodes on a crafted or corrupted filesystem image where '..' does not resolve to the real parent, driving reconnect_one() to create unflagged leaf dentries that are never reclaimed. Over many iterations this leaks kernel dentry/inode memory and, when the filesystem is unmounted, triggers the 'Busy inodes after unmount' condition. No public exploit is identified at time of analysis; exploitation requires local access and the file-handle capability.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 30, 2026

Memory-management flaw in the Linux kernel VFS layer allows a local user with handle-lookup privileges to leak disconnected directory dentries by calling open_by_handle_at() on uncached inodes, eventually producing a 'Busy inodes after unmount' condition and unreclaimed kernel memory. The bug surfaces when reconnect_one() fails to find the target dentry and creates a replacement that is not flagged as disconnected, so dput() never immediately reclaims it - a regression exposed by commit f1ee616214cb, which stopped tracking most disconnected dentries on sb->s_anon. There is no public exploit identified at time of analysis, EPSS is low (0.19%, 9th percentile), and this is not in CISA KEV.

RemediationAI

Patch available per vendor advisory: apply the upstream stable fix that marks all dentries created under a disconnected parent as disconnected, distributed across the referenced git.kernel.org commits (20863bb7fbb0, 56094ad3eaa2, 620f3b0ede9c, 7e0c8aaf4e28, 8004d4b8cbf1, b5abafd0aa8d, cebfbf40056a, eadc49999fa9) - update to the fixed stable/distribution kernel build that includes your branch's commit, and reboot. A specific single tagged release version is not identifiable from the input, so confirm the fixed build number with your distribution's security tracker. Siemens users should follow https://cert-portal.siemens.com/productcert/html/ssa-019113.html. As a compensating control until patched, restrict the CAP_DAC_READ_SEARCH capability so untrusted local users cannot invoke open_by_handle_at() (trade-off: breaks legitimate userspace NFS/handle-based tooling), and avoid mounting untrusted or potentially corrupted filesystem images (trade-off: operationally limiting for forensic or multi-tenant storage workflows). There is no network-facing workaround since the flaw is local.

Affected ProductsAI

The affected component is the Linux kernel VFS/exportfs subsystem. No CPE strings or explicit version ranges were provided in the input, and the input CWE is N/A; the eight git.kernel.org stable commit references (e.g., 20863bb7fbb0, 56094ad3eaa2, 620f3b0ede9c, 7e0c8aaf4e28, 8004d4b8cbf1, b5abafd0aa8d, cebfbf40056a, eadc49999fa9) indicate the fix was backported across multiple stable branches, so all maintained kernel lines carrying commit f1ee616214cb up to those fixes are affected. Siemens has also published a downstream advisory at https://cert-portal.siemens.com/productcert/html/ssa-019113.html for its Linux-based products. Exact affected version boundaries should be confirmed against each distribution's kernel changelog since the NVD entries carry no version metadata here.

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 lives in the Virtual File System (VFS) dentry-reconnection path used by the exportfs subsystem, which underpins NFS-style file access via file handles. When open_by_handle_at() is used on an inode absent from the dcache, the kernel builds a 'disconnected' dentry; if it is a directory, exportfs_decode_fh_raw() calls reconnect_path()/reconnect_one() to splice it back into the dentry tree. reconnect_one() uses lookup_one_unlocked() to resolve the child, and on failure (e.g., a corrupted filesystem where '..' does not point to the real parent, or a race with rename) it creates a fresh dentry that is not marked DCACHE_DISCONNECTED even though its parent still is. Because commit f1ee616214cb ("VFS: don't keep disconnected dentries on d_anon") made cleanup rely on dput() immediately reclaiming disconnected dentries, an unflagged leaf dentry escapes reclaim and is leaked. The fix ensures every dentry created under a disconnected parent inherits the disconnected flag. The root-cause class is a resource-management/memory-leak defect (broadly CWE-401/CWE-459), not information disclosure despite the input tag; the input CWE is N/A.

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

Sources disagree (Low–High)
Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 2.5 LOW

Local trigger via privileged open_by_handle_at (PR:L), needing filesystem corruption or a rename race (AC:H); impact is a memory leak / unmount DoS, so C:N/I:N and only A:L.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/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
Red Hat 5.5 LOW

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

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

Lifecycle Timeline

3
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.8 (HIGH)
CVE Published
Oct 30, 2025 - 10:15 cve.org
UNKNOWN (no severity yet)
CVE Published
Oct 30, 2025 - 10:15 cve.org
HIGH 7.8

DescriptionCVE.org

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

vfs: Don't leak disconnected dentries on umount

When user calls open_by_handle_at() on some inode that is not cached, we will create disconnected dentry for it. If such dentry is a directory, exportfs_decode_fh_raw() will then try to connect this dentry to the dentry tree through reconnect_path(). It may happen for various reasons (such as corrupted fs or race with rename) that the call to lookup_one_unlocked() in reconnect_one() will fail to find the dentry we are trying to reconnect and instead create a new dentry under the parent. Now this dentry will not be marked as disconnected although the parent still may well be disconnected (at least in case this inconsistency happened because the fs is corrupted and .. doesn't point to the real parent directory). This creates inconsistency in disconnected flags but AFAICS it was mostly harmless. At least until commit f1ee616214cb ("VFS: don't keep disconnected dentries on d_anon") which removed adding of most disconnected dentries to sb->s_anon list. Thus after this commit cleanup of disconnected dentries implicitely relies on the fact that dput() will immediately reclaim such dentries. However when some leaf dentry isn't marked as disconnected, as in the scenario described above, the reclaim doesn't happen and the dentries are "leaked". Memory reclaim can eventually reclaim them but otherwise they stay in memory and if umount comes first, we hit infamous "Busy inodes after unmount" bug. Make sure all dentries created under a disconnected parent are marked as disconnected as well.

Executive ViewAI

Why It Matters

A memory-management flaw in the Linux kernel VFS layer allows local users with handle-lookup privileges to trigger kernel memory exhaustion and system mount failures. Organizations operating multi-user Linux systems or containerized workloads face potential service disruption from resource exhaustion attacks. While the vulnerability carries HIGH technical severity (CVSS 7.8), current exploitation risk is low given the lack of public exploit code and local-only attack vector.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: (1) restrict open_by_handle_at() syscall access via seccomp-bpf or SELinux policy to prevent untrusted users from invoking it; (2) enforce stricter local user access controls and audit provisioning, especially in multi-tenant or container environments; (3) implement monitoring and alerting for unmount failures and sustained kernel memory pressure; (4) maintain close watch on vendor kernel advisories for patch availability and prepare staging environment for testing.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Ubiquitous
Linux kernel VFS layer present in virtually all Linux deployments
Threat Intel
2
1 source
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS CISA Vendor VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
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
Medium

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: +10
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
Container suse/hpc/warewulf4-x86_64/sle-hpc-node:latest Image SLES15-SP6 Image SLES15-SP6-BYOS Image SLES15-SP6-BYOS-Azure Image SLES15-SP6-BYOS-EC2 Image SLES15-SP6-BYOS-GCE Image SLES15-SP6-CHOST-BYOS Image SLES15-SP6-CHOST-BYOS-Aliyun Image SLES15-SP6-CHOST-BYOS-Azure Image SLES15-SP6-CHOST-BYOS-EC2 Image SLES15-SP6-CHOST-BYOS-GCE Image SLES15-SP6-CHOST-BYOS-GDC Image SLES15-SP6-CHOST-BYOS-SAP-CCloud Image SLES15-SP6-EC2 Image SLES15-SP6-EC2-ECS-HVM Image SLES15-SP6-GCE Image SLES15-SP6-HPC-BYOS Image SLES15-SP6-HPC-BYOS-Azure Image SLES15-SP6-HPC-BYOS-EC2 Image SLES15-SP6-HPC-BYOS-GCE Image SLES15-SP6-HPC-EC2 Image SLES15-SP6-HPC-GCE Image SLES15-SP6-Hardened-BYOS Image SLES15-SP6-Hardened-BYOS-Azure Image SLES15-SP6-Hardened-BYOS-EC2 Image SLES15-SP6-Hardened-BYOS-GCE Image SLES15-SP6-SAP Image SLES15-SP6-SAP-Azure Image SLES15-SP6-SAP-EC2 Image SLES15-SP6-SAP-GCE Image SLES15-SP6-SAPCAL Image SLES15-SP6-SAPCAL-Azure Image SLES15-SP6-SAPCAL-EC2 Image SLES15-SP6-SAPCAL-GCE Affected
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.1/baremetal-os-container:latest Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.95 Container suse/sl-micro/6.1/base-os-container:2.2.1-5.80 Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.114 Container suse/sl-micro/6.1/kvm-os-container:2.2.1-5.82 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.116 Container suse/sl-micro/6.1/rt-os-container:2.2.1-5.55 Affected

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

References

Advisories & patches
ADVISORY https://vuldb.com/vuln/330549 ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4393/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4422/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4505/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4516/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4517/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4521/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20012/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20015/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20021/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20039/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20059/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20334/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20473/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20478/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20496/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20519/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20562/ REF https://cert-portal.siemens.com/productcert/html/ssa-019113.html REF https://cert-portal.siemens.com/productcert/html/ssa-457936.html REF https://git.kernel.org/stable/c/20863bb7fbb016379f8227122edfabc5c799bc79 REF https://git.kernel.org/stable/c/56094ad3eaa21e6621396cc33811d8f72847a834 REF https://git.kernel.org/stable/c/620f3b0ede9c5cb4976cd0457d0b04ad551e5d6b REF https://git.kernel.org/stable/c/7e0c8aaf4e28918abded547a5147c7d52c4af7d2 REF https://git.kernel.org/stable/c/8004d4b8cbf1bd68a23c160d57287e177c82cc69 REF https://git.kernel.org/stable/c/b5abafd0aa8d7bcb935c8f91e4cfc2f2820759e4 REF https://git.kernel.org/stable/c/cebfbf40056a4d858b2a3ca59a69936d599bd209 REF https://git.kernel.org/stable/c/eadc49999fa994d6fbd70c332bd5d5051cc42261

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