◆ CVE Hub

CVE-2026-98995

namespace: reset the old parent's ->overmount in mnt_change_mountpoint()

Published
2026-10-23
Last modified
2026-10-24
CNA
Linux
NVD status
Received
CVSS v3.1 (listed by NVD)
7.8
HIGH
Scored by Linux (not yet scored by NVD)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0 (listed by NVD)
—
Not scored
CVSS (listed by CVE.org)
7.8
HIGH
Scored by CNA (Linux) · v3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS exploit probability
0.2%
Percentile 10.2%
as of 2026-10-24
CISA KEV
—
Not listed

Attack conditions and impact

Derived from the CNA (via NVD) CVSS 3.1 vector
LocalLoginNo interaction Confidentiality HIntegrity HAvailability H
MetricValueMeaning
Attack vector AVLLocal
Attack complexity ACLLow (easy)
Privileges required PRLRegular user
User interaction UINNone
Scope SUUnchanged
Confidentiality CHHigh
Integrity IHHigh
Availability AHHigh
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

NVD

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 assessments

ProviderVersionScoreVector
NVD / 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)3.17.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA / Linux3.17.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products and packages

CNA (CVE.org)

VendorProductVersions
LinuxLinux
affected: ffdc52fbbd5835a936ad683c943d6d103a2d4514 … < 5e0a1f2c753a79749bc2ead3ae2f2ede3941daa5
affected: ffdc52fbbd5835a936ad683c943d6d103a2d4514 … < 08d575ee89393fd812dbdca7b5d7b4574cd5a564
affected: ffdc52fbbd5835a936ad683c943d6d103a2d4514 … < 476ef286a7a5db8bda51325dc0c45887b4d99d9a
default: unaffected
LinuxLinux
affected: 6.17
unaffected: 0 … < 6.17
unaffected: 6.18.57 … <= 6.18.*
unaffected: 7.2.11 … <= 7.2.*
unaffected: 7.3 … <= *
default: affected

Open-source packages (GitHub Advisory / OSV)

namespace: reset the old parent's ->overmount in mnt_change_mountpoint()

EcosystemPackageAffected versionsFixed in
>= ffdc52fbbd5835a936ad683c943d6d103a2d4514, < 5e0a1f2c753a79749bc2ead3ae2f2ede3941daa5; < 08d575ee89393fd812dbdca7b5d7b4574cd5a564; < 476ef286a7a5db8bda51325dc0c45887b4d99d9a5e0a1f2c753a79749bc2ead3ae2f2ede3941daa5, 08d575ee89393fd812dbdca7b5d7b4574cd5a564, 476ef286a7a5db8bda51325dc0c45887b4d99d9a
LinuxKernel>= 6.17.0, < 6.18.57; >= 6.19.0, < 7.2.116.18.57, 7.2.11

Linux distribution status

Red Hat ↗

No record

Debian ↗

ReleasePackageStatusFixed version / notes
bookwormlinuxnot-affected unimportant
forkylinuxresolved not yet assigned7.2.11-1
sidlinuxresolved not yet assigned7.2.11-1
trixielinuxnot-affected unimportant

Ubuntu ↗

No record

References (6)