diff options
author | Kees Cook <keescook@chromium.org> | 2014-09-11 09:19:31 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-09-19 13:04:29 +0200 |
commit | 0cacbfbeb5077b63d5d3cf6df88b14ac12ad584b (patch) | |
tree | 9bb11c6c1601404990f7ed17b3573c4d155b38f3 /arch/mips/include/asm/switch_to.h | |
parent | 43657ffb79eba5234333d8657457774c0d3bff46 (diff) | |
download | op-kernel-dev-0cacbfbeb5077b63d5d3cf6df88b14ac12ad584b.zip op-kernel-dev-0cacbfbeb5077b63d5d3cf6df88b14ac12ad584b.tar.gz |
x86/kaslr: Avoid the setup_data area when picking location
The KASLR location-choosing logic needs to avoid the setup_data
list memory areas as well. Without this, it would be possible to
have the ASLR position stomp on the memory, ultimately causing
the boot to fail.
Signed-off-by: Kees Cook <keescook@chromium.org>
Tested-by: Baoquan He <bhe@redhat.com>
Cc: stable@vger.kernel.org
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/20140911161931.GA12001@www.outflux.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/mips/include/asm/switch_to.h')
0 files changed, 0 insertions, 0 deletions