CVE-2026-98978
namespace: never expire a locked mount
Check your servers for CVE-2026-98978
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98978 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.88% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, before 435ac7f12209979ae3d080c2a8a74d42ea120a0a affected from 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, before b3af17785bec47a65c820c9e75c5bd0a81b94c80 affected from 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, before 6c8013ea84fcc51cf26aa870b61b5388c7196ed5 affected from 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, before 6b8dc3713a76346d212abab46cbfc8d7070f534c affected from 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, before d23265a12e4991ce7aedce670c0b6b598cadb644 affected from 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942, before f78ddcc872248c7aa1d7e904928441a0be4c6d5d
Other versions: unaffected
|
| Linux |
affected 3.12 unaffected before 3.12 unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.57 up to and including 6.18.* unaffected from 7.2.11 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98978 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98978
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98978
trivy image --scanners vuln IMAGE | grep CVE-2026-98978
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/435ac7f12209979ae3d080c2a8a74d42ea120a0a git.kernel.org
- https://git.kernel.org/stable/c/b3af17785bec47a65c820c9e75c5bd0a81b94c80 git.kernel.org
- https://git.kernel.org/stable/c/6c8013ea84fcc51cf26aa870b61b5388c7196ed5 git.kernel.org
- https://git.kernel.org/stable/c/6b8dc3713a76346d212abab46cbfc8d7070f534c git.kernel.org
- https://git.kernel.org/stable/c/d23265a12e4991ce7aedce670c0b6b598cadb644 git.kernel.org
- https://git.kernel.org/stable/c/f78ddcc872248c7aa1d7e904928441a0be4c6d5d git.kernel.org
Source: the record CVE-2026-98978 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse