# CVE-2026-98979: namespace: refuse an automount below a mount that is in no namespace

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-28)
- **Published:** 2026-10-23T12:19:52.523Z
- **Modified:** 2026-10-30T13:21:33.867Z

## Who should check

- Anyone running Linux \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< d8c7f74adf5de78035d41aa33c8f71e12b3ca430; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< c88546071d30417ab9e55821c83f4dc7756cff6f; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< c98e74d73a3356ab00fc6bb9dec3c77da1ec1ce4; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< 95fb7c259b86f5521f04973040ad492f2bef6f82; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< 35f2013f83ef16f9f0331c4c3a8e8d161580d574; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< 494c57572d2d5bc2839553ed41aabe92ed0f587c; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< 776e20e4fdc23c23687b511ffdc80047878049d3; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< ba985ce08471c555af2a2fbe217c1bc2e72a6d8c
- Anyone running Linux 5.8

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

## Affected and fixed versions

- Linux: \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< d8c7f74adf5de78035d41aa33c8f71e12b3ca430; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< c88546071d30417ab9e55821c83f4dc7756cff6f; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< c98e74d73a3356ab00fc6bb9dec3c77da1ec1ce4; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< 95fb7c259b86f5521f04973040ad492f2bef6f82; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< 35f2013f83ef16f9f0331c4c3a8e8d161580d574; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< 494c57572d2d5bc2839553ed41aabe92ed0f587c; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< 776e20e4fdc23c23687b511ffdc80047878049d3; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< ba985ce08471c555af2a2fbe217c1bc2e72a6d8c (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98979. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98979.md
Affected: Linux >= df820f8de4e481222b17f9bcee7b909ae8167529, < d8c7f74adf5de78035d41aa33c8f71e12b3ca430; >= df820f8de4e481222b17f9bcee7b909ae8167529, < c88546071d30417ab9e55821c83f4dc7756cff6f; >= df820f8de4e481222b17f9bcee7b909ae8167529, < c98e74d73a3356ab00fc6bb9dec3c77da1ec1ce4; >= df820f8de4e481222b17f9b…
Fixed in: Linux 95fb7c259b86f5521f04973040ad492f2bef6f82, Linux 35f2013f83ef16f9f0331c4c3a8e8d161580d574, Linux 494c57572d2d5bc2839553ed41aabe92ed0f587c, Linux 776e20e4fdc23c23687b511ffdc80047878049d3

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

## FAQ

### Is CVE-2026-98979 being exploited?

There is no confirmed exploitation: CVE-2026-98979 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-98979?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98979?

Linux \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< d8c7f74adf5de78035d41aa33c8f71e12b3ca430; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< c88546071d30417ab9e55821c83f4dc7756cff6f; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< c98e74d73a3356ab00fc6bb9dec3c77da1ec1ce4; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< 95fb7c259b86f5521f04973040ad492f2bef6f82; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< 35f2013f83ef16f9f0331c4c3a8e8d161580d574; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< 494c57572d2d5bc2839553ed41aabe92ed0f587c; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< 776e20e4fdc23c23687b511ffdc80047878049d3; \>= df820f8de4e481222b17f9bcee7b909ae8167529, \< ba985ce08471c555af2a2fbe217c1bc2e72a6d8c; Linux 5.8.

### Is there a fix for CVE-2026-98979?

Yes. Fixed in Linux 95fb7c259b86f5521f04973040ad492f2bef6f82, Linux 35f2013f83ef16f9f0331c4c3a8e8d161580d574, Linux 494c57572d2d5bc2839553ed41aabe92ed0f587c, Linux 776e20e4fdc23c23687b511ffdc80047878049d3. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-98979?

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.

## References

- other: <https://git.kernel.org/stable/c/d8c7f74adf5de78035d41aa33c8f71e12b3ca430>
- other: <https://git.kernel.org/stable/c/c88546071d30417ab9e55821c83f4dc7756cff6f>
- other: <https://git.kernel.org/stable/c/c98e74d73a3356ab00fc6bb9dec3c77da1ec1ce4>
- other: <https://git.kernel.org/stable/c/95fb7c259b86f5521f04973040ad492f2bef6f82>
- other: <https://git.kernel.org/stable/c/35f2013f83ef16f9f0331c4c3a8e8d161580d574>
- other: <https://git.kernel.org/stable/c/494c57572d2d5bc2839553ed41aabe92ed0f587c>
- other: <https://git.kernel.org/stable/c/776e20e4fdc23c23687b511ffdc80047878049d3>
- other: <https://git.kernel.org/stable/c/ba985ce08471c555af2a2fbe217c1bc2e72a6d8c>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98979>

HTML: <https://flawdb.com/CVE-2026-98979> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98979>
