Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1238235

[PATCH 3.12 38/84] arm64: kconfig: Move LIST_POISON to a safe value

From Jiri Slaby <jslaby@suse.cz>
Newsgroups linux.kernel
Subject [PATCH 3.12 38/84] arm64: kconfig: Move LIST_POISON to a safe value
Date 2015-10-02 15:40 +0200
Message-ID <qf8J6-4MS-69@gated-at.bofh.it> (permalink)
References <qf8zn-4Bq-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Jeff Vander Stoep <jeffv@google.com>

3.12-stable review patch.  If anyone has any objections, please let me know.

===============

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 <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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
 arch/arm64/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index fe70eaea0e28..b07f9f356b87 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -56,6 +56,10 @@ config NO_IOPORT
 config STACKTRACE_SUPPORT
 	def_bool y
 
+config ILLEGAL_POINTER_VALUE
+	hex
+	default 0xdead000000000000
+
 config LOCKDEP_SUPPORT
 	def_bool y
 
-- 
2.6.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 3.12 38/84] arm64: kconfig: Move LIST_POISON to a safe value Jiri Slaby <jslaby@suse.cz> - 2015-10-02 15:40 +0200

csiph-web