Arm's Guarded Control Stack "GCS" Support Looks Like It Will Be Ready For Linux 6.13

Written by Michael Larabel in Arm on 8 October 2024 at 02:26 PM EDT. Add A Comment
ARM
For more than one year Arm engineers have been working on Guarded Control Stack "GCS" support for the Linux kernel as a means of protecting against return-oriented programming (ROP) sttacks with modern AArch64 processors. It looks like for Linux 6.13 this Arm GCS support will be ready for upstreaming.

Arm's Guarded Control Stack is of similar intent to Intel's Shadow Stack. The Guarded Control Stack is hardware-protected stacks of return addresses to harden the system against ROP attacks. GCS also makes it easier for gathering call stacks for applications when dealing with system profiling. With the hardware enforcement, GCS requires support by the SoC/core for supporting this functionality.

Over the past year the Guarded Control Stack code has been through thirteen rounds of revisions and review on the Linux kernel mailing list. The GCS patches were queued last week into arm64/linux.git as the staging area for new ARM64 architecture code for the Linux kernel.

Guarded Control Stack patches


Given the GCS code now being queued up, this will likely be submitted for the Linux 6.13 merge window next month -- barring any last minute issues from coming up in the code.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week