CVE-2026-98985 json
namespace: check the mounts before reading their parents in pivot_root()
published 19d ago modified 12d ago also EUVD-2026-108779
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 7%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
namespace: check the mounts before reading their parents in pivot_root()
path_pivot_root() reads the parents of new_root and of the caller's root and checks whether they are shared before it checks that either mount is in the caller's mount namespace. Only namespace_sem is held. That's fine for a mount that is in the caller's mount namespace.
But new_root can be a file descriptor to a mount that has been unmounted and that only the file descriptor keeps alive. If that mount stayed attached to its parent when it was unmounted nothing pins the parent for it. The final mntput() of the parent unhooks the children under mount_lock alone and frees the parent afterwards:
pivot_root() close(fd), last ref on the parent ------------ --------------------------------- ex_parent = new_mnt->mnt_parent mntput_no_expire_slowpath() __umount_mnt(new_mnt) cleanup_mnt() call_rcu() IS_MNT_SHARED(ex_parent)
BUG: KASAN: slab-use-after-free in path_pivot_root+0xf1a/0x1840 Read of size 4 at addr ffff8881047382f8 by task pivot_widen/157 path_pivot_root+0xf1a/0x1840 __x64_sys_pivot_root+0x165/0x190
The same goes for the caller's root via chroot(). Both outcomes of the check end in EINVAL so nothing but the read itself goes wrong. It's the same thing commit bb4609405752 ("statmount: read the parent of an unmounted mount under mount_lock") fixed for statmount().
Check that both mounts are in the caller's namespace before their parents are read. Every path returns EINVAL either way.
Patch / fix
- Linux Linux 4.1, 7.3
- linux Debian 13 6.12.115-2
- linux Debian 14 7.2.11-1
debian advisories DEBIAN-CVE-2026-98985
- linux Ubuntu 26.10 7.3.0-10.10
- linux-aws Ubuntu 26.10 7.3.0-1004.4
- linux-gcp Ubuntu 26.10 7.3.0-1004.4
- linux-raspi Ubuntu 26.10 7.3.0-1004.4
- linux-riscv Ubuntu 26.10 7.3.0-10.10.1
- linux-oracle Ubuntu 26.10 7.3.0-1004.4
- linux-realtime Ubuntu 26.10 7.3.0-10.10.1
ubuntu advisories UBUNTU-CVE-2026-98985
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel Azure Linux 3.0 6.6.161.1-1
azure linux advisories AZL-110822
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- git.kernel.org/stable/c/43fd2e2ec66e6db26b6ea3e9e7a4c1018455e1b0 commit
- git.kernel.org/stable/c/5b5f8d0895cfa9f781ce107225d578897203444f commit
- git.kernel.org/stable/c/3184a2fda996af8fcd6def36020ec023c6279015 commit
- git.kernel.org/stable/c/a56d4f8f8f4c5d9ac339d5c03a9d90eecd3697fc commit
- git.kernel.org/stable/c/3c2441e21c3df867e4131e0ff784ecdb3a7a55f8 commit
- git.kernel.org/stable/c/e3aba6900483f64e6c9eb328150dd633b7d36c1c commit
- git.kernel.org/stable/c/3dad2330c89343ba083cf7868779083fd5fbe0fe commit
- git.kernel.org/stable/c/6b7c001eb5857fa09041f47673666060a2e5fc1c commit
Is CVE-2026-98985 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-98985 updated cvss 5.5
kernel: namespace: check the mounts before reading their parents in pivot_root()
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernel Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9 Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9affected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.18% chance of exploitation in the next 30 days, higher than 7% of all scored CVEs (FIRST EPSS, 2026-11-11).
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/43fd2e2ec66e6db26b6ea3e9e7a4c1018455e1b0
- git.kernel.org /stable/c/5b5f8d0895cfa9f781ce107225d578897203444f
- git.kernel.org /stable/c/3184a2fda996af8fcd6def36020ec023c6279015
- git.kernel.org /stable/c/a56d4f8f8f4c5d9ac339d5c03a9d90eecd3697fc
- git.kernel.org /stable/c/3c2441e21c3df867e4131e0ff784ecdb3a7a55f8
- git.kernel.org /stable/c/e3aba6900483f64e6c9eb328150dd633b7d36c1c
- git.kernel.org /stable/c/3dad2330c89343ba083cf7868779083fd5fbe0fe
- git.kernel.org /stable/c/6b7c001eb5857fa09041f47673666060a2e5fc1c
Sources
- CVE List CVE-2026-98985
- NVD CVE-2026-98985
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.