diff options
author | Rik van Riel | 2017-07-12 14:36:23 -0700 |
---|---|---|
committer | Linus Torvalds | 2017-07-12 16:26:03 -0700 |
commit | bf9eb5443844e288b73f7963dfc67a0d2fbc3849 (patch) | |
tree | 1891d6e309923092a4f6bd8bede3ae37ccb50be6 /arch/arm64 | |
parent | 7cd815bce828220deffd1654265f0ef891567774 (diff) |
x86: ascii armor the x86_64 boot init stack canary
Use the ascii-armor canary to prevent unterminated C string overflows
from being able to successfully overwrite the canary, even if they
somehow obtain the canary value.
Inspired by execshield ascii-armor and Daniel Micay's linux-hardened
tree.
Link: http://lkml.kernel.org/r/20170524155751.424-4-riel@redhat.com
Signed-off-by: Rik van Riel <riel@redhat.com>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: Daniel Micay <danielmicay@gmail.com>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions