Description
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 GCSCRE0_EL1, 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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
16f47bb9ac8afe09e7ca14cc53748f779b2a12e0 to < ce87a9bc0bdd3153b1c810e6fd5a87b16bbb3ca4affected16f47bb9ac8afe09e7ca14cc53748f779b2a12e0 to < 3f5d73515faad7bf01b66aaa7c79f633ac1aab78affected16f47bb9ac8afe09e7ca14cc53748f779b2a12e0 to < d395db3dcd4c590d26a2f3d581d8d5b7ddbfa478affected
Linux Linux
Default version status: affected
6.13affected0 to < 6.13unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected