Re: [PATCH v19 7/7] x86/vdso: Insert endbr32/endbr64 to vDSO

From
Kees Cook <hidden>
Date
2021-02-04 19:58:01
Also in
linux-api, linux-doc, linux-mm, lkml
Reply to
Yu-cheng Yu, 2021-02-03
On Wed, Feb 03, 2021 at 02:59:02PM -0800, Yu-cheng Yu wrote:
From: "H.J. Lu" <redacted>

When Indirect Branch Tracking (IBT) is enabled, vDSO functions may be
called indirectly, and must have ENDBR32 or ENDBR64 as the first
instruction.  The compiler must support -fcf-protection=branch so that it
can be used to compile vDSO.

Signed-off-by: H.J. Lu <redacted>
Reviewed-by: Kees Cook <redacted>

-- 
Kees Cook
Thread (15 messages) 15 messages, 2 authors, last reply 2021-02-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help