diff options
author | Kees Cook <keescook@chromium.org> | 2016-05-09 13:22:04 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-05-10 10:12:02 +0200 |
commit | 434a6c9f90f7ab5ade619455df01ef5ebea533ee (patch) | |
tree | 901c7e2407c028795974603ee8daf52c97d56a98 /drivers/watchdog/wdt285.c | |
parent | 36a39ac967a548154a0fe44d71cb0063fa05010f (diff) | |
download | op-kernel-dev-434a6c9f90f7ab5ade619455df01ef5ebea533ee.zip op-kernel-dev-434a6c9f90f7ab5ade619455df01ef5ebea533ee.tar.gz |
x86/KASLR: Initialize mapping_info every time
As it turns out, mapping_info DOES need to be initialized every
time, because pgt_data address could be changed during kernel
relocation. So it can not be build time assigned.
Without this, page tables were not being corrected updated, which
could cause reboots when a physical address beyond 2G was chosen.
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Baoquan He <bhe@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Borislav Petkov <bp@suse.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: kernel-hardening@lists.openwall.com
Cc: lasse.collin@tukaani.org
Link: http://lkml.kernel.org/r/1462825332-10505-2-git-send-email-keescook@chromium.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/watchdog/wdt285.c')
0 files changed, 0 insertions, 0 deletions