[PATCH v3 13/16] arm64: kprobe: disable probe of ptrauth instruction

Catalin Marinas catalin.marinas at arm.com
Fri Jan 17 03:16:14 PST 2020


On Mon, Dec 16, 2019 at 02:17:15PM +0530, Amit Daniel Kachhap wrote:
> 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?

-- 
Catalin



More information about the linux-arm-kernel mailing list