Thread (2 messages) 2 messages, 2 authors, 2022-01-31

Re: [PATCH 34/35] x86/cet/shstk: Support wrss for userspace

flat view

From: Florian Weimer <hidden>
Date: 2022-01-31 07:57:21
Also in: linux-arch, linux-doc, linux-mm, lkml

* Rick Edgecombe:
For the current shadow stack implementation, shadow stacks contents cannot
be arbitrarily provisioned with data. This property helps apps protect
themselves better, but also restricts any potential apps that may want to
do exotic things at the expense of a little security.

The x86 shadow stack feature introduces a new instruction, wrss, which
can be enabled to write directly to shadow stack permissioned memory from
userspace. Allow it to get enabled via the prctl interface.
Why can't this be turned on unconditionally?

Thanks,
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help