Skip to content
Commit c5b5749a authored by Kristina Martsenko's avatar Kristina Martsenko
Browse files

arm64: unwind: strip PAC from kernel addresses



When we enable pointer authentication in the kernel, LR values saved to
the stack will have a PAC which we must strip in order to retrieve the
real return address.

Strip PACs when unwinding the stack in order to account for this.

Reviewed-by: Amit Kachhap's avatarAmit Daniel Kachhap <amit.kachhap@arm.com>
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: Mark Rutland's avatarMark Rutland <mark.rutland@arm.com>
Signed-off-by: Kristina Martsenko's avatarKristina Martšenko <kristina.martsenko@arm.com>
parent 03487be7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment