Skip to main content
VulnerabilityPublished

CVE-2026-98992: Linux kernel · namespace: don't copy an unmounted mount tree

Source GCVE Database

0
Authoritative record:CVE-2026-98992· Medium

Not known to be exploited · fixed in b47b40c4f058418f9707454543179df240796aad : update Linux kernel when convenient.

Data as of 26 Oct 2026, 14:05 UTC

Severity
Medium

Rated by Threat Radar · CVSS not yet scored by NVD

EPSS
0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in b47b40c4f058418f9707454543179df240796aad, 86a2d56b1960720bf1844441c0890621e9db2f25, 8d3527457e183cedee3003c2897314da49488311 +2

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, < b47b40c4f058418f9707454543179df240796aad
Fixed in
  • b47b40c4f058418f9707454543179df240796aad
LinuxLinuxAffected
  • ≥ e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, < 86a2d56b1960720bf1844441c0890621e9db2f25
Fixed in
  • 86a2d56b1960720bf1844441c0890621e9db2f25
LinuxLinuxAffected
  • ≥ e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, < 8d3527457e183cedee3003c2897314da49488311
Fixed in
  • 8d3527457e183cedee3003c2897314da49488311
LinuxLinuxAffected
  • ≥ e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, < 8bacbf6be959973b28b691713a872c12eae69eec
Fixed in
  • 8bacbf6be959973b28b691713a872c12eae69eec
LinuxLinuxAffected
  • ≥ e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, < 7e037b1fd339d865737c8accd29abcf40130a5a0
Fixed in
  • 7e037b1fd339d865737c8accd29abcf40130a5a0
LinuxLinuxAffected
  • =3.19
Fixed in–

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.

References

Community reviews

Loading reviews…