Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: kconfig: Move LIST_POISON to a safe value

Move the poison pointer offset to 0xdead000000000000, a
recognized value that is not mappable by user-space exploits.

Cc: <stable@vger.kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Thierry Strudel <tstrudel@google.com>
Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>

authored by

Jeff Vander Stoep and committed by
Will Deacon
bf0c4e04 9a5ad7d0

+4
+4
arch/arm64/Kconfig
··· 106 106 config STACKTRACE_SUPPORT 107 107 def_bool y 108 108 109 + config ILLEGAL_POINTER_VALUE 110 + hex 111 + default 0xdead000000000000 112 + 109 113 config LOCKDEP_SUPPORT 110 114 def_bool y 111 115