]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
x86/mm/64: Make a full PGD-entry size hole in the memory map
authorAndy Lutomirski <luto@kernel.org>
Tue, 12 Dec 2017 15:56:44 +0000 (07:56 -0800)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Sat, 6 Jan 2018 12:23:45 +0000 (13:23 +0100)
commit29b1c137d449dfc8fdcb476158f236625691fd28
tree5f054e98ce8647a28a055c50029c376f2f48af1b
parent569dedbb62e16e3268f006dcf745b8d27690ef91
x86/mm/64: Make a full PGD-entry size hole in the memory map

CVE-2017-5754

Shrink vmalloc space from 16384TiB to 12800TiB to enlarge the hole starting
at 0xff90000000000000 to be a full PGD entry.

A subsequent patch will use this hole for the pagetable isolation LDT
alias.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: David Laight <David.Laight@aculab.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
(cherry picked from commit 9f449772a3106bcdd4eb8fdeb281147b0e99fb30)
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Documentation/x86/x86_64/mm.txt
arch/x86/include/asm/pgtable_64_types.h