lkml.org 
[lkml]   [2018]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] x86/pti: don't report XenPV as vulnerable
From
Date
On 15/06/18 08:04, Jiri Kosina wrote:
> On Fri, 15 Jun 2018, Juergen Gross wrote:
>
>> wrong for 64-bit, too, in case the mitigation is disabled at hypervisor
>> level.
>
> If that is indeed possible (is it?), then the check we have in
> pti_check_boottime_disable() is wrong as well.

No, it isn't. PTI for 32-bit kernels isn't paravirtualized, so it has to
be disabled.

>
>> So the test should be done only for CONFIG_X86_64
>
> Fair enough.
>
>> and the returned string should be e.g. "Mitigation: XEN".
>
> Well, perhaps; it'd confuse all the scripts that are checking whether
> system is fully secured or not by parsing sysfs files ... but that's
> mostly their problem.

Right. And I suppose those scripts are fairly new. :-)


Juergen

\
 
 \ /
  Last update: 2018-06-15 08:11    [W:0.027 / U:4.376 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site