[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALCETrWBtQLRE69+YB2F3GUrnFQ6bXsq2LFCsh6-tFRkj=fTtw@mail.gmail.com>
Date: Wed, 5 Sep 2018 14:39:22 -0700
From: Andy Lutomirski <luto@...nel.org>
To: Dave Hansen <dave.hansen@...el.com>
Cc: Andy Lutomirski <luto@...nel.org>,
Sean Christopherson <sean.j.christopherson@...el.com>,
LKML <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>, X86 ML <x86@...nel.org>,
Jann Horn <jannh@...gle.com>
Subject: Re: [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@...el.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.
Powered by blists - more mailing lists