{
  "id": "CVE-2026-98995",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-98995",
  "published_at": "2026-10-23T12:20:14.155Z",
  "title": "namespace: reset the old parent's -\u003eovermount in mnt_change_mountpoint()",
  "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: reset the old parent's -\u003eovermount in mnt_change_mountpoint()\n\n__umount_mnt() resets -\u003eovermount of the parent when it unmounts the\nmount that overmounts it. mnt_change_mountpoint() doesn't. It moves the\nmount to its new parent and leaves the old one pointing at it.\n\nFor a mount that is moved beneath in attach_recursive_mnt() that doesn't\nmatter. The new mount has already reset -\u003eovermount of the old parent by\nthe time the old top mount is moved onto it.\n\nIt matters for reparent() though. propagate_umount() moves a surviving\novermount onto the first ancestor that isn't going to be unmounted. The\nmount it was taken from is unmounted immediately afterwards. If a file\ndescriptor keeps that unmounted mount alive -\u003eovermount points at the\nmoved mount. That's a dangling pointer and UAF as the moved mount is\nunmounted and freed.\n\ndo_lock_mount() follows -\u003eovermount from the target path under\nmount_lock. With a file descriptor on such a mount as the target of a\nmount beneath topmost_overmount() walks into the freed mount and\ndo_lock_mount() takes references on whatever it finds there.\n\nSo reset -\u003eovermount of the old parent in mnt_change_mountpoint() the\nsame way __umount_mnt() does. A mount's -\u003eovermount is then always a\nmount that is attached to it.",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= ffdc52fbbd5835a936ad683c943d6d103a2d4514, \u003c 5e0a1f2c753a79749bc2ead3ae2f2ede3941daa5",
          "\u003e= ffdc52fbbd5835a936ad683c943d6d103a2d4514, \u003c 08d575ee89393fd812dbdca7b5d7b4574cd5a564",
          "\u003e= ffdc52fbbd5835a936ad683c943d6d103a2d4514, \u003c 476ef286a7a5db8bda51325dc0c45887b4d99d9a"
        ],
        "fixed_in": [
          "5e0a1f2c753a79749bc2ead3ae2f2ede3941daa5",
          "08d575ee89393fd812dbdca7b5d7b4574cd5a564",
          "476ef286a7a5db8bda51325dc0c45887b4d99d9a"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.17"
        ],
        "fixed_in": [
          "0",
          "6.18.57",
          "7.2.11",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 5e0a1f2c753a79749bc2ead3ae2f2ede3941daa5 or 08d575ee89393fd812dbdca7b5d7b4574cd5a564 or 476ef286a7a5db8bda51325dc0c45887b4d99d9a or later.",
      "Upgrade Linux to 0 or 6.18.57 or 7.2.11 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
