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

namespace: check a submount for references right before unmounting it

shrink_submounts() and mark_mounts_for_expiry() first collect all the
mounts they are allowed to unmount and then unmount them.

Whether a mount is busy is decided by propagate_mount_busy() on the
tree. But unmounting the first mount changes the tree that the second
one propagates into. propagate_umount()
moves a surviving overmount off a copy it unmounts and mounts it where
the copy was mounted. If that's where the propagated copy of the second
victim is looked up the overmount becomes a candidate of the second
umount_tree(). It's childless and so trim_one() commits it without
looking at its reference count.

So a synchronous umount pulls out a busy mount that is in use somewhere
else and marks it MNT_SYNC_UMOUNT while it has users:

umount2(/tmp/plshrink/p1, 0) = 0 errno 0
cwd is (unreachable)

The same two umounts requested one after the other fail with EBUSY.
This needs a mount with MNT_SHRINKABLE, i.e., automounted submounts of
NFS, AFS and CIFS or the tracefs mount below debugfs. Bind mounts
inherit the flag.

Check each mount right before it is unmounted under the same hold of
namespace_sem and mount_lock as the umount itself. Make sure that the
algorithm stays linear.
Published: 2026-10-23
Score: 4.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Erroneous removal of busy mounts causing mount errors and potential system instability
Action: Apply Patch
AI Analysis

Impact

During the unmount process, the kernel incorrectly allows a busy submount to be detached. The first unmount changes the mount tree, so a subsequent propagation check may misinterpret the busy mount as free and remove it. This behavior can surface as EBUSY errors and may result in the removal of a mount that still has active references, potentially corrupting the filesystem state or leading to kernel instability.

Affected Systems

All Linux kernel releases that use the unmount logic described prior to the patch commit are affected. The vendor list indicates generic Linux kernels; no specific version ranges are provided, so any kernel built with the pre‑patch code is potentially vulnerable. The issue involves automounted submounts of NFS, AFS, CIFS, tracefs, and any bind mounts inheriting the MNT_SHRINKABLE flag.

Risk and Exploitability

Location: requires local privileged access to perform unmount operations, typically CAP_SYS_ADMIN. The CVSS score of 4.1 denotes moderate severity. EPSS <1% indicates low likelihood of exploitation in the wild. The vulnerability is not listed in the CISA KEV. Attackers would need to safely trigger the race condition through coordinated unmount requests on busy MNT_SHRINKABLE mounts to cause mount removal errors or instability.

Generated by OpenCVE AI on October 29, 2026 at 23:01 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the commit fixing the race condition.
  • Avoid unmounting automounted NFS, AFS, CIFS, tracefs, or bind mounts with the MNT_SHRINKABLE flag when they may be in use; defer such operations until no active references exist.
  • Restrict unmount command privilege to trusted users or enforce stricter access controls in shared environments to reduce risk of accidental incorrect unmounting.

Generated by OpenCVE AI on October 29, 2026 at 23:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 13:00:00 +0000


Thu, 29 Oct 2026 20:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-368

Thu, 29 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-826
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sat, 24 Oct 2026 01:15:00 +0000

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux

Fri, 23 Oct 2026 17:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-368

Fri, 23 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: namespace: check a submount for references right before unmounting it shrink_submounts() and mark_mounts_for_expiry() first collect all the mounts they are allowed to unmount and then unmount them. Whether a mount is busy is decided by propagate_mount_busy() on the tree. But unmounting the first mount changes the tree that the second one propagates into. propagate_umount() moves a surviving overmount off a copy it unmounts and mounts it where the copy was mounted. If that's where the propagated copy of the second victim is looked up the overmount becomes a candidate of the second umount_tree(). It's childless and so trim_one() commits it without looking at its reference count. So a synchronous umount pulls out a busy mount that is in use somewhere else and marks it MNT_SYNC_UMOUNT while it has users: umount2(/tmp/plshrink/p1, 0) = 0 errno 0 cwd is (unreachable) The same two umounts requested one after the other fail with EBUSY. This needs a mount with MNT_SHRINKABLE, i.e., automounted submounts of NFS, AFS and CIFS or the tracefs mount below debugfs. Bind mounts inherit the flag. Check each mount right before it is unmounted under the same hold of namespace_sem and mount_lock as the umount itself. Make sure that the algorithm stays linear.
Title namespace: check a submount for references right before unmounting it
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-30T12:40:44.542Z

Reserved: 2026-09-25T10:25:14.384Z

Link: CVE-2026-98990

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T13:17:20.980

Modified: 2026-10-30T13:21:34.437

Link: CVE-2026-98990

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-23T00:00:00Z

Links: CVE-2026-98990 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T23:15:05Z

Weaknesses
  • CWE-826

    Premature Release of Resource During Expected Lifetime