Re: umip: AMD Ryzen 3900X, pagefault after emulate SLDT/SIDT instruction

From: H. Peter Anvin
Date: Tue May 19 2020 - 20:18:18 EST


On 2020-05-19 07:38, Andreas Rammhold wrote:
> Hi,
>
> I've been running into a weird problem with UMIP on a current Ryzen
> 3900x with kernel 5.6.11 where a process receives a page fault after the
> kernel handled the SLDT (or SIDT) instruction (emulation).
>
> The program I am running is run through WINE in 32bit mode and tries to
> figure out if it is running in a VMWare machine by comparing the results
> of SLDT against well known constants (basically as shown in the
> [example] linked below).
>

Extremely weird. What is it expecting to happen -- or rather, what do you
*want* it to do?

-hpa