CVE-2026-98987
namespace: look at the topmost mount for a mount namespace file
Mitigation
- Upgrade Linux to 8714b44adac7b10506e1db3ef1710689751f0f10 or later.
Who should check
- Anyone running Linux >= 96f5d2e051653f2cfe9137c5d3c7794c358ffb03, < b9c40553f6ceba50042281eef6f701e5fb719726; >= 96f5d2e051653f2cfe9137c5d3c7794c358ffb03, < 87ecd4c6da146363384a603bd9e90c90e7275536; >= 96f5d2e051653f2cfe9137c5d3c7794c358ffb03, < 8714b44adac7b10506e1db3ef1710689751f0f10
- Anyone running Linux 6.17
Vulnerability facts
- Affected
- Linux >= 96f5d2e051653f2cfe9137c5d3c7794c358ffb03, < b9c40553f6ceba50042281eef6f701e5fb719726; >= 96f5d2e051653f2cfe9137c5d3c7794c358ffb03, < 87ecd4c6da146363384a603bd9e90c90e7275536; >= 96f5d2e051653f2cfe9137c5d3c7794c358ffb03, < 8714b44adac7b10506e1db3ef1710689751f0f10; Linux 6.17
- Fixed in
- Linux 87ecd4c6da146363384a603bd9e90c90e7275536, Linux 8714b44adac7b10506e1db3ef1710689751f0f10
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 96f5d2e051653f2cfe9137c5d3c7794c358ffb03, < b9c40553f6ceba50042281eef6f701e5fb719726; >= 96f5d2e051653f2cfe9137c5d3c7794c358ffb03, < 87ecd4c6da146363384a603bd9e90c90e7275536; >= 96f5d2e051653f2cfe9137c5d3c7794c358ffb03, < 8714b44adac7b10506e1db3ef1710689751f0f10 | — | cvelist |
| Linux | 6.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98987. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98987.md Affected: Linux >= 96f5d2e051653f2cfe9137c5d3c7794c358ffb03, < b9c40553f6ceba50042281eef6f701e5fb719726; >= 96f5d2e051653f2cfe9137c5d3c7794c358ffb03, < 87ecd4c6da146363384a603bd9e90c90e7275536; >= 96f5d2e051653f2cfe9137c5d3c7794c358ffb03, < 8714b44adac7b10506e1db3ef1710689751f0f10; Linux 6.17 Fixed in: Linux 87ecd4c6da146363384a603bd9e90c90e7275536, Linux 8714b44adac7b10506e1db3ef1710689751f0f10 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.
References
FAQ
Is CVE-2026-98987 being exploited?
There is no confirmed exploitation: CVE-2026-98987 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98987?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98987?
Linux >= 96f5d2e051653f2cfe9137c5d3c7794c358ffb03, < b9c40553f6ceba50042281eef6f701e5fb719726; >= 96f5d2e051653f2cfe9137c5d3c7794c358ffb03, < 87ecd4c6da146363384a603bd9e90c90e7275536; >= 96f5d2e051653f2cfe9137c5d3c7794c358ffb03, < 8714b44adac7b10506e1db3ef1710689751f0f10; Linux 6.17.
Is there a fix for CVE-2026-98987?
Yes. Fixed in Linux 87ecd4c6da146363384a603bd9e90c90e7275536, Linux 8714b44adac7b10506e1db3ef1710689751f0f10. Upgrade Linux to 8714b44adac7b10506e1db3ef1710689751f0f10 or later.
How do I check if I'm affected by CVE-2026-98987?
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.