Re: [PATCH] x86/ldt: Fix support_pte_mask filtering in map_ldt_struct()

From: Borislav Petkov
Date: Thu Apr 19 2018 - 09:00:23 EST


On Wed, Apr 18, 2018 at 02:18:57PM +0200, Borislav Petkov wrote:
> Btw, even with JÃrg's fix,
>
> fb43d6cb91ef ("x86/mm: Do not auto-massage page protections")

Some updates.

1. current linus master with Joerg's fix triple-faults on the IVB laptop
during resume from disk.

2. current linus master with Joerg's fix + those two:

C Apr 17 Dave Hansen ( : 67) [PATCH 1/2] x86, pti: fix boot problems from Global-bit setting
C Apr 17 Dave Hansen ( : 81) ââ>[PATCH 2/2] x86, pti: fix boot warning from Global-bit setting

triplefaults too.

Bisection confirms again fb43d6cb91ef is the first bad:

fb43d6cb91ef x86/mm: Do not auto-massage page protections <--- NOT OK
6baf4bec02db x86/espfix: Document use of _PAGE_GLOBAL <--- OK

--
Regards/Gruss,
Boris.

SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--