CVE-2026-98992

namespace: don't copy an unmounted mount tree

No CVSS score yet EPSS 0.22%

Published 23 Oct 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-98992

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98992 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.37% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, before 94d05b62dc7aea236db20166e79ee002e466393a
affected from e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, before 07c6a8f004bcc58b4ccf993e6efa7b9b8b4a1b8b
affected from e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, before 31cf157298271392ab5fb0805b28d37c8d7a8057
affected from e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, before 86a2d56b1960720bf1844441c0890621e9db2f25
affected from e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, before 7e037b1fd339d865737c8accd29abcf40130a5a0
affected from e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, before b47b40c4f058418f9707454543179df240796aad
affected from e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, before 8d3527457e183cedee3003c2897314da49488311
affected from e149ed2b805fefdccf7ccdfc19eca22fdd4514ac, before 8bacbf6be959973b28b691713a872c12eae69eec
Other versions: unaffected
Linux
affected 3.19
unaffected before 3.19
unaffected from 5.10.273 up to and including 5.10.*
unaffected from 5.15.224 up to and including 5.15.*
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.113 up to and including 6.12.*
unaffected from 6.18.57 up to and including 6.18.*
unaffected from 7.2.11 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98992 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98992

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-98992
trivy image --scanners vuln IMAGE | grep CVE-2026-98992

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-98992 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.