lkml.org 
[lkml]   [2018]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] KVM: x86: do not read FS/GS base MSRs when saving them
From
Date
On 04/01/2018 01:16, Andy Lutomirski wrote:
>> Note that the value I'm storing in HOST_FS_BASE and HOST_GS_BASE is
>> only used if FS/GS selector is zero. If FS/GS selector is not
>> zero, it is not used. Does that avoid this issue?
>>
> I'm not convinced that this is correct. It's not obviously a
> security problem in the context of KVM, but a lot of state can leak
> this way.
>
> My general preference would be to make the code obviously fully
> reload the host state.

I'll try to write a v3 that looks more obviously correct.

Paolo

\
 
 \ /
  Last update: 2018-01-04 02:17    [W:0.073 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site