Commit 584f19f3 authored by Jeff Vander Stoep's avatar Jeff Vander Stoep Committed by Jiri Slaby

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 avatarJiri Slaby <jslaby@suse.cz>
parent aa21b9a6
...@@ -56,6 +56,10 @@ config NO_IOPORT ...@@ -56,6 +56,10 @@ config NO_IOPORT
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