From: Jeff Vander Stoep Date: Tue, 18 Aug 2015 19:50:10 +0000 (+0100) Subject: arm64: kconfig: Move LIST_POISON to a safe value X-Git-Tag: v4.1.9~144 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1bcc586eae97f5dfb9249c2d8c9406f0f8da57ae;p=users%2Fjedix%2Flinux-maple.git arm64: kconfig: Move LIST_POISON to a safe value commit bf0c4e04732479f650ff59d1ee82de761c0071f0 upstream. Move the poison pointer offset to 0xdead000000000000, a recognized value that is not mappable by user-space exploits. Acked-by: Catalin Marinas Signed-off-by: Thierry Strudel Signed-off-by: Jeff Vander Stoep Signed-off-by: Will Deacon Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 7796af4b1d6f..99fe93a5021f 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -101,6 +101,10 @@ config NO_IOPORT_MAP config STACKTRACE_SUPPORT def_bool y +config ILLEGAL_POINTER_VALUE + hex + default 0xdead000000000000 + config LOCKDEP_SUPPORT def_bool y