All of lore.kernel.org
 help / color / mirror / Atom feed
* CVE-2026-143101: arm64: suspend: Save GCS state over suspend
@ 2026-12-03  9:18 Greg Kroah-Hartman
  0 siblings, 0 replies; only message in thread
From: Greg Kroah-Hartman @ 2026-12-03  9:18 UTC (permalink / raw)
  To: linux-cve-announce; +Cc: Greg Kroah-Hartman

From: Greg Kroah-Hartman <gregkh@kernel.org>

Description
===========

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

arm64: suspend: Save GCS state over suspend

GCSCRE0_EL1 and GCSPR_EL0 are live registers for EL0 on systems with GCS
but are not saved and restored by cpu_do_suspend()/cpu_do_resume(). This
means that the task that initiated suspend can return to userspace with
UNKNOWN or incorrect values for GCSPR_EL0 and GCSCRE0_EL1 (many fields
in GCSCRE0_EL1 reset to 0).  This will in turn lead to ongoing
corruption, including not restoring mode until a task with a different
GCS mode is run.  Fix this by saving and restoring the values over
suspend.

This increases the size of struct cpu_suspend_ctx by 16 bytes.

The Linux kernel CVE team has assigned CVE-2026-143101 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 6.13 with commit 5d8b172e7005c6b42c16a0952c1d8873051d68ae and fixed in 6.18.66 with commit 1d9808f3020313998e59a9ca67206a2aa1d53a2b
	Issue introduced in 6.13 with commit 5d8b172e7005c6b42c16a0952c1d8873051d68ae and fixed in 7.3.7 with commit 818beee4ba566d6f28eba9889bc98385197dfc4c
	Issue introduced in 6.13 with commit 5d8b172e7005c6b42c16a0952c1d8873051d68ae and fixed in 7.4-rc3 with commit 7ca488055c69eed71219546deb805811854aca35

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2026-143101
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	arch/arm64/include/asm/suspend.h
	arch/arm64/mm/proc.S


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/1d9808f3020313998e59a9ca67206a2aa1d53a2b
	https://git.kernel.org/stable/c/818beee4ba566d6f28eba9889bc98385197dfc4c
	https://git.kernel.org/stable/c/7ca488055c69eed71219546deb805811854aca35

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-03  9:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03  9:18 CVE-2026-143101: arm64: suspend: Save GCS state over suspend Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.