CVE-2026-99830
publishedarm64/gcs: release GCS on failed fork
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux506496bcbb4204c9ff5cfe82b1b90e1f14366992 to < 82be0c93794d77a70c6e8799a2fce46e84b089a8 · 506496bcbb4204c9ff5cfe82b1b90e1f14366992 to < 9af2f7e0994af496755bf5142607d36f258df214 · 506496bcbb4204c9ff5cfe82b1b90e1f14366992 to < 078e122f3bf000dd45965997b66deac10ee580fa · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.13 (affected) · 0 to < 6.13 (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | 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().
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 506496bcbb4204c9ff5cfe82b1b90e1f14366992 to < 82be0c93794d77a70c6e8799a2fce46e84b089a8 (affected · git)506496bcbb4204c9ff5cfe82b1b90e1f14366992 to < 9af2f7e0994af496755bf5142607d36f258df214 (affected · git)506496bcbb4204c9ff5cfe82b1b90e1f14366992 to < 078e122f3bf000dd45965997b66deac10ee580fa (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.13 (affected)0 to < 6.13 (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
arm64/gcs: release GCS on failed fork
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0ca35c6758829cbdc279e1fd0891dffdea481ba263f15e9caad9a71e0b79d337
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record