Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754091AbbHRTuU (ORCPT ); Tue, 18 Aug 2015 15:50:20 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:34611 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752501AbbHRTuQ (ORCPT ); Tue, 18 Aug 2015 15:50:16 -0400 From: Jeff Vander Stoep To: catalin.marinas@arm.com Cc: rmk@arm.linux.org.uk, will.deacon@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, nnk@google.com, tstrudel@google.com, Jeff Vander Stoep Subject: [PATCH v2] arm64 Kconfig: Move LIST_POISON to a safe value Date: Tue, 18 Aug 2015 12:50:10 -0700 Message-Id: <1439927410-15522-1-git-send-email-jeffv@google.com> X-Mailer: git-send-email 2.5.0.276.gf5e568e Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 913 Lines: 34 Move the poison pointer offset to 0xdead000000000000, a recognized value that is not mappable by user-space exploits. Signed-off-by: Thierry Strudel Signed-off-by: Jeff Vander Stoep --- v2 removes an extra newline. arch/arm64/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 318175f..8f1789c 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -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 -- 2.5.0.276.gf5e568e -- 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/