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


Groups > linux.kernel > #1236054 > unrolled thread

[PATCH 3.16.y-ckt 051/133] arm64: kconfig: Move LIST_POISON to a safe value

Started byLuis Henriques <luis.henriques@canonical.com>
First post2015-09-30 12:30 +0200
Last post2015-09-30 12:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 3.16.y-ckt 051/133] arm64: kconfig: Move LIST_POISON to a safe value Luis Henriques <luis.henriques@canonical.com> - 2015-09-30 12:30 +0200

#1236054 — [PATCH 3.16.y-ckt 051/133] arm64: kconfig: Move LIST_POISON to a safe value

FromLuis Henriques <luis.henriques@canonical.com>
Date2015-09-30 12:30 +0200
Subject[PATCH 3.16.y-ckt 051/133] arm64: kconfig: Move LIST_POISON to a safe value
Message-ID<qemO6-2bO-5@gated-at.bofh.it>
3.16.7-ckt18 -stable review patch.  If anyone has any objections, please let me know.

------------------

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

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: Luis Henriques <luis.henriques@canonical.com>
---
 arch/arm64/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 839f48c26ef0..316ed8cf5bc0 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -81,6 +81,10 @@ config NO_IOPORT_MAP
 config STACKTRACE_SUPPORT
 	def_bool y
 
+config ILLEGAL_POINTER_VALUE
+	hex
+	default 0xdead000000000000
+
 config LOCKDEP_SUPPORT
 	def_bool y
 
--
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/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web