In the Linux kernel, the following vulnerability has been resolved: vfs: Don't leak disconnected dentries on umount When user calls… (CVE-2025-40105)
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.
AI Analysis
Technical Summary
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.
In the Linux kernel, the following vulnerability has been resolved: vfs: Don't leak disconnected dentries on umount When user calls… (CVE-2025-40105)
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
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.