CVE-2026-99830: arm64/gcs: release GCS on failed fork
In the Linux kernel, the following vulnerability has been resolved:
arm64/gcs: release GCS on failed fork
copythread() can map a CLONEVM GCS and still return 0. A later copyprocess() failure calls exitthread(), but arm64 did not implement it, so the VMA stayed in the parent's mm. Wire HAVEEXITTHREAD to gcsfree().
Kernel threads created with CLONEVM (iouring and vhost workers) inherit the parent's gcsbase/gcssize from archduptaskstruct() without allocating their own GCS. When such a thread exits, exitmm() -> mmrelease() -> deactivatemm() -> gcsfree() unmaps the parent's GCS. With the new exitthread(), a failed copyprocess() for one of these threads would do the same. Clear these fields in copythread().