{
  "id": "CVE-2026-98993",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-98993",
  "published_at": "2026-10-23T12:20:12.266Z",
  "title": "namespace: don't inherit MNT_UMOUNT in clone_mnt()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nnamespace: don't inherit MNT_UMOUNT in clone_mnt()\n\nMNT_UMOUNT gets raised on a mount that umount_tree() or umount_one() has\ntaken out of its namespace. It's never cleared. __detach_mounts()\nunhooks a mount that carries it instead of unmounting it.\n\ndisconnect_mount() lets an unmounted child stay attached only if its\nparent carries it. propagate_umount() takes it as the sign that a mount\nis going to be unmounted when it decides what else can be unmounted,\nwhere a chain of locked mounts ends and where a for reparenting an\novermount.\n\nclone_mnt() copies the flags of the source and only masks\nMNT_INTERNAL_FLAGS which doesn't include MNT_UMOUNT. A mount that was\nlazily unmounted but is kept alive by a file descriptor can still be\ncopied when its root is an nsfs or pidfs file because may_copy_tree()\naccepts those before checking whether the source is mounted at all:\n\n  mount --bind /proc/self/ns/net /tmp/x\n  exec 3\u003c /tmp/x\n  umount -l /tmp/x\n  mount --bind /proc/self/fd/3 /tmp/y\n\nThe mount on /tmp/y is attached to the caller's namespace with\nMNT_UMOUNT already set and every copy of it inherits the flag again.\n\nThat causes a number of bugs:\n\n- Unlink its mountpoint from a mount namespace where it isn't one.\n  __detach_mounts() takes it for a mount that was unmounted earlier,\n  unhooks it from its parent and drops the reference the namespace\n  holds on it. It stays in the namespace with one reference too few\n  and as its own parent, so it can't be unmounted through the file\n  descriptor anymore and the namespace never finds it again. When the\n  namespace goes away it's leaked and points to a freed struct\n  mnt_namespace that may_change_propagation() and anon_ns_root() read\n  on the next propagation change or mount_setattr() through the file\n  descriptor.\n\n- Make it shared and unmount a peer. trace_transfers() follows the\n  flag from the peer into it and strips it from its peer group.\n\n- Let a propagated umount reach it. gather_candidates() marks it with\n  T_UMOUNT_CANDIDATE but never puts it on the candidate list, so the\n  mark is never cleared and every later propagated umount skips it. If\n  it's the parent of a locked mount handle_locked() takes it as the\n  cutoff and commits the locked child that should have stayed and\n  disconnect_mount() leaves that child attached to it, unmounted under\n  a mounted parent, which is what disconnect_mount() exists to\n  prevent. When the namespace goes away umount_tree() visits the child\n  a second time. And once __detach_mounts() has made it its own parent\n  reparent() never finds the end of the chain of unmounted parents.\n\nA clone is a new mount that has never been unmounted. Add MNT_UMOUNT\nto MNT_INTERNAL_FLAGS so clone_mnt() never copies it. And warn when\numount_tree() reaches a mount that already has it set.",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 590ce4bcbfb4e0462a720a4ad901e84416080bba, \u003c b201d59d047a5e05728c10864a56bdb67950d0b1",
          "\u003e= 590ce4bcbfb4e0462a720a4ad901e84416080bba, \u003c de098fb4594f8724fa286f08c7f42837bc19b478",
          "\u003e= 590ce4bcbfb4e0462a720a4ad901e84416080bba, \u003c fc1f3a476c35164c1beed7090fc0e630f52d778e",
          "\u003e= 590ce4bcbfb4e0462a720a4ad901e84416080bba, \u003c 99698cfa34e493fc091219056aae446fe9442a96",
          "\u003e= 590ce4bcbfb4e0462a720a4ad901e84416080bba, \u003c c26c1a91ad2881a194f7af543e0b57f0870006b2",
          "\u003e= 590ce4bcbfb4e0462a720a4ad901e84416080bba, \u003c eecc9cd0fc07dba3f7fb0b2f844b4029435a2f7b",
          "\u003e= 590ce4bcbfb4e0462a720a4ad901e84416080bba, \u003c 5077b52e9e4d72da53c50251296b99cd416765a1",
          "\u003e= 590ce4bcbfb4e0462a720a4ad901e84416080bba, \u003c e2c6d326216642011da318b9edfd5d57ebd5a56f",
          "7052e71b2d085f76800115d4a212dcaf82b86262",
          "\u003e= 4.0.2, \u003c 4.1"
        ],
        "fixed_in": [
          "b201d59d047a5e05728c10864a56bdb67950d0b1",
          "de098fb4594f8724fa286f08c7f42837bc19b478",
          "fc1f3a476c35164c1beed7090fc0e630f52d778e",
          "99698cfa34e493fc091219056aae446fe9442a96",
          "c26c1a91ad2881a194f7af543e0b57f0870006b2",
          "eecc9cd0fc07dba3f7fb0b2f844b4029435a2f7b",
          "5077b52e9e4d72da53c50251296b99cd416765a1",
          "e2c6d326216642011da318b9edfd5d57ebd5a56f",
          "4.1"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.1"
        ],
        "fixed_in": [
          "0",
          "5.10.273",
          "5.15.224",
          "6.1.191",
          "6.6.160",
          "6.12.114",
          "6.18.57",
          "7.2.11",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to b201d59d047a5e05728c10864a56bdb67950d0b1 or de098fb4594f8724fa286f08c7f42837bc19b478 or fc1f3a476c35164c1beed7090fc0e630f52d778e or 99698cfa34e493fc091219056aae446fe9442a96 or c26c1a91ad2881a194f7af543e0b57f0870006b2 or eecc9cd0fc07dba3f7fb0b2f844b4029435a2f7b or 5077b52e9e4d72da53c50251296b99cd416765a1 or e2c6d326216642011da318b9edfd5d57ebd5a56f or 4.1 or later.",
      "Upgrade Linux to 0 or 5.10.273 or 5.15.224 or 6.1.191 or 6.6.160 or 6.12.114 or 6.18.57 or 7.2.11 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
