lkml.org 
[lkml]   [2018]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] x86/pkeys: Explicitly treat PK #PF on kernel address as a bad area
On Wed, Sep 5, 2018 at 2:35 PM, Dave Hansen <dave.hansen@intel.com> wrote:
> On 09/04/2018 02:27 PM, Andy Lutomirski wrote:
>> Also, I doubt it matters right here, but !X86_PF_USER isn't quite the
>> same thing as "originating from kernel code" -- it can also be user
>> code that does a CPL0 access due to exception delivery or access to a
>> descriptor table. Which you saw plenty of times while debugging
>> PTI... :) I doubt any of those should be spurious, though.
>
> Yeah, you're talking about "implicit supervisor access". Right?

Yes.

\
 
 \ /
  Last update: 2018-09-05 23:41    [W:0.046 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site