lkml.org 
[lkml]   [2018]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v6 11/10] x86/retpoline: Avoid return buffer underflows on context switch
On Mon, Jan 8, 2018 at 3:58 PM, Woodhouse, David <dwmw@amazon.co.uk> wrote:
>>
>> Is there really nothing more clever we can do?
>
> You get this part in the IBRS/microcode solution too. The IBRS MSR
> doesn't catch everything; you still need to stuff the RSB in very
> similar places (and/or use the IBPB MSR in some).

So I was really hoping that in places like context switching etc, we'd
be able to instead effectively kill off any exploits by clearing
registers.

That should make it pretty damn hard to then find a matching "gadget"
that actually does anything interesting/powerful.

Together with Spectre already being pretty hard to take advantage of,
and the eBPF people making those user-proivided gadgets inaccessible,
it really should be a pretty powerful fix.

Hmm?

Linus

\
 
 \ /
  Last update: 2018-01-14 23:18    [W:0.280 / U:2.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site