arm64 Kconfig: Move LIST_POISON to a safe value
PATCH v2 1/1 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.
Signed-off-by Thierry Strudel <[email protected]>
Signed-off-by Jeff Vander Stoep <[email protected]>
---
v2 removes an extra newline.
arch/arm64/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm64/Kconfig +4 -0
@@ -104,6 +104,10 @@ config NO_IOPORT_MAP config STACKTRACE_SUPPORT def_bool y +config ILLEGAL_POINTER_VALUE + hex + default 0xdead000000000000 + config LOCKDEP_SUPPORT def_bool y
Signature · 1 line
2.5.0.276.gf5e568e
Quoted 6 lines · Jeff Vander Stoep
Move the poison pointer offset to
0xdead000000000000, a recognized value that is not mappable by user-space exploits.Signed-off-by Thierry Strudel <[email protected]>Signed-off-by Jeff Vander Stoep <[email protected]>---
Acked-by Catalin Marinas <[email protected]>