Thread (10 messages) 10 messages, 6 authors, 2020-10-06

Re: [BUG][PATCH] crypto: arm64: Avoid indirect branch to bti_c

From: Mark Brown <broonie@kernel.org>
Date: 2020-10-06 10:36:14
Also in: linux-crypto, lkml

On Mon, Oct 05, 2020 at 10:48:54PM -0500, Jeremy Linton wrote:
The AES code uses a 'br x7' as part of a function called by
a macro. That branch needs a bti_j as a target. This results
in a panic as seen below. Instead of trying to replace the branch
target with a bti_jc, lets replace the indirect branch with a
bl/ret, bl sequence that can target the existing bti_c.
Reviewed-by: Mark Brown <broonie@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help