CVE-2026-143104: arm64/gcs: Ignore attempts to change GCS mode during signal return
In the Linux kernel, the following vulnerability has been resolved:
arm64/gcs: Ignore attempts to change GCS mode during signal return
If userspace tries to update the GCS mode as part of signal return then we update the thread state but don't update GCSCRE0EL1, meaning the change does not take effect. We may also get issues for other tasks on context switch since we suppress writes of the register if the two tasks have the same mode.
Since no currently known userspace tries to use this functionality close this by ignoring any attempt to change the mode through signal return. The GCS mode for the current thread can be changed using the prctl() interface and will be preserved on signal return, allowing updates to the mode from the signal handler.
Affected Software
Event History
Frequently Asked Questions
Who is affected by this issue?
The issue applies to Linux kernel systems on arm64 that use Guarded Control Stack (GCS) functionality. It is relevant when userspace attempts to change GCS mode as part of returning from a signal handler.
What behavior could indicate exposure?
A requested GCS mode change made during signal return may update the thread state without updating GCSCRE0_EL1, so the requested change does not take effect. Context switches can also be affected because register writes may be suppressed when two tasks appear to have the same mode.
Can an application still change GCS mode from a signal handler?
Yes. The GCS mode can be changed through the prctl() interface from the signal handler, and that change will be preserved when the signal handler returns.
What does the fix change?
The fix ignores attempts to change GCS mode through signal return, preventing thread state from being updated in a way that does not take effect in the associated register.