# CVE-2026-98982: namespace: don't let a pseudo dentry become the root of a mount

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-10-23T12:19:59.784Z
- **Modified:** 2026-10-24T14:16:50.850Z

## Who should check

- Anyone running Linux \>= 35f96de04127d332a5c5e8a155d31f452f88c76d, \< a256e31e0c54c4c37d2523aa52faabdcdd2ebc07; \>= 35f96de04127d332a5c5e8a155d31f452f88c76d, \< 7e1c466011ba9e64d43075396badc03191bcee44; \>= 35f96de04127d332a5c5e8a155d31f452f88c76d, \< 00287afa7cd989efdbf5822b7efac33cce7d489a; \>= 35f96de04127d332a5c5e8a155d31f452f88c76d, \< b138e16fb1e81376cea89f727dda7bfccd140de4
- Anyone running Linux 6.9

## Description

In the Linux kernel, the following vulnerability has been resolved:

namespace: don't let a pseudo dentry become the root of a mount

d\_alloc\_pseudo() hands out dentries for pipes, sockets and other files
that are never anyone's child or parent. They carry DCACHE\_NORCU and
dentry\_free() frees them right away because no lockless path walk can
ever reach them. That holds as long as such a dentry isn't the root of
a mount. But bind mounting /proc/self/fd/\<fd\> of such a file does
exactly that.

Most callers of alloc\_file\_pseudo() put their files on kernel-internal
mounts and may\_copy\_tree() refuses those. bpf\_token\_create() doesn't. It
places the token file on the bpffs mount the caller handed it and that
mount is in the caller's mount namespace so the clone goes through:

  mount --bind /proc/self/fd/\<token\> \<file\>
  open\_tree(tokfd, "", AT\_EMPTY\_PATH \| OPEN\_TREE\_CLONE) + move\_mount()

\_\_follow\_mount\_rcu() then loads -\>mnt\_root of that mount, reads d\_seq
and d\_flags of the dentry and only then checks mount\_lock. The dentry
can be gone by then. The final mntput() of an unmounted parent unhooks
a child that stayed attached to it under mount\_lock alone. When the
child's holder does the final put right after that the root is dput()
and freed immediately while a walker that found the mount hashed still
looks at it.

Refuse to clone a mount with a DCACHE\_NORCU dentry as its root. Nothing
sensible can be done with a bind mount of a bpf token anyway.

## Affected and fixed versions

- Linux: \>= 35f96de04127d332a5c5e8a155d31f452f88c76d, \< a256e31e0c54c4c37d2523aa52faabdcdd2ebc07; \>= 35f96de04127d332a5c5e8a155d31f452f88c76d, \< 7e1c466011ba9e64d43075396badc03191bcee44; \>= 35f96de04127d332a5c5e8a155d31f452f88c76d, \< 00287afa7cd989efdbf5822b7efac33cce7d489a; \>= 35f96de04127d332a5c5e8a155d31f452f88c76d, \< b138e16fb1e81376cea89f727dda7bfccd140de4 (cvelist)
- Linux: 6.9 (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-98982. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98982.md
Affected: Linux >= 35f96de04127d332a5c5e8a155d31f452f88c76d, < a256e31e0c54c4c37d2523aa52faabdcdd2ebc07; >= 35f96de04127d332a5c5e8a155d31f452f88c76d, < 7e1c466011ba9e64d43075396badc03191bcee44; >= 35f96de04127d332a5c5e8a155d31f452f88c76d, < 00287afa7cd989efdbf5822b7efac33cce7d489a; >= 35f96de04127d332a5c5e8a…
Fixed in: Linux 7e1c466011ba9e64d43075396badc03191bcee44, Linux 00287afa7cd989efdbf5822b7efac33cce7d489a

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-98982 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 35f96de04127d332a5c5e8a155d31f452f88c76d, \< a256e31e0c54c4c37d2523aa52faabdcdd2ebc07; \>= 35f96de04127d332a5c5e8a155d31f452f88c76d, \< 7e1c466011ba9e64d43075396badc03191bcee44; \>= 35f96de04127d332a5c5e8a155d31f452f88c76d, \< 00287afa7cd989efdbf5822b7efac33cce7d489a; \>= 35f96de04127d332a5c5e8a155d31f452f88c76d, \< b138e16fb1e81376cea89f727dda7bfccd140de4; Linux 6.9.

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

Yes. Fixed in Linux 7e1c466011ba9e64d43075396badc03191bcee44, Linux 00287afa7cd989efdbf5822b7efac33cce7d489a. No fix listed yet: follow the vendor advisory.

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

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/a256e31e0c54c4c37d2523aa52faabdcdd2ebc07>
- other: <https://git.kernel.org/stable/c/7e1c466011ba9e64d43075396badc03191bcee44>
- other: <https://git.kernel.org/stable/c/00287afa7cd989efdbf5822b7efac33cce7d489a>
- other: <https://git.kernel.org/stable/c/b138e16fb1e81376cea89f727dda7bfccd140de4>

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

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