← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel mnt_change_mountpoint Does Not Reset the Old Parent's overmount Field, Leaving Stale Mount State

Last refreshed2026-10-25

Status: UPDATED  |  Advisory ID: CVE-2026-98995

Key Details

CVECVE-2026-98995
CVSS Score / Version
7.8 (High) / CVSS v3.1
Updated2026-10-24
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel
Exploitation prediction (EPSS)
0.16% probability of exploitation in the next 30 days (5% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-98995
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-98995
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.