Skip to main content
EPSS 0.1%top 95%

In the Linux kernel, the following vulnerability has been resolved: vfs: Don't leak disconnected dentries on umount When user calls… (CVE-2025-40105)

0
High
Published: 10/30/2025 (10/30/2025, 12:31:11 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's virtual file system (VFS) handling could cause memory leaks of disconnected dentries during unmount operations. This occurs when certain directory dentries created by open_by_handle_at() are not properly marked as disconnected, leading to inconsistent state and potential resource leaks. The issue can result in the "Busy inodes after unmount" problem, affecting system stability and resource management.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 16:42:23 UTC

Technical Analysis

The vulnerability involves the Linux kernel's VFS layer where disconnected dentries created during open_by_handle_at() calls may not be correctly marked as disconnected if lookup_one_unlocked() fails during reconnect_path(). Following a prior commit that changed how disconnected dentries are tracked, this inconsistency causes some dentries to be leaked in memory rather than reclaimed promptly. If an unmount occurs before memory reclaim, it triggers the "Busy inodes after unmount" bug. The fix ensures all dentries created under a disconnected parent are also marked as disconnected to prevent leaks.

Potential Impact

This vulnerability can lead to memory leaks of dentries in the kernel, causing resource exhaustion and system instability. The "Busy inodes after unmount" condition may prevent successful unmount operations, potentially impacting system reliability and availability. Confidentiality, integrity, and availability impacts are rated high per the CVSS vector, reflecting the potential for significant disruption.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to address this issue by ensuring all dentries under a disconnected parent are marked as disconnected. Users should apply the official kernel updates that include this patch to remediate the vulnerability. Since this is a kernel-level issue, upgrading to a patched kernel version is the recommended mitigation. Patch status is not explicitly provided here; users should consult the official Linux kernel advisories or distribution security updates for the exact fixed versions and apply them accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-9wgm-cmcc-8467
Osv Schema Version
1.4.0
Aliases
["CVE-2025-40105"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a6b72d69c2644c7f847abd9

Added to database: 07/30/2026, 15:50:46 UTC

Last enriched: 07/30/2026, 16:42:23 UTC

Last updated: 09/10/2026, 19:38:48 UTC

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses