Re: [PATCH 0/3] FSGSBASE fix, test, and a semi-related cleanup

2019-07-01 Thread Andy Lutomirski
On Mon, Jul 1, 2019 at 8:43 PM Andy Lutomirski wrote: > > In -tip, if FSGSBASE and PTI are on, the kernel crashes if SYSENTER > happens with TF set. It also crashes under if a non-NMI paranoid > entry happens for any other reason from kernel mode with user GSBASE > and user CR3, e.g. due to MOV

[PATCH 0/3] FSGSBASE fix, test, and a semi-related cleanup

2019-07-01 Thread Andy Lutomirski
In -tip, if FSGSBASE and PTI are on, the kernel crashes if SYSENTER happens with TF set. It also crashes under if a non-NMI paranoid entry happens for any other reason from kernel mode with user GSBASE and user CR3, e.g. due to MOV SS shenanigans. This series fixes the bug. It also adds another