CVE-2026-98979
Last modified
CVE-2026-98979 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: namespace: refuse an automount below a mount that is in no namespace It's possible to add autmounts even when the parent mount isn't in the mount namespace of the caller. The only requirement we have is that the parent mount namespace must not be NULL, i.e., unmounted. Problem is that clone_private_mount() has MNT_NS_INTERNAL which makes that trivially true. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: namespace: refuse an automount below a mount that is in no namespace It's possible to add autmounts even when the parent mount isn't in the mount namespace of the caller. The only requirement we have is that the parent mount namespace must not be NULL, i.e., unmounted. Problem is that clone_private_mount() has MNT_NS_INTERNAL which makes that trivially true. So that passes the test and attach_recursive_mnt() accepts that as a mount point and funny enough, count_mounts() dereferences MNT_NS_INTERNAL. The problem is it is an error pointer... So we can reach this in userspace via fanotify. A filesystem mark on the lower filesystem of an overlay reports paths on the layer clone and reading the event hands out a descriptor on it. For example with debugfs as the lower layer it goes kaboom: openat(evfd, "tracing", O_DIRECTORY) Oops: general protection fault KASAN: null-ptr-deref in range [0x1d0-0x1d7] RIP: 0010:count_mounts+0x35/0x200 attach_recursive_mnt finish_automount And since that sleeping beauty happens under namespace_sem held for writing every mount operation on the system blocks from then on. Congrats. Use is_mounted() instead which rejects unmounted and internal mounts alike. The open fails with EINVAL just as it did before clone_private_mount() used MNT_NS_INTERNAL.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= df820f8de4e481222b17f9bcee7b909ae8167529, < d8c7f74adf5de78035d41aa33c8f71e12b3ca430; >= df820f8de4e481222b17f9bcee7b909ae8167529, < c88546071d30417ab9e55821c83f4dc7756cff6f; >= df820f8de4e481222b17f9bcee7b909ae8167529, < c98e74d73a3356ab00fc6bb9dec3c77da1ec1ce4; >= df820f8de4e481222b17f9bcee7b909ae8167529, < 95fb7c259b86f5521f04973040ad492f2bef6f82; >= df820f8de4e481222b17f9bcee7b909ae8167529, < 35f2013f83ef16f9f0331c4c3a8e8d161580d574; >= df820f8de4e481222b17f9bcee7b909ae8167529, < 494c57572d2d5bc2839553ed41aabe92ed0f587c; >= df820f8de4e481222b17f9bcee7b909ae8167529, < 776e20e4fdc23c23687b511ffdc80047878049d3; >= df820f8de4e481222b17f9bcee7b909ae8167529, < ba985ce08471c555af2a2fbe217c1bc2e72a6d8c |
| Linux | Linux | 5.8 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-98979?
How severe is CVE-2026-98979?
How do I fix CVE-2026-98979?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-98973In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98974In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-98975In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-98976In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-98977In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98978In the Linux kernel, the following vulnerability has been re…8.4
- CVE-2026-9898Insufficient validation of untrusted input in GPU in Google …8.3
- CVE-2026-98980In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-98981In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-98982In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-98983In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98984In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-98979?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
