[PATCH v2 0/3] arm64: Assorted GCS fixes
Will Deacon
will at kernel.org
Wed Feb 25 16:06:52 PST 2026
On Mon, 23 Feb 2026 17:45:29 +0000, Catalin Marinas wrote:
> A couple of GCS fixes and a corresponding kselftest. The first fix
> solves a kernel panic when LPA2 is present. The second ensures that the
> shadow stack is not accessible after mprotect(PROT_NONE). The test is
> fairly close to gcs_write_fault.c but performs a normal read from the
> shadow stack before and after mprotect(PROT_NOTE).
>
> v1 here:
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/3] arm64: gcs: Do not set PTE_SHARED on GCS mappings if FEAT_LPA2 is enabled
https://git.kernel.org/arm64/c/8a85b3131225
[2/3] arm64: gcs: Honour mprotect(PROT_NONE) on shadow stack mappings
https://git.kernel.org/arm64/c/47a8aad135ac
[3/3] kselftest: arm64: Check access to GCS after mprotect(PROT_NONE)
https://git.kernel.org/arm64/c/9d1a7c4a457e
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list