CVE-2026-98987

namespace: look at the topmost mount for a mount namespace file

No CVSS score yet EPSS 0.21%

Published 23 Oct 2026 Updated 23 Oct 2026 CNA: Linux

Check your servers for CVE-2026-98987

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-98987 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: look at the topmost mount for a mount namespace file

attach_recursive_mnt() preallocates a mountpoint for the root of the topmost mount of the source so that a mount that already sits at the destination can be put on top of the source or on top of one of its propagated copies.

The copies are made without CL_COPY_MNT_NS_FILE so their chain of overmounts is shorter than the source's. It ends below the first bind mount of a mount namespace file. So while the loop walks up the chain of the source it remembers the mountpoint of that mount in "shorter" and the existing mount is put there for the copies.

But the loop ends at the topmost mount without ever looking at it. If the topmost mount is the only mount namespace file in the chain "shorter" stays NULL and mnt_change_mountpoint() attaches the existing mount of the copy below the root of the mount namespace file. That's a dentry of nsfs. No path walk in the copy's mount namespace ever gets there. The mount is gone until its parent goes and the copy that took its place can't be unmounted synchronously because it has a child:

S bind mount of a file N bind mount of a mount namespace file on top of S A shared mount, B a slave of A, Q mounted on B/file

move_mount(S, A/file) cat B/file -> the content of S instead of Q umount B/file -> EBUSY

Look at every mount of the chain including the topmost one.

Exploitation

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

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 96f5d2e051653f2cfe9137c5d3c7794c358ffb03, before b9c40553f6ceba50042281eef6f701e5fb719726
affected from 96f5d2e051653f2cfe9137c5d3c7794c358ffb03, before 87ecd4c6da146363384a603bd9e90c90e7275536
affected from 96f5d2e051653f2cfe9137c5d3c7794c358ffb03, before 8714b44adac7b10506e1db3ef1710689751f0f10
Other versions: unaffected
Linux
affected 6.17
unaffected before 6.17
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-98987 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98987

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-98987
trivy image --scanners vuln IMAGE | grep CVE-2026-98987

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