mbox series

[0/2] Fix couple of issues with LDT remap for PTI

Message ID 20181023163157.41441-1-kirill.shutemov@linux.intel.com (mailing list archive)
Headers show
Series Fix couple of issues with LDT remap for PTI | expand

Message

Kirill A . Shutemov Oct. 23, 2018, 4:31 p.m. UTC
The patchset fixes issues with LDT remap for PTI:

 - Layout collision due to KASLR with 5-level paging;

 - Information leak via Meltdown-like attack;

Please review and consider applying.

Kirill A. Shutemov (2):
  x86/mm: Move LDT remap out of KASLR region on 5-level paging
  x86/ldt: Unmap PTEs for the slow before freeing LDT

 Documentation/x86/x86_64/mm.txt         |  8 ++--
 arch/x86/include/asm/page_64_types.h    | 12 ++---
 arch/x86/include/asm/pgtable_64_types.h |  4 +-
 arch/x86/kernel/ldt.c                   | 59 ++++++++++++++++---------
 arch/x86/xen/mmu_pv.c                   |  6 +--
 5 files changed, 53 insertions(+), 36 deletions(-)