Commit 49865041 authored by Jeff Vander Stoep's avatar Jeff Vander Stoep Committed by Luis Henriques

arm64: kconfig: Move LIST_POISON to a safe value

commit bf0c4e04 upstream.

Move the poison pointer offset to 0xdead000000000000, a
recognized value that is not mappable by user-space exploits.
Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarThierry Strudel <tstrudel@google.com>
Signed-off-by: default avatarJeff Vander Stoep <jeffv@google.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
parent b3af1914
...@@ -81,6 +81,10 @@ config NO_IOPORT_MAP ...@@ -81,6 +81,10 @@ config NO_IOPORT_MAP
config STACKTRACE_SUPPORT config STACKTRACE_SUPPORT
def_bool y def_bool y
config ILLEGAL_POINTER_VALUE
hex
default 0xdead000000000000
config LOCKDEP_SUPPORT config LOCKDEP_SUPPORT
def_bool y def_bool y
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment