# CVE-2026-99830: arm64/gcs: release GCS on failed fork

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-30T13:17:26.838Z
- Modified: 2026-11-30T14:20:15.783Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

arm64/gcs: release GCS on failed fork

copy_thread() can map a CLONE_VM GCS and still return 0. A later
copy_process() failure calls exit_thread(), but arm64 did not
implement it, so the VMA stayed in the parent's mm. Wire
HAVE_EXIT_THREAD to gcs_free().

Kernel threads created with CLONE_VM (io_uring and vhost workers)
inherit the parent's gcs_base/gcs_size from arch_dup_task_struct()
without allocating their own GCS. When such a thread exits,
exit_mm() -> mm_release() -> deactivate_mm() -> gcs_free() unmaps the
parent's GCS. With the new exit_thread(), a failed copy_process() for
one of these threads would do the same. Clear these fields in
copy_thread().

(As written by CVE List.)

## Affected

- Linux Linux: from 506496bcbb4204c9ff5cfe82b1b90e1f14366992 before 82be0c93794d77a70c6e8799a2fce46e84b089a8; from 506496bcbb4204c9ff5cfe82b1b90e1f14366992 before 9af2f7e0994af496755bf5142607d36f258df214; from 506496bcbb4204c9ff5cfe82b1b90e1f14366992 before 078e122f3bf000dd45965997b66deac10ee580fa; 6.13 (not affected: before 6.13; from 6.18.64 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/82be0c93794d77a70c6e8799a2fce46e84b089a8>
- <https://git.kernel.org/stable/c/9af2f7e0994af496755bf5142607d36f258df214>
- <https://git.kernel.org/stable/c/078e122f3bf000dd45965997b66deac10ee580fa>

## Sources

- CVE List: [CVE-2026-99830](https://www.cve.org/CVERecord?id=CVE-2026-99830), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-99830](https://nvd.nist.gov/vuln/detail/CVE-2026-99830), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-99830 · Whole record: https://cve.day/CVE-2026-99830.json · Rebuilt by cve.day 2026-11-30T14:33:28.310Z
