Thread (11 messages) 11 messages, 4 authors, 2020-11-23

Re: [PATCH 1/2] scs: switch to vmapped shadow stacks

From: Kees Cook <hidden>
Date: 2020-10-22 22:38:46
Also in: lkml

On Thu, Oct 22, 2020 at 01:23:54PM -0700, Sami Tolvanen wrote:
The kernel currently uses kmem_cache to allocate shadow call stacks,
which means an overflow may not be immediately detected and can
potentially result in another task's shadow stack to be overwritten.

This change switches SCS to use virtually mapped shadow stacks,
which increases shadow stack size to a full page and provides more
robust overflow detection similarly to VMAP_STACK.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Thanks! I much prefer this to kmem. :)

Reviewed-by: Kees Cook <redacted>

-- 
Kees Cook

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help