Re: [PATCH] x86/umip: Add emulation for 64-bit processes
From: hpa
Date: Mon Sep 09 2019 - 07:57:00 EST
On September 8, 2019 8:22:48 AM GMT+01:00, Borislav Petkov <bp@xxxxxxxxx> wrote:
>On Sat, Sep 07, 2019 at 02:26:10PM -0700, Ricardo Neri wrote:
>> > Wine users have encountered a number of 64-bit Windows games that
>use
>> > these instructions (particularly sgdt), and were crashing when run
>on
>> > UMIP-enabled systems.
>>
>> Emulation support for 64-bit processes was not initially included
>> because no use cases had been identified.
>
>AFAIR, we said at the time that 64-bit doesn't need it because this is
>legacy software only and 64-bit will get fixed properly not to use
>those
>insns. I can probably guess how that went ...
I don't think Windows games was something we considered. However, needing to simulate these instructions is not a huge surprise. The important thing is that by simulating them, we can plug the leak of some very high value kernel information â mainly the GDT, IDT and TSS addresses.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.