Re: [PATCH v3 13/16] arm64: kprobe: disable probe of ptrauth instruction
From: Amit Kachhap <hidden>
Date: 2020-01-20 14:24:25
From: Amit Kachhap <hidden>
Date: 2020-01-20 14:24:25
On 1/17/20 11:16 AM, Catalin Marinas wrote:
On Mon, Dec 16, 2019 at 02:17:15PM +0530, Amit Daniel Kachhap wrote:quoted
This patch disables the probing of authenticate ptrauth instruction which falls under the hint instructions region. This is done to disallow probe of instruction which may lead to ptrauth faults. The corresponding append pac ptrauth instruction is not disabled as they are typically the first instruction in the function so disabling them will be disabling the function probe itself. Also, appending pac do not cause any exception in itself.Neither does AUTIASP in v8.3, only the subsequent dereferencing, so why can kprobes cope with PACIASP but not AUTIASP?
ok I will add this patch as part of FPAC in armv8.6 ptrauth.
_______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel