{"id":"CVE-2026-99830","aliases":["CVE-2026-99830"],"related":[],"kind":"vulnerability","state":"published","title":"arm64/gcs: release GCS on failed fork","summary":"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() -> mm_release() -> deactivate_mm() -> 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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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() -> mm_release() -> deactivate_mm() -> 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().","source":"cvelist"}],"published":"2026-11-30T13:17:26.838Z","modified":"2026-11-30T14:20:15.783Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"506496bcbb4204c9ff5cfe82b1b90e1f14366992","fixed":"82be0c93794d77a70c6e8799a2fce46e84b089a8","status":"affected"},{"type":"git","introduced":"506496bcbb4204c9ff5cfe82b1b90e1f14366992","fixed":"9af2f7e0994af496755bf5142607d36f258df214","status":"affected"},{"type":"git","introduced":"506496bcbb4204c9ff5cfe82b1b90e1f14366992","fixed":"078e122f3bf000dd45965997b66deac10ee580fa","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/82be0c93794d77a70c6e8799a2fce46e84b089a8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9af2f7e0994af496755bf5142607d36f258df214","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/078e122f3bf000dd45965997b66deac10ee580fa","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99830","url":"https://www.cve.org/CVERecord?id=CVE-2026-99830","licence":"CVE Terms of Use","modified":"2026-11-30T13:17:26.838Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99830","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99830","licence":"Public domain","modified":"2026-11-30T14:20:15.783Z"}],"updatedAt":"2026-11-30T14:33:28.310Z","epss":{"score":0.00207,"percentile":0.11434,"date":"2026-12-01T12:00:22.000Z"}}