{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "506496bcbb4204c9ff5cfe82b1b90e1f14366992"
            },
            {
              "fixed": "82be0c93794d77a70c6e8799a2fce46e84b089a8"
            },
            {
              "fixed": "9af2f7e0994af496755bf5142607d36f258df214"
            },
            {
              "fixed": "078e122f3bf000dd45965997b66deac10ee580fa"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.64"
            }
          ],
          "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-99830.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\narm64/gcs: release GCS on failed fork\n\ncopy_thread() can map a CLONE_VM GCS and still return 0. A later\ncopy_process() failure calls exit_thread(), but arm64 did not\nimplement it, so the VMA stayed in the parent's mm. Wire\nHAVE_EXIT_THREAD to gcs_free().\n\nKernel threads created with CLONE_VM (io_uring and vhost workers)\ninherit the parent's gcs_base/gcs_size from arch_dup_task_struct()\nwithout allocating their own GCS. When such a thread exits,\nexit_mm() -\u003e mm_release() -\u003e deactivate_mm() -\u003e gcs_free() unmaps the\nparent's GCS. With the new exit_thread(), a failed copy_process() for\none of these threads would do the same. Clear these fields in\ncopy_thread().",
  "id": "CVE-2026-99830",
  "modified": "2026-12-01T20:45:32.810189566Z",
  "published": "2026-11-30T13:17:26.838Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/078e122f3bf000dd45965997b66deac10ee580fa"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/82be0c93794d77a70c6e8799a2fce46e84b089a8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9af2f7e0994af496755bf5142607d36f258df214"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99830.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99830"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "arm64/gcs: release GCS on failed fork"
}