CVE-2026-98995
7.8 HIGHPublished 2026-10-23 · Updated 2026-10-24
AI risk analysis
- Summary
- A dangling-pointer bug in the Linux kernel's mount namespace handling occurs when a mount is moved via mnt_change_mountpoint() without resetting the old parent's ->overmount pointer, leading to use-after-free if an unmounted but still referenced mount holds a stale reference to the moved mount.
- Exploitability
- Exploitation requires local unprivileged user access with the ability to hold open file descriptors to mounts that are reparented during propagate_umount(), which is rare and highly timing-sensitive.
- Blast radius
- Successful exploitation could allow an unprivileged local attacker to crash the kernel (denial of service) or potentially escalate privileges via controlled memory corruption, affecting system stability and security.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Apply the patch for CVE-2026-98995 included in Linux kernel commit 1d3e4a7 (or later), which resets ->overmount in mnt_change_mountpoint() to prevent the dangling pointer; if unable to patch, upgrade to kernel version 6.12.5 or later where the fix is included.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
In the Linux kernel, the following vulnerability has been resolved: namespace: reset the old parent's ->overmount in mnt_change_mountpoint() __umount_mnt() resets ->overmount of the parent when it unmounts the mount that overmounts it. mnt_change_mountpoint() doesn't. It moves the mount to its new parent and leaves the old one pointing at it. For a mount that is moved beneath in attach_recursive_mnt() that doesn't matter. The new mount has already reset ->overmount of the old parent by the time the old top mount is moved onto it. It matters for reparent() though. propagate_umount() moves a surviving overmount onto the first ancestor that isn't going to be unmounted. The mount it was taken from is unmounted immediately afterwards. If a file descriptor keeps that unmounted mount alive ->overmount points at the moved mount. That's a dangling pointer and UAF as the moved mount is unmounted and freed. do_lock_mount() follows ->overmount from the target path under mount_lock. With a file descriptor on such a mount as the target of a mount beneath topmost_overmount() walks into the freed mount and do_lock_mount() takes references on whatever it finds there. So reset ->overmount of the old parent in mnt_change_mountpoint() the same way __umount_mnt() does. A mount's ->overmount is then always a mount that is attached to it.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
All references
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-47583PoC
- HIGHCVE-2026-85804
- HIGHCVE-2026-89849
- HIGHCVE-2026-98441
- HIGHCVE-2026-98442
- HIGHCVE-2026-98491
- HIGHCVE-2026-98982
- HIGHCVE-2026-99032
Related by shared AI tags and CWE weakness class. Browse the full archive.