# CVE-2026-98978: namespace: never expire a locked mount

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

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **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.17% (percentile 4, 2026-11-26)
- **Published:** 2026-10-23T12:19:51.428Z
- **Modified:** 2026-11-23T08:17:29.627Z

## Who should check

- Anyone running Linux \>= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, \< 435ac7f12209979ae3d080c2a8a74d42ea120a0a; \>= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, \< b3af17785bec47a65c820c9e75c5bd0a81b94c80; \>= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, \< 6c8013ea84fcc51cf26aa870b61b5388c7196ed5; \>= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, \< 6b8dc3713a76346d212abab46cbfc8d7070f534c; \>= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, \< d23265a12e4991ce7aedce670c0b6b598cadb644; \>= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, \< f78ddcc872248c7aa1d7e904928441a0be4c6d5d
- Anyone running Linux 3.12

## Description

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

namespace: never expire a locked mount

Locked mounts are special. They protect the underlying files and
directories from being revealed. do\_umount() refuses to unmount locked
mounts but shrink\_submounts() doesn't.

A shrinkable mount can become locked once the owner of a user namespace
puts it beneath a locked mount with MOVE\_MOUNT\_BENEATH. The locked
property now moves to the mount at the bottom making it possible to
unmount the top mount.

So umount() of an unlocked ancestor now expires the bottom mount first
and the covered directory is revealed:

  move\_mount(c -\> x/hidden, MOVE\_MOUNT\_BENEATH) = 0
  the cover after the lock moved:  umount2(x/hidden) = 0
  the holder of the lock:          umount2(x/hidden) = EINVAL
  the root of the copy, busy:      umount2(x) = EBUSY
  reads x/hidden/secret: "covered-by-root"

So leave a locked mount alone as it dies together with its parent. A
plain umount() of an unlocked mount with a locked one below it is EBUSY
from now on. It's the same for any other locked child. A lazy umount
still takes the whole tree.

mark\_mounts\_for\_expiry() never sees a locked mount. lock\_mnt\_tree()
leaves a mount on an expiry list alone and nothing else puts a locked
one on such a list. Add an assert for this.

## Affected and fixed versions

- Linux: \>= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, \< 435ac7f12209979ae3d080c2a8a74d42ea120a0a; \>= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, \< b3af17785bec47a65c820c9e75c5bd0a81b94c80; \>= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, \< 6c8013ea84fcc51cf26aa870b61b5388c7196ed5; \>= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, \< 6b8dc3713a76346d212abab46cbfc8d7070f534c; \>= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, \< d23265a12e4991ce7aedce670c0b6b598cadb644; \>= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, \< f78ddcc872248c7aa1d7e904928441a0be4c6d5d (cvelist)
- Linux: 3.12 (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-98978. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98978.md
Affected: Linux >= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, < 435ac7f12209979ae3d080c2a8a74d42ea120a0a; >= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, < b3af17785bec47a65c820c9e75c5bd0a81b94c80; >= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, < 6c8013ea84fcc51cf26aa870b61b5388c7196ed5; >= 5ff9d8a65ce80efb509ce4e…
Fixed in: Linux 435ac7f12209979ae3d080c2a8a74d42ea120a0a, Linux 6c8013ea84fcc51cf26aa870b61b5388c7196ed5, Linux 6b8dc3713a76346d212abab46cbfc8d7070f534c

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

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

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

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

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

Linux \>= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, \< 435ac7f12209979ae3d080c2a8a74d42ea120a0a; \>= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, \< b3af17785bec47a65c820c9e75c5bd0a81b94c80; \>= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, \< 6c8013ea84fcc51cf26aa870b61b5388c7196ed5; \>= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, \< 6b8dc3713a76346d212abab46cbfc8d7070f534c; \>= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, \< d23265a12e4991ce7aedce670c0b6b598cadb644; \>= 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, \< f78ddcc872248c7aa1d7e904928441a0be4c6d5d; Linux 3.12.

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

Yes. Fixed in Linux 435ac7f12209979ae3d080c2a8a74d42ea120a0a, Linux 6c8013ea84fcc51cf26aa870b61b5388c7196ed5, Linux 6b8dc3713a76346d212abab46cbfc8d7070f534c. No fix listed yet: follow the vendor advisory.

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

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/435ac7f12209979ae3d080c2a8a74d42ea120a0a>
- other: <https://git.kernel.org/stable/c/b3af17785bec47a65c820c9e75c5bd0a81b94c80>
- other: <https://git.kernel.org/stable/c/6c8013ea84fcc51cf26aa870b61b5388c7196ed5>
- other: <https://git.kernel.org/stable/c/6b8dc3713a76346d212abab46cbfc8d7070f534c>
- other: <https://git.kernel.org/stable/c/d23265a12e4991ce7aedce670c0b6b598cadb644>
- other: <https://git.kernel.org/stable/c/f78ddcc872248c7aa1d7e904928441a0be4c6d5d>

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

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