CVE-2026-98988·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: namespace: keep covered mounts covered in OPEN_TREE_NAMESPACE open_tree(OPEN_TREE_NAMESPACE) creates a new mount namespace from a copy of the tree at the given path. The caller needs to be privileged over its current user namespace because the new mount namespace will be owned by it. It doesn't need to be privileged over the mount namespace the tree is copied from. An unprivileged user just needs to create a user namespace first. The copy follows the rules of a detached bind mount. Without AT_RECURSIVE only the mount itself is cloned and its children are left out. With AT_RECURSIVE unbindable mounts are skipped. Both is fine when the caller has privileges over the source mount namespace because it could unmount those mounts anyway. Not so for an unprivileged user in that mount namespace. For them a mount namespace copy is what unshare() does. copy_mnt_ns() copies everything including unbindable mounts and lock_mnt_tree() makes sure nothing can be unmounted in the copy. Nothing that was covered gets revealed. create_new_namespace() only does the locking and so the covered content is right there in the new mount namespace: # mount -t tmpfs none /tmp/otn; mkdir /tmp/otn/covered # echo hidden > /tmp/otn/covered/under.txt # mount -t tmpfs none /tmp/otn/covered uid 1000, after unshare(CLONE_NEWUSER): fd = open_tree(AT_FDCWD, "/tmp/otn", OPEN_TREE_NAMESPACE); setns(fd, CLONE_NEWNS); open("/covered/under.txt", O_RDONLY) -> "hidden" Covering paths with mounts is how container runtimes mask parts of /proc and /sys and how admins hide things. When the caller's user namespace doesn't own the source mount namespace copy the way unshare() does and refuse a non-recursive copy of a mount that has anything mounted below the requested directory and copy unbindable mounts in a recursive copy. A caller that is privileged over the source mount namespace sees no change.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.2.11, 7.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.16% — higher than 6% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-98988 scores 8.8 on CVSS, so a successful attack would be serious — but at 0.16%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
How to fix this CVE
Update your Linux kernel to version 7.2.11 (stable branch) or 7.3+ (mainline) to remediate CVE-2026-98988, which allows unprivileged users to access mount namespace contents that should remain hidden. Most users should apply their distribution's patched kernel package rather than upgrading to mainline. After patching, reboot the system to load the fixed kernel.
sudo dnf check-update kernel && sudo dnf upgrade kernelDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r
- Compare against fixed versions: kernel 7.2.11+ (stable) or 7.3+ (mainline); if your version is earlier, you are vulnerable
- Verify CLONE_NEWNS and open_tree() are used in your workloads: grep -r 'open_tree\|CLONE_NEWNS' /proc/*/cmdline or container runtime logs
- After patching, confirm the new kernel is loaded: uname -r should show the updated version; reboot if not yet active
FAQ
What is CVE-2026-98988?
A privilege boundary violation in the Linux kernel's mount namespace handling where unprivileged users can access mount points that container runtimes and administrators intended to hide by using open_tree(OPEN_TREE_NAMESPACE) to copy a mount tree without proper restrictions on covered mounts.
Is CVE-2026-98988 being actively exploited?
No, CVE-2026-98988 is not listed on the CISA KEV catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2026-98988?
All kernel versions prior to 7.2.11 (stable branch) and 7.3 (mainline) are affected; users should upgrade to at least the patched stable release matching their current kernel series.
How do I check if my server is vulnerable to CVE-2026-98988?
Run 'uname -r' to get your kernel version; compare against the fixed versions (7.2.11+, 7.3+). If your version is older, you are vulnerable.
Does Defensia detect CVE-2026-98988?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-98988 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98988. Free for 1 server.
Get started free