Skip to main content
Network Thinking Solutions Logo

CVE-2026-98993

Linux kernel: namespace: don't inherit MNT_UMOUNT in clone_mnt()

All CVEs
CVE-2026-98993Published 10/23/2026

Linux kernel: namespace: don't inherit MNT_UMOUNT in clone_mnt()

Vendor advisory
CVSS7.8High

Overview

In the Linux kernel, the following vulnerability has been resolved: namespace: don't inherit MNT_UMOUNT in clone_mnt() MNT_UMOUNT gets raised on a mount that umount_tree() or umount_one() has taken out of its namespace. It's never cleared. __detach_mounts() unhooks a mount that carries it instead of unmounting it. disconnect_mount() lets an unmounted child stay attached only if its parent carries it. propagate_umount() takes it as the sign that a mount is going to be unmounted when it decides what else can be unmounted, where a chain of locked mounts ends and where a for reparenting an overmount. clone_mnt() copies the flags of the source and only masks MNT_INTERNAL_FLAGS which doesn't include MNT_UMOUNT. A mount that was lazily unmounted but is kept alive by a file descriptor can still be copied when its root is an nsfs or pidfs file because may_copy_tree() accepts those before checking whether the source is mounted at all: mount --bind /proc/self/ns/net /tmp/x exec 3< /tmp/x umount -l /tmp/x mount --bind /proc/self/fd/3 /tmp/y The mount on /tmp/y is attached to the caller's namespace with MNT_UMOUNT already set and every copy of it inherits the flag again. That causes a number of bugs: - Unlink its mountpoint from a mount namespace where it isn't one. __detach_mounts() takes it for a mount that was unmounted earlier, unhooks it from its parent and drops the reference the namespace holds on it. It stays in the namespace with one reference too few and as its own parent, so it can't be unmounted through the file descriptor anymore and the namespace never finds it again. When the namespace goes away it's leaked and points to a freed struct mnt_namespace that may_change_propagation() and anon_ns_root() read on the next propagation change or mount_setattr() through the file descriptor. - Make it shared and unmount a peer. trace_transfers() follows the flag from the peer into it and strips it from its peer group. - Let a propagated umount reach it. gather_candidates() marks it with T_UMOUNT_CANDIDATE but never puts it on the candidate list, so the mark is never cleared and every later propagated umount skips it. If it's the parent of a locked mount handle_locked() takes it as the cutoff and commits the locked child that should have stayed and disconnect_mount() leaves that child attached to it, unmounted under a mounted parent, which is what disconnect_mount() exists to prevent. When the namespace goes away umount_tree() visits the child a second time. And once __detach_mounts() has made it its own parent reparent() never finds the end of the chain of unmounted parents. A clone is a new mount that has never been unmounted. Add MNT_UMOUNT to MNT_INTERNAL_FLAGS so clone_mnt() never copies it. And warn when umount_tree() reaches a mount that already has it set.

Published
10/23/2026
Last modified
10/30/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Linux
Linux
≥ 590ce4bcbfb4e0462a720a4ad901e84416080bba, < b201d59d047a5e05728c10864a56bdb67950d0b1

Verify advisory

Source
Linux
Linux
≥ 590ce4bcbfb4e0462a720a4ad901e84416080bba, < de098fb4594f8724fa286f08c7f42837bc19b478

Verify advisory

Source
Linux
Linux
≥ 590ce4bcbfb4e0462a720a4ad901e84416080bba, < fc1f3a476c35164c1beed7090fc0e630f52d778e

Verify advisory

Source
Linux
Linux
≥ 590ce4bcbfb4e0462a720a4ad901e84416080bba, < 99698cfa34e493fc091219056aae446fe9442a96

Verify advisory

Source
Linux
Linux
≥ 590ce4bcbfb4e0462a720a4ad901e84416080bba, < c26c1a91ad2881a194f7af543e0b57f0870006b2

Verify advisory

Source
Linux
Linux
≥ 590ce4bcbfb4e0462a720a4ad901e84416080bba, < eecc9cd0fc07dba3f7fb0b2f844b4029435a2f7b

Verify advisory

Source
Linux
Linux
≥ 590ce4bcbfb4e0462a720a4ad901e84416080bba, < 5077b52e9e4d72da53c50251296b99cd416765a1

Verify advisory

Source
Linux
Linux
≥ 590ce4bcbfb4e0462a720a4ad901e84416080bba, < e2c6d326216642011da318b9edfd5d57ebd5a56f

Verify advisory

Source
Linux
Linux
7052e71b2d085f76800115d4a212dcaf82b86262

Verify advisory

Source
Linux
Linux
≥ 4.0.2, < 4.1

Verify advisory

Source
Linux
Linux
4.1

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.