# CVE-2026-98992: namespace: don't copy an unmounted mount tree

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-10-23T12:20:11.256Z
- **Modified:** 2026-10-30T13:21:34.580Z

## Who should check

- Anyone running Linux \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 94d05b62dc7aea236db20166e79ee002e466393a; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 07c6a8f004bcc58b4ccf993e6efa7b9b8b4a1b8b; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 31cf157298271392ab5fb0805b28d37c8d7a8057; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 86a2d56b1960720bf1844441c0890621e9db2f25; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 7e037b1fd339d865737c8accd29abcf40130a5a0; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< b47b40c4f058418f9707454543179df240796aad; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 8d3527457e183cedee3003c2897314da49488311; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 8bacbf6be959973b28b691713a872c12eae69eec
- Anyone running Linux 3.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

namespace: don't copy an unmounted mount tree

may\_copy\_tree() accepts a mount whose root is an nsfs or pidfs file
before it checks whether that mount is mounted. This exception exists
for nsfs and pidfs mounts. They are part of no mount namespace so
neither check\_mnt() nor is\_mounted() would let them through and
bind-mounting a nsfsfd or a pidfd wouldn't work.

Problem is that exception also admits a bind mount of such a file when
it was lazily unmounted and is only kept alive by a file descriptor:

  mount --bind /proc/self/ns/net /tmp/x
  exec 3\< /tmp/x
  umount -l /tmp/x
  mount --rbind /proc/self/fd/3 /tmp/y

With MS\_REC or AT\_RECURSIVE copy\_tree() doesn't stop at the unmounted
mount. It copies every mount that stayed attached to it as well. So if
you have a bunch of overmounts over the nsfsfd or the pidfd the whole
unmounted stack is copied. That's a bug.

So refuse to walk an unmounted tree. Copying its root alone stays
possible. So a bind mount of a namespace that is gone can still be
recreated from a file descriptor on the old one. The file descriptor
pins that mount and its root and \_\_has\_locked\_children() only reads the
direct children which don't leave the parent's list without
namespace\_sem. The internal mounts carry MNT\_NS\_INTERNAL instead of NULL
and are still walked. Copying an unmounted tree recursively fails with
EINVAL.

## Affected and fixed versions

- Linux: \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 94d05b62dc7aea236db20166e79ee002e466393a; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 07c6a8f004bcc58b4ccf993e6efa7b9b8b4a1b8b; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 31cf157298271392ab5fb0805b28d37c8d7a8057; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 86a2d56b1960720bf1844441c0890621e9db2f25; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 7e037b1fd339d865737c8accd29abcf40130a5a0; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< b47b40c4f058418f9707454543179df240796aad; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 8d3527457e183cedee3003c2897314da49488311; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 8bacbf6be959973b28b691713a872c12eae69eec (cvelist)
- Linux: 3.19 (cvelist)

## Mitigation

- Upgrade Linux to 8bacbf6be959973b28b691713a872c12eae69eec 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-98992. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98992.md
Affected: Linux >= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, < 94d05b62dc7aea236db20166e79ee002e466393a; >= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, < 07c6a8f004bcc58b4ccf993e6efa7b9b8b4a1b8b; >= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, < 31cf157298271392ab5fb0805b28d37c8d7a8057; >= e149ed2b805fefdccf7ccdf…
Fixed in: Linux 94d05b62dc7aea236db20166e79ee002e466393a, Linux 07c6a8f004bcc58b4ccf993e6efa7b9b8b4a1b8b, Linux 31cf157298271392ab5fb0805b28d37c8d7a8057, Linux 86a2d56b1960720bf1844441c0890621e9db2f25, Linux 7e037b1fd339d865737c8accd29abcf40130a5a0, Linux 8d3527457e183cedee3003c2897314da49488311, Linux 8bacb…

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-98992 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 94d05b62dc7aea236db20166e79ee002e466393a; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 07c6a8f004bcc58b4ccf993e6efa7b9b8b4a1b8b; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 31cf157298271392ab5fb0805b28d37c8d7a8057; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 86a2d56b1960720bf1844441c0890621e9db2f25; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 7e037b1fd339d865737c8accd29abcf40130a5a0; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< b47b40c4f058418f9707454543179df240796aad; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 8d3527457e183cedee3003c2897314da49488311; \>= e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, \< 8bacbf6be959973b28b691713a872c12eae69eec; Linux 3.19.

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

Yes. Fixed in Linux 94d05b62dc7aea236db20166e79ee002e466393a, Linux 07c6a8f004bcc58b4ccf993e6efa7b9b8b4a1b8b, Linux 31cf157298271392ab5fb0805b28d37c8d7a8057, Linux 86a2d56b1960720bf1844441c0890621e9db2f25, Linux 7e037b1fd339d865737c8accd29abcf40130a5a0, Linux 8d3527457e183cedee3003c2897314da49488311, Linux 8bacbf6be959973b28b691713a872c12eae69eec. Upgrade Linux to 8bacbf6be959973b28b691713a872c12eae69eec or later.

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

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/94d05b62dc7aea236db20166e79ee002e466393a>
- other: <https://git.kernel.org/stable/c/07c6a8f004bcc58b4ccf993e6efa7b9b8b4a1b8b>
- other: <https://git.kernel.org/stable/c/31cf157298271392ab5fb0805b28d37c8d7a8057>
- other: <https://git.kernel.org/stable/c/86a2d56b1960720bf1844441c0890621e9db2f25>
- other: <https://git.kernel.org/stable/c/7e037b1fd339d865737c8accd29abcf40130a5a0>
- other: <https://git.kernel.org/stable/c/b47b40c4f058418f9707454543179df240796aad>
- other: <https://git.kernel.org/stable/c/8d3527457e183cedee3003c2897314da49488311>
- other: <https://git.kernel.org/stable/c/8bacbf6be959973b28b691713a872c12eae69eec>

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

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