Skip to content
Heist/ feed
High

namespace: don't inherit MNT_UMOUNT in clone_mnt()

Type: advisorySource: Official CVE List1 source record

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

Announced Source revision 1
Original source ↗

CVE-2026-98993

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-98993

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "590ce4bcbfb4e0462a720a4ad901e84416080bba",
        "lessThan": "99698cfa34e493fc091219056aae446fe9442a96",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "590ce4bcbfb4e0462a720a4ad901e84416080bba",
        "lessThan": "c26c1a91ad2881a194f7af543e0b57f0870006b2",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "590ce4bcbfb4e0462a720a4ad901e84416080bba",
        "lessThan": "eecc9cd0fc07dba3f7fb0b2f844b4029435a2f7b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "590ce4bcbfb4e0462a720a4ad901e84416080bba",
        "lessThan": "5077b52e9e4d72da53c50251296b99cd416765a1",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "590ce4bcbfb4e0462a720a4ad901e84416080bba",
        "lessThan": "e2c6d326216642011da318b9edfd5d57ebd5a56f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "7052e71b2d085f76800115d4a212dcaf82b86262",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4.0.2",
        "lessThan": "4.1",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "fs/namespace.c",
      "include/linux/mount.h"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.1"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.1",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.114",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.57",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.11",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/namespace.c",
      "include/linux/mount.h"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98993

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#55724 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement