Re: [PATCH v3 1/2] arm64/crash_core: Export KERNELPACMASK in vmcoreinfo
From: Will Deacon
Date: Mon May 11 2020 - 12:28:02 EST
On Mon, 11 May 2020 18:31:55 +0530, Amit Daniel Kachhap wrote:
> Recently arm64 linux kernel added support for Armv8.3-A Pointer
> Authentication feature. If this feature is enabled in the kernel and the
> hardware supports address authentication then the return addresses are
> signed and stored in the stack to prevent ROP kind of attack. Kdump tool
> will now dump the kernel with signed lr values in the stack.
>
> Any user analysis tool for this kernel dump may need the kernel pac mask
> information in vmcoreinfo to generate the correct return address for
> stacktrace purpose as well as to resolve the symbol name.
>
> [...]
Applied to arm64 (for-next/ptr-auth), thanks!
[1/2] arm64/crash_core: Export KERNELPACMASK in vmcoreinfo
https://git.kernel.org/arm64/c/203b1152d18c
[2/2] Documentation/vmcoreinfo: Add documentation for 'KERNELPACMASK'
https://git.kernel.org/arm64/c/c0fc00ec6304
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev