x86/speculation/l1tf: Make pmd/pud_mknotpresent() invert
Some cases in THP like: - MADV_FREE - mprotect - split mark the PMD non present for temporarily to prevent races. The window for an L1TF attack in these contexts is very small, but it wants to be fixed for correctness sake. Use the proper low level functions for pmd/pud_mknotpresent() to address this. Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> CVE-2018-3620 CVE-2018-3646 [smb: Drop pud_mknotpresent() changes as it does not exist] Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Showing
Please register or sign in to comment