Thread (29 messages) flat view 29 messages, 5 authors, 2021-04-28

Re: [PATCH v26 3/9] x86/cet/ibt: Handle signals for Indirect Branch Tracking

From: Kees Cook <hidden>
Date: 2021-04-28 20:31:14
Also in: linux-arch, linux-doc, lkml

On Tue, Apr 27, 2021 at 01:47:14PM -0700, Yu-cheng Yu wrote:
When an indirect CALL/JMP instruction is executed and before it reaches
the target, it is in 'WAIT_ENDBR' status, which can be read from
MSR_IA32_U_CET.  The status is part of a task's status before a signal is
raised and preserved in the signal frame.  It is restored for sigreturn.

IBT state machine is described in Intel SDM Vol. 1, Sec. 18.3.

Signed-off-by: Yu-cheng Yu <redacted>
Reviewed-by: Kees Cook <redacted>

-- 
Kees Cook
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help