[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <160043444117.3782204.2915694292164930857.b4-ty@kernel.org>
Date: Fri, 18 Sep 2020 17:17:12 +0100
From: Will Deacon <will@...nel.org>
To: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org,
Boyan Karatotev <boian4o1@...il.com>
Cc: catalin.marinas@....com, kernel-team@...roid.com,
Will Deacon <will@...nel.org>,
Vincenzo Frascino <Vincenzo.Frascino@....com>,
Shuah Khan <skhan@...uxfoundation.org>,
Shuah Khan <shuah@...nel.org>,
Amit Daniel Kachhap <amit.kachhap@....com>,
Boyan Karatotev <boyan.karatotev@....com>
Subject: Re: [PATCH v3 0/4] kselftests/arm64: add PAuth tests
On Fri, 18 Sep 2020 11:47:11 +0100, Boyan Karatotev wrote:
> Pointer Authentication (PAuth) is a security feature introduced in ARMv8.3.
> It introduces instructions to sign addresses and later check for potential
> corruption using a second modifier value and one of a set of keys. The
> signature, in the form of the Pointer Authentication Code (PAC), is stored
> in some of the top unused bits of the virtual address (e.g. [54: 49] if
> TBID0 is enabled and TnSZ is set to use a 48 bit VA space). A set of
> controls are present to enable/disable groups of instructions (which use
> certain keys) for compatibility with libraries that do not utilize the
> feature. PAuth is used to verify the integrity of return addresses on the
> stack with less memory than the stack canary.
>
> [...]
Applied to arm64 (for-next/selftests), thanks!
[1/4] kselftests/arm64: add a basic Pointer Authentication test
https://git.kernel.org/arm64/c/e74e1d557285
[2/4] kselftests/arm64: add nop checks for PAuth tests
https://git.kernel.org/arm64/c/766d95b1ed93
[3/4] kselftests/arm64: add PAuth test for whether exec() changes keys
https://git.kernel.org/arm64/c/806a15b2545e
[4/4] kselftests/arm64: add PAuth tests for single threaded consistency and differently initialized keys
https://git.kernel.org/arm64/c/d21435e9670b
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists