In the Linux kernel, the following vulnerability has been resolved: namespace: look at the topmost mount for a mount namespace file… (CVE-2026-98987)
Description
A vulnerability in the Linux kernel's mount namespace handling has been resolved. The flaw involves attach_recursive_mnt() not properly considering the topmost mount in a mount namespace file chain, leading to incorrect mountpoint attachment. This can cause mounts to become inaccessible and prevent synchronous unmounting due to lingering child mounts.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel relates to the attach_recursive_mnt() function, which preallocates a mountpoint for the root of the topmost mount of the source. The issue arises because the loop that walks up the mount chain does not consider the topmost mount itself. If the topmost mount is the only mount namespace file in the chain, the variable 'shorter' remains NULL, causing mnt_change_mountpoint() to attach the existing mount below the root of the mount namespace file (a nsfs dentry). This results in the mount being effectively hidden until its parent is removed, and the copy that replaced it cannot be unmounted synchronously due to having a child mount. The problem manifests in scenarios involving bind mounts and shared/slave mount relationships, leading to unexpected content visibility and EBUSY errors on unmount attempts.
Potential Impact
Affected systems may experience mounts becoming inaccessible and inability to synchronously unmount certain mounts, potentially causing resource management issues and operational disruptions related to mount namespace handling. There is no indication of remote code execution or privilege escalation from the provided data.
Mitigation Recommendations
The vulnerability has been resolved in the Linux kernel. No specific patch links are provided in the input data. Users should apply the official Linux kernel updates that address this issue once available. Patch status is not yet confirmed—check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-8fp8-xwh3-vf8f
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98987"]
Threat ID: 6adbaacfd73cc49347b20573
Added to database: 10/23/2026, 18:43:27 UTC
Last enriched: 10/23/2026, 18:57:57 UTC
Last updated: 10/23/2026, 22:45:04 UTC
Views: 3
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.