{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "303cc571d107b3641d6487061b748e70ffe15ce4"
            },
            {
              "fixed": "3e6b5d49e7dcd666b24ac69ebf2f7b259a80bbf5"
            },
            {
              "fixed": "d2568eff8b4b743f4ba69517139874193fa67053"
            },
            {
              "fixed": "431f2f11e6b0931808e3646554630075c7a32b83"
            },
            {
              "fixed": "f49d140326bc3019eaabd10d17c6b90448c7eb88"
            },
            {
              "fixed": "b41c74168f4b1ffe0823992e40caf69f8d68f16a"
            },
            {
              "fixed": "0aba8e759cfcdc6242348dc82b97c96405f90762"
            },
            {
              "fixed": "06ec699318fe3a1747bd49ccd8af577db2fd8419"
            },
            {
              "fixed": "948e604aca8af30490accf7d46d44814ffa26f80"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.8.0"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99844.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmount: refuse setns() with a shared fs_struct again\n\nmntns_install() refuses to switch the mount namespace of a task that\nshares its fs_struct, since root and cwd of the others would move to a\nnamespace they are not in.  It looks at nsset-\u003efs for that.  If more\nthan the mount namespace is asked for, that is a private copy made by\nprepare_nsset(), which has one user by definition; commit_nsset() then\nwrites root and cwd of the copy to the fs_struct of the task.\n\nA thread of a process with two threads, pidfd of a task in another\nmount namespace:\n\n\tsetns(pidfd, CLONE_NEWNS)\t\t\t-EINVAL\n\tsetns(pidfd, CLONE_NEWNS | CLONE_NEWUTS)\t0\n\nand after the second call the other thread, still in the old mount\nnamespace, has lost its cwd (/tmp became /) and sees the mounts of the\nother namespace under /.\n\nLook at the fs_struct that is going to be changed.  The second call then\nfails with -EINVAL like the first one.",
  "id": "CVE-2026-99844",
  "modified": "2026-11-30T14:45:28.951690997Z",
  "published": "2026-11-30T13:17:35.010Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/06ec699318fe3a1747bd49ccd8af577db2fd8419"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0aba8e759cfcdc6242348dc82b97c96405f90762"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3e6b5d49e7dcd666b24ac69ebf2f7b259a80bbf5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/431f2f11e6b0931808e3646554630075c7a32b83"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/948e604aca8af30490accf7d46d44814ffa26f80"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b41c74168f4b1ffe0823992e40caf69f8d68f16a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d2568eff8b4b743f4ba69517139874193fa67053"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f49d140326bc3019eaabd10d17c6b90448c7eb88"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99844.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99844"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "mount: refuse setns() with a shared fs_struct again"
}