lkml.org 
[lkml]   [2018]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCHv3 0/3] Fix couple of issues with LDT remap for PTI
Date
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.

v3:
- Split out cleanup in map_ldt_struct() into a separate patch
v2:
- Rebase to the Linus' tree
+ fix conflict with new documentation of kernel memory layout
+ fix few mistakes in layout documentation
- Fix typo in commit message

Kirill A. Shutemov (3):
x86/mm: Move LDT remap out of KASLR region on 5-level paging
x86/ldt: Unmap PTEs for the slot before freeing LDT pages
x86/ldt: Remove unused variable in map_ldt_struct()

Documentation/x86/x86_64/mm.txt | 34 +++++++-------
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, 67 insertions(+), 48 deletions(-)

--
2.19.1

\
 
 \ /
  Last update: 2018-10-26 14:29    [W:0.360 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site