# CVE-2026-98984: dcache: don't put a mountpoint on a dentry that's being removed

> 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-26)
- **Published:** 2026-10-23T12:20:02.285Z
- **Modified:** 2026-10-30T13:21:34.167Z

## Who should check

- Anyone running Linux \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 25e3ce3e2ebdd8ed3fc19dc1f7e3bc487f9240f3; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 982d231ad863bb14f7bda4852ab942c0203cec4b; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 96ca40461d8b91e13061ec4afb59bae6f07a516a; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 5e6bfd9f249f2c74bb63c0f06ad959da3bee0971; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 793cb67b0f52d00c67bd0e76bc57455b5c70ebb8; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 390ddcea2a8aca411b931a8e2863a80ccca8d2b3; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 30a1625022411a387cce9239408ece9955bc9c58; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 75f4197f1e11d2eb75c2d6f916a7d4764db621e5; 5e6ef5ef6eaf690faad3a7c6c665ebf45d7b6ccf; 839d42687dfce0ed0ea2c6bd8d707cc0e276fbe7; …
- Anyone running Linux 4.11

## Description

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

dcache: don't put a mountpoint on a dentry that's being removed

rmdir(), unlink() and rename() call dont\_mount() on the victim and then
detach\_mounts() with the victim's inode locked. do\_lock\_mount() takes
the inode lock of the mountpoint and checks cant\_mount() so a mount
can't show up after detach\_mounts().

But attach\_recursive\_mnt() makes a second mountpoint for the root of the
source mount so that the mounts already located at the destination can
be put on top of it. No inode is locked for that one and d\_set\_mounted()
only refuses a dentry that is unlinked. Between detach\_mounts() and
d\_delete() the victim is still hashed:

  rmrace: b passed dont\_mount() and detach\_mounts(), sleeping
  T2: move\_mount(S, /tmp/plcant/x, BENEATH) = 0 errno 0 ()
  T1: rmdir(/tmp/plcant/d/b) = 0 errno 0
      109 107 0:61 /d/b//deleted /tmp/plcant/x rw,relatime - tmpfs tmpfs rw
      108 109 0:63 / /tmp/plcant/x rw,relatime - tmpfs T rw

A bind mount of the directory that's being removed is moved beneath an
existing mount while the rmdir() is located between the two calls. The
mount ends up on the removed directory and nothing will ever detach it.

Check cant\_mount() in d\_set\_mounted() as well. dont\_mount() raises the
flag under d\_lock before detach\_mounts() runs so either the mountpoint
is set first and detach\_mounts() finds the mount or the flag is seen and
the mount is refused.

## Affected and fixed versions

- Linux: \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 25e3ce3e2ebdd8ed3fc19dc1f7e3bc487f9240f3; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 982d231ad863bb14f7bda4852ab942c0203cec4b; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 96ca40461d8b91e13061ec4afb59bae6f07a516a; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 5e6bfd9f249f2c74bb63c0f06ad959da3bee0971; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 793cb67b0f52d00c67bd0e76bc57455b5c70ebb8; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 390ddcea2a8aca411b931a8e2863a80ccca8d2b3; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 30a1625022411a387cce9239408ece9955bc9c58; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 75f4197f1e11d2eb75c2d6f916a7d4764db621e5; 5e6ef5ef6eaf690faad3a7c6c665ebf45d7b6ccf; 839d42687dfce0ed0ea2c6bd8d707cc0e276fbe7; … (cvelist)
- Linux: 4.11 (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-98984. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98984.md
Affected: Linux >= 1064f874abc0d05eeed8993815f584d847b72486, < 25e3ce3e2ebdd8ed3fc19dc1f7e3bc487f9240f3; >= 1064f874abc0d05eeed8993815f584d847b72486, < 982d231ad863bb14f7bda4852ab942c0203cec4b; >= 1064f874abc0d05eeed8993815f584d847b72486, < 96ca40461d8b91e13061ec4afb59bae6f07a516a; >= 1064f874abc0d05eeed8993…
Fixed in: Linux 25e3ce3e2ebdd8ed3fc19dc1f7e3bc487f9240f3, Linux 982d231ad863bb14f7bda4852ab942c0203cec4b, Linux 96ca40461d8b91e13061ec4afb59bae6f07a516a, Linux 5e6bfd9f249f2c74bb63c0f06ad959da3bee0971, Linux 793cb67b0f52d00c67bd0e76bc57455b5c70ebb8, Linux 390ddcea2a8aca411b931a8e2863a80ccca8d2b3, Linux 30a16…

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

There is no confirmed exploitation: CVE-2026-98984 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-26).

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

It has no CVSS score yet. Unknown.

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

Linux \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 25e3ce3e2ebdd8ed3fc19dc1f7e3bc487f9240f3; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 982d231ad863bb14f7bda4852ab942c0203cec4b; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 96ca40461d8b91e13061ec4afb59bae6f07a516a; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 5e6bfd9f249f2c74bb63c0f06ad959da3bee0971; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 793cb67b0f52d00c67bd0e76bc57455b5c70ebb8; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 390ddcea2a8aca411b931a8e2863a80ccca8d2b3; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 30a1625022411a387cce9239408ece9955bc9c58; \>= 1064f874abc0d05eeed8993815f584d847b72486, \< 75f4197f1e11d2eb75c2d6f916a7d4764db621e5; 5e6ef5ef6eaf690faad3a7c6c665ebf45d7b6ccf; 839d42687dfce0ed0ea2c6bd8d707cc0e276fbe7; …; Linux 4.11.

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

Yes. Fixed in Linux 25e3ce3e2ebdd8ed3fc19dc1f7e3bc487f9240f3, Linux 982d231ad863bb14f7bda4852ab942c0203cec4b, Linux 96ca40461d8b91e13061ec4afb59bae6f07a516a, Linux 5e6bfd9f249f2c74bb63c0f06ad959da3bee0971, Linux 793cb67b0f52d00c67bd0e76bc57455b5c70ebb8, Linux 390ddcea2a8aca411b931a8e2863a80ccca8d2b3, Linux 30a1625022411a387cce9239408ece9955bc9c58, Linux 75f4197f1e11d2eb75c2d6f916a7d4764db621e5. No fix listed yet: follow the vendor advisory.

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

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/25e3ce3e2ebdd8ed3fc19dc1f7e3bc487f9240f3>
- other: <https://git.kernel.org/stable/c/982d231ad863bb14f7bda4852ab942c0203cec4b>
- other: <https://git.kernel.org/stable/c/96ca40461d8b91e13061ec4afb59bae6f07a516a>
- other: <https://git.kernel.org/stable/c/5e6bfd9f249f2c74bb63c0f06ad959da3bee0971>
- other: <https://git.kernel.org/stable/c/793cb67b0f52d00c67bd0e76bc57455b5c70ebb8>
- other: <https://git.kernel.org/stable/c/390ddcea2a8aca411b931a8e2863a80ccca8d2b3>
- other: <https://git.kernel.org/stable/c/30a1625022411a387cce9239408ece9955bc9c58>
- other: <https://git.kernel.org/stable/c/75f4197f1e11d2eb75c2d6f916a7d4764db621e5>

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

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