[PATCH v3 0/2] scs: switch to vmapped shadow stacks

Sami Tolvanen samitolvanen at google.com
Tue Dec 1 13:37:19 EST 2020


On Tue, Dec 1, 2020 at 3:40 AM Will Deacon <will at kernel.org> wrote:
>
> On Mon, 30 Nov 2020 15:34:40 -0800, Sami Tolvanen wrote:
> > As discussed a few months ago [1][2], virtually mapped shadow call stacks
> > are better for safety and robustness. This series dusts off the VMAP
> > option from the original SCS patch series and switches the kernel to use
> > virtually mapped shadow stacks unconditionally when SCS is enabled.
> >
> >  [1] https://lore.kernel.org/lkml/20200515172355.GD23334@willie-the-truck/
> >  [2] https://lore.kernel.org/lkml/20200427220942.GB80713@google.com/
> >
> > [...]
>
> Applied to arm64 (for-next/scs), thanks!
>
> [1/2] scs: switch to vmapped shadow stacks
>       https://git.kernel.org/arm64/c/a2abe7cbd8fe
> [2/2] arm64: scs: use vmapped IRQ and SDEI shadow stacks
>       https://git.kernel.org/arm64/c/ac20ffbb0279
>
> I also threw a patch on top implementing the suggestion I made on v2, so
> please take a look if you get a chance.

Looks good to me, thanks for cleaning that up!

Sami



More information about the linux-arm-kernel mailing list