Thread (148 messages) 148 messages, 17 authors, 2022-06-09

Re: [PATCH 00/35] Shadow stacks for userspace

From: Peter Zijlstra <peterz@infradead.org>
Date: 2022-02-06 13:20:14
Also in: linux-arch, linux-doc, linux-mm, lkml

On Sat, Feb 05, 2022 at 12:21:12PM -0800, H.J. Lu wrote:
setjmp/longjmp work on the same sigjmp_buf.  Shadow stack pointer
is saved and restored, just like any other callee-saved registers.
How is having that shadow stack pointer in user-writable memory not a
problem? That seems like a prime target to subvert the whole shadow
stack machinery.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help