Arm Expands Speculative SSBS Workaround With More CPU Cores Being Affected

Written by Michael Larabel in Arm on 2 July 2024 at 12:06 PM EDT. 10 Comments
ARM
Back in May there were Linux kernel patches posted as a workaround for Arm CPU errata around the Speculative Store Bypass (SSB) handling. Initially this workaround was just noted as the Cortex-X4 and Neoverse-V3 as being affected, but now it turns out many more exciting Arm processor cores are impacted.

Spectre V4 / Speculative Store Bypass has been around for years and newer Arm CPUs mitigated, but the more recent issue at hand is Arm CPU errata with the mitigation. With affected processors, MSR write to the SSBS (Speculative Store Bypass Safe) special purpose register does not affect subsequent speculative instructions. In turn this issue can lead to speculative store bypassing for a period of time. The Linux workaround to this newer errata is to have a speculation barrier after MSR writes to the SSBS register.

Besides the Cortex X4 and Neoverse V3, Arm engineers have now extended this SSBS workaround to other affected cores including the A710, A720, X2, X3, X925, N2, and V2.

SSBS workaround models affected


This patch has been added to the ARM64 kernel's "for-next/errata" Git branch ahead of the Linux 6.11 merge window. Thus with Linux 6.11 the code will land for expanding this speculative SSBS workaround to the additional affected models.
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