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:Kees Cook <keescook@chromium.org> Acked-by:
Catalin Marinas <catalin.marinas@arm.com> Signed-off-by:
Mark Rutland <mark.rutland@arm.com> Signed-off-by:
Kristina Martsenko <kristina.martsenko@arm.com> [Amit: Re-position ptrauth_strip_insn_pac, comment] Signed-off-by:
Amit Daniel Kachhap <amit.kachhap@arm.com>
Loading
Please register or sign in to comment