From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 04 Mar 2015 22:54:48 +0100 (CET) Received: from mail-wg0-f49.google.com ([74.125.82.49]:33679 "EHLO mail-wg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S27007079AbbCDVyr3m1-6 (ORCPT ); Wed, 4 Mar 2015 22:54:47 +0100 Received: by wghb13 with SMTP id b13so49564029wgh.0; Wed, 04 Mar 2015 13:54:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=lUpf/gaW9Ca3Z5n2UaICOdnfr/DcEUzrSkWlnYj51hg=; b=Cjem9B31G6Yu0BPF7YwTLPTScUAOfJNgjIhh7R7TIIFPeXf787UC89z6gOPjUiNllE 4E7H+IVbmgo1mG+LSacw0Sv6U8cmllWvEvHClGVCilERcx5lghcOje/urEIBfSpJFeDe wSOtlv7J907Cu/DDfn9x6bhYuiSjtFjn792O4XMxuInYl6W4GF/Qa5pMZhp5Tg5TMYAf tj1yHseCfrwteC25prR4ETh8LbMZJ0/34E/tWNI9FcKCXex3qcfoIpGSVAtLh0cUTM7/ 5cpc4j5uf56tRoxWVVeRkH20RRpT1nwgoI2DwwmlXD4CdmcicUJsEp4qyfaupi30fw0I czXQ== X-Received: by 10.180.90.145 with SMTP id bw17mr4877243wib.80.1425506082788; Wed, 04 Mar 2015 13:54:42 -0800 (PST) Received: from gmail.com (540334ED.catv.pool.telekom.hu. [84.3.52.237]) by mx.google.com with ESMTPSA id a13sm7691493wjx.30.2015.03.04.13.54.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Mar 2015 13:54:40 -0800 (PST) Date: Wed, 4 Mar 2015 22:54:37 +0100 From: Ingo Molnar To: Kees Cook Cc: akpm@linux-foundation.org, Ingo Molnar , Michael Ellerman , Hector Marco-Gisbert , Ismael Ripoll , Russell King , Catalin Marinas , Will Deacon , Ralf Baechle , Benjamin Herrenschmidt , Paul Mackerras , Martin Schwidefsky , Heiko Carstens , linux390@de.ibm.com, x86@kernel.org, Alexander Viro , Andy Lutomirski , Oleg Nesterov , "David A. Long" , Andrey Ryabinin , Arun Chandran , Yann Droneaud , Min-Hua Chen , Paul Burton , Alex Smith , Markos Chandras , Vineeth Vijayan , Jeff Bailey , Michael Holzheu , Ben Hutchings , Borislav Petkov , Jan-Simon =?iso-8859-1?Q?M=F6ller?= , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@linux-mips.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v4 0/10] split ET_DYN ASLR from mmap ASLR Message-ID: <20150304215437.GA22254@gmail.com> References: <1425503454-7531-1-git-send-email-keescook@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1425503454-7531-1-git-send-email-keescook@chromium.org> User-Agent: Mutt/1.5.23 (2014-03-12) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 46160 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: mingo@kernel.org Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips * Kees Cook wrote: > To address the "offset2lib" ASLR weakness[1], this separates ET_DYN > ASLR from mmap ASLR, as already done on s390. The architectures > that are already randomizing mmap (arm, arm64, mips, powerpc, s390, > and x86), have their various forms of arch_mmap_rnd() made available > via the new CONFIG_ARCH_HAS_ELF_RANDOMIZE. For these architectures, > arch_randomize_brk() is collapsed as well. > > This is an alternative to the solutions in: > https://lkml.org/lkml/2015/2/23/442 > > I've been able to test x86 and arm, and the buildbot (so far) seems > happy with building the rest. Ok, this looks really good - for all patches: Reviewed-by: Ingo Molnar Thanks, Ingo From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 167FE1A0330 for ; Thu, 5 Mar 2015 08:54:46 +1100 (AEDT) Received: by wggx13 with SMTP id x13so9381891wgg.4 for ; Wed, 04 Mar 2015 13:54:43 -0800 (PST) Sender: Ingo Molnar Date: Wed, 4 Mar 2015 22:54:37 +0100 From: Ingo Molnar To: Kees Cook Subject: Re: [PATCH v4 0/10] split ET_DYN ASLR from mmap ASLR Message-ID: <20150304215437.GA22254@gmail.com> References: <1425503454-7531-1-git-send-email-keescook@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1425503454-7531-1-git-send-email-keescook@chromium.org> Cc: linux-mips@linux-mips.org, Arun Chandran , Heiko Carstens , linux-kernel@vger.kernel.org, Min-Hua Chen , Paul Mackerras , Ismael Ripoll , Yann Droneaud , linux-s390@vger.kernel.org, Russell King , Andrey Ryabinin , x86@kernel.org, Hector Marco-Gisbert , Ingo Molnar , "David A. Long" , Catalin Marinas , Borislav Petkov , Ben Hutchings , Will Deacon , linux-fsdevel@vger.kernel.org, Alexander Viro , Michael Holzheu , linux-arm-kernel@lists.infradead.org, Jeff Bailey , Paul Burton , Oleg Nesterov , Ralf Baechle , Andy Lutomirski , Vineeth Vijayan , Markos Chandras , Jan-Simon =?iso-8859-1?Q?M=F6ller?= , Martin Schwidefsky , linux390@de.ibm.com, akpm@linux-foundation.org, linuxppc-dev@lists.ozlabs.org, Alex Smith List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , * Kees Cook wrote: > To address the "offset2lib" ASLR weakness[1], this separates ET_DYN > ASLR from mmap ASLR, as already done on s390. The architectures > that are already randomizing mmap (arm, arm64, mips, powerpc, s390, > and x86), have their various forms of arch_mmap_rnd() made available > via the new CONFIG_ARCH_HAS_ELF_RANDOMIZE. For these architectures, > arch_randomize_brk() is collapsed as well. > > This is an alternative to the solutions in: > https://lkml.org/lkml/2015/2/23/442 > > I've been able to test x86 and arm, and the buildbot (so far) seems > happy with building the rest. Ok, this looks really good - for all patches: Reviewed-by: Ingo Molnar Thanks, Ingo From mboxrd@z Thu Jan 1 00:00:00 1970 From: mingo@kernel.org (Ingo Molnar) Date: Wed, 4 Mar 2015 22:54:37 +0100 Subject: [PATCH v4 0/10] split ET_DYN ASLR from mmap ASLR In-Reply-To: <1425503454-7531-1-git-send-email-keescook@chromium.org> References: <1425503454-7531-1-git-send-email-keescook@chromium.org> Message-ID: <20150304215437.GA22254@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org * Kees Cook wrote: > To address the "offset2lib" ASLR weakness[1], this separates ET_DYN > ASLR from mmap ASLR, as already done on s390. The architectures > that are already randomizing mmap (arm, arm64, mips, powerpc, s390, > and x86), have their various forms of arch_mmap_rnd() made available > via the new CONFIG_ARCH_HAS_ELF_RANDOMIZE. For these architectures, > arch_randomize_brk() is collapsed as well. > > This is an alternative to the solutions in: > https://lkml.org/lkml/2015/2/23/442 > > I've been able to test x86 and arm, and the buildbot (so far) seems > happy with building the rest. Ok, this looks really good - for all patches: Reviewed-by: Ingo Molnar Thanks, Ingo From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH v4 0/10] split ET_DYN ASLR from mmap ASLR Date: Wed, 4 Mar 2015 22:54:37 +0100 Message-ID: <20150304215437.GA22254@gmail.com> References: <1425503454-7531-1-git-send-email-keescook@chromium.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: akpm@linux-foundation.org, Ingo Molnar , Michael Ellerman , Hector Marco-Gisbert , Ismael Ripoll , Russell King , Catalin Marinas , Will Deacon , Ralf Baechle , Benjamin Herrenschmidt , Paul Mackerras , Martin Schwidefsky , Heiko Carstens , linux390@de.ibm.com, x86@kernel.org, Alexander Viro , Andy Lutomirski , Oleg Nesterov , "David A. Long" , Andrey Ryabinin , Arun Chandran , Yann Droneaud , Min-Hua Chen , Paul Burton Return-path: Content-Disposition: inline In-Reply-To: <1425503454-7531-1-git-send-email-keescook@chromium.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org * Kees Cook wrote: > To address the "offset2lib" ASLR weakness[1], this separates ET_DYN > ASLR from mmap ASLR, as already done on s390. The architectures > that are already randomizing mmap (arm, arm64, mips, powerpc, s390, > and x86), have their various forms of arch_mmap_rnd() made available > via the new CONFIG_ARCH_HAS_ELF_RANDOMIZE. For these architectures, > arch_randomize_brk() is collapsed as well. > > This is an alternative to the solutions in: > https://lkml.org/lkml/2015/2/23/442 > > I've been able to test x86 and arm, and the buildbot (so far) seems > happy with building the rest. Ok, this looks really good - for all patches: Reviewed-by: Ingo Molnar Thanks, Ingo