Skip to contentSkip to conversation

arm64 Kconfig: Move LIST_POISON to a safe value

PATCH Superseded Jeff Vander Stoep 1 participant 1 message Aug 18, 2015 arm64

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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.

---
 arch/arm64/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/Kconfig +5 -0
index 9532f8d..c003911 100644
@@ -91,6 +91,11 @@ 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.rc2.392.g76e840b