From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 References: <20190221093601.27920-1-ruscur@russell.cc> In-Reply-To: <20190221093601.27920-1-ruscur@russell.cc> From: Kees Cook Date: Thu, 21 Feb 2019 08:07:54 -0800 Message-ID: Subject: Re: [PATCH 0/7] Kernel Userspace Protection for radix Content-Type: text/plain; charset="UTF-8" To: Russell Currey Cc: PowerPC , Michael Ellerman , Nick Piggin , Christophe Leroy , Kernel Hardening List-ID: On Thu, Feb 21, 2019 at 1:36 AM Russell Currey wrote: > The first three patches of these series are from Christophe's work and are > the bare minimum framework needed to implement the support for radix. > > In patch 3, I have removed from Christophe's patch my implementation of > the 64-bit exception handling code, since we don't have an answer for > making nested exceptions work yet. This is mentioned in the final KUAP > patch. Regardless, this is still a significant security improvement > and greatly narrows the attack surface. Nice! Am I understanding correctly that with this series powerpc9 and later, using radix, will pass the lkdtm tests for KUAP and KUEP (i.e. EXEC_USERSPACE and ACCESS_USERSPACE)? -- Kees Cook