# CVE-2026-98995: namespace: reset the old parent's -\>overmount in mnt\_change\_mountpoint()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-10-23T12:20:14.155Z
- **Modified:** 2026-10-24T14:16:51.470Z

## Who should check

- Anyone running Linux \>= ffdc52fbbd5835a936ad683c943d6d103a2d4514, \< 5e0a1f2c753a79749bc2ead3ae2f2ede3941daa5; \>= ffdc52fbbd5835a936ad683c943d6d103a2d4514, \< 08d575ee89393fd812dbdca7b5d7b4574cd5a564; \>= ffdc52fbbd5835a936ad683c943d6d103a2d4514, \< 476ef286a7a5db8bda51325dc0c45887b4d99d9a
- Anyone running Linux 6.17

## 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.

## Affected and fixed versions

- Linux: \>= ffdc52fbbd5835a936ad683c943d6d103a2d4514, \< 5e0a1f2c753a79749bc2ead3ae2f2ede3941daa5; \>= ffdc52fbbd5835a936ad683c943d6d103a2d4514, \< 08d575ee89393fd812dbdca7b5d7b4574cd5a564; \>= ffdc52fbbd5835a936ad683c943d6d103a2d4514, \< 476ef286a7a5db8bda51325dc0c45887b4d99d9a (cvelist)
- Linux: 6.17 (cvelist)

## Mitigation

- Upgrade Linux to 476ef286a7a5db8bda51325dc0c45887b4d99d9a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98995. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98995.md
Affected: Linux >= ffdc52fbbd5835a936ad683c943d6d103a2d4514, < 5e0a1f2c753a79749bc2ead3ae2f2ede3941daa5; >= ffdc52fbbd5835a936ad683c943d6d103a2d4514, < 08d575ee89393fd812dbdca7b5d7b4574cd5a564; >= ffdc52fbbd5835a936ad683c943d6d103a2d4514, < 476ef286a7a5db8bda51325dc0c45887b4d99d9a; Linux 6.17
Fixed in: Linux 5e0a1f2c753a79749bc2ead3ae2f2ede3941daa5, Linux 08d575ee89393fd812dbdca7b5d7b4574cd5a564, Linux 476ef286a7a5db8bda51325dc0c45887b4d99d9a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98995 being exploited?

There is no confirmed exploitation: CVE-2026-98995 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98995?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-98995?

Linux \>= ffdc52fbbd5835a936ad683c943d6d103a2d4514, \< 5e0a1f2c753a79749bc2ead3ae2f2ede3941daa5; \>= ffdc52fbbd5835a936ad683c943d6d103a2d4514, \< 08d575ee89393fd812dbdca7b5d7b4574cd5a564; \>= ffdc52fbbd5835a936ad683c943d6d103a2d4514, \< 476ef286a7a5db8bda51325dc0c45887b4d99d9a; Linux 6.17.

### Is there a fix for CVE-2026-98995?

Yes. Fixed in Linux 5e0a1f2c753a79749bc2ead3ae2f2ede3941daa5, Linux 08d575ee89393fd812dbdca7b5d7b4574cd5a564, Linux 476ef286a7a5db8bda51325dc0c45887b4d99d9a. Upgrade Linux to 476ef286a7a5db8bda51325dc0c45887b4d99d9a or later.

### How do I check if I'm affected by CVE-2026-98995?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/5e0a1f2c753a79749bc2ead3ae2f2ede3941daa5>
- other: <https://git.kernel.org/stable/c/08d575ee89393fd812dbdca7b5d7b4574cd5a564>
- other: <https://git.kernel.org/stable/c/476ef286a7a5db8bda51325dc0c45887b4d99d9a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98995>

HTML: <https://flawdb.com/CVE-2026-98995> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98995>
