# CVE-2026-98994: statmount: read the parent of an unmounted mount under mount\_lock

> 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.20% (percentile 5, 2026-11-28)
- **Published:** 2026-10-23T12:20:13.244Z
- **Modified:** 2026-10-23T13:17:21.550Z

## Who should check

- Anyone running Linux \>= 0e5032237ee5530147fbdf33134297e1490d5ec3, \< 98fc6c7b6ca676157d2c780bd0a537b2c10fe08f; \>= 0e5032237ee5530147fbdf33134297e1490d5ec3, \< bb46094057520304073130920c223451c2a694a7
- Anyone running Linux 7.0

## Description

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

statmount: read the parent of an unmounted mount under mount\_lock

statmount\_mnt\_basic() reads the ids of the parent through m-\>mnt\_parent
with namespace\_sem held for reading. That's fine for a mount that is
in a namespace. Everything above it is pinned by that namespace.

STATMOUNT\_BY\_FD also accepts a file descriptor on a mount that has
been unmounted on purpose and that only the file descriptor keeps alive.
If that mount stayed attached to its parent when it was unmounted the
parent is unmounted as well and nothing pins it for the child.

The final mntput() unmounts the children under mount\_lock alone and
frees the parent afterwards. Concurrently, statmount\_mnt\_basic() reads
m-\>mnt\_parent twice while that can happen and can easily dereference a
mount that's already gone.

Read the parent of an unmounted mount under mount\_lock. The parent
can't be put while it is held and both ids come from the same mount. A
mounted mount's parent is pinned by the namespace and a mount can't
leave its namespace while namespace\_sem is held, so the common case
takes no global lock.

## Affected and fixed versions

- Linux: \>= 0e5032237ee5530147fbdf33134297e1490d5ec3, \< 98fc6c7b6ca676157d2c780bd0a537b2c10fe08f; \>= 0e5032237ee5530147fbdf33134297e1490d5ec3, \< bb46094057520304073130920c223451c2a694a7 (cvelist)
- Linux: 7.0 (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-98994. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98994.md
Affected: Linux >= 0e5032237ee5530147fbdf33134297e1490d5ec3, < 98fc6c7b6ca676157d2c780bd0a537b2c10fe08f; >= 0e5032237ee5530147fbdf33134297e1490d5ec3, < bb46094057520304073130920c223451c2a694a7; Linux 7.0
Fixed in: Linux 98fc6c7b6ca676157d2c780bd0a537b2c10fe08f

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 0e5032237ee5530147fbdf33134297e1490d5ec3, \< 98fc6c7b6ca676157d2c780bd0a537b2c10fe08f; \>= 0e5032237ee5530147fbdf33134297e1490d5ec3, \< bb46094057520304073130920c223451c2a694a7; Linux 7.0.

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

Yes. Fixed in Linux 98fc6c7b6ca676157d2c780bd0a537b2c10fe08f. No fix listed yet: follow the vendor advisory.

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

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/98fc6c7b6ca676157d2c780bd0a537b2c10fe08f>
- other: <https://git.kernel.org/stable/c/bb46094057520304073130920c223451c2a694a7>

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

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