Commit f828609f authored by Jeff Vander Stoep's avatar Jeff Vander Stoep Committed by Greg Kroah-Hartman

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 avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 957c0c65
...@@ -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