In the Linux kernel, the following vulnerability has been resolved: namespace: reset the old parent's ->overmount in mnt_change_mountpoint()… (CVE-2026-98995)
Description
A vulnerability in the Linux kernel's namespace handling was resolved by ensuring the old parent's ->overmount pointer is reset in the mnt_change_mountpoint() function. Previously, this pointer could become a dangling reference after certain mount operations, leading to use-after-free (UAF) conditions. This issue arises when mounts are reparented and the old parent's ->overmount is not cleared, potentially allowing references to freed mount structures.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability involves improper handling of the ->overmount pointer in the mnt_change_mountpoint() function. While __umount_mnt() correctly resets the ->overmount pointer of the parent mount during unmount operations, mnt_change_mountpoint() did not, leaving the old parent pointing to the moved mount. This causes a dangling pointer and use-after-free scenario when a file descriptor keeps the unmounted mount alive. The fix resets the ->overmount pointer in mnt_change_mountpoint() similarly to __umount_mnt(), ensuring that a mount's ->overmount always points to a currently attached mount.
Potential Impact
This vulnerability can lead to use-after-free conditions in the Linux kernel's mount namespace handling, potentially causing kernel memory corruption or crashes. However, no known exploits in the wild have been reported. The impact is limited to scenarios involving mount reparenting and file descriptors holding references to unmounted mounts.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by resetting the old parent's ->overmount pointer in the mnt_change_mountpoint() function. Users should apply the official kernel updates that include this patch once available. Since this is a kernel-level issue, updating to the fixed kernel version is the recommended remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-h4q9-qcg7-rj48
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98995"]
Threat ID: 6adbaacfd73cc49347b2054e
Added to database: 10/23/2026, 18:43:27 UTC
Last enriched: 10/23/2026, 18:55:28 UTC
Last updated: 10/23/2026, 23:25:08 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.