[3.16.y-ckt stable] Patch "arm64: kconfig: Move LIST_POISON to a safe value" has been added to staging queue

Luis Henriques luis.henriques at canonical.com
Mon Sep 28 17:21:09 UTC 2015


This is a note to let you know that I have just added a patch titled

    arm64: kconfig: Move LIST_POISON to a safe value

to the linux-3.16.y-queue branch of the 3.16.y-ckt extended stable tree 
which can be found at:

    http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.16.y-queue

This patch is scheduled to be released in version 3.16.7-ckt18.

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.16.y-ckt tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Luis

------

>From 498650412c62fa521c940d8f133660893e84de44 Mon Sep 17 00:00:00 2001
From: Jeff Vander Stoep <jeffv at google.com>
Date: Tue, 18 Aug 2015 20:50:10 +0100
Subject: arm64: kconfig: Move LIST_POISON to a safe value

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 at arm.com>
Signed-off-by: Thierry Strudel <tstrudel at google.com>
Signed-off-by: Jeff Vander Stoep <jeffv at google.com>
Signed-off-by: Will Deacon <will.deacon at arm.com>
Signed-off-by: Luis Henriques <luis.henriques at 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





More information about the kernel-team mailing list