Received: by 10.213.65.68 with SMTP id h4csp1038362imn; Thu, 22 Mar 2018 13:58:59 -0700 (PDT) X-Google-Smtp-Source: AG47ELtRuoxeJpyYSPKQMWI151AYmBM1ubiMR+hRjxN0q0EcgNc1krS1DB6qcCs1mIuApHI5I/bX X-Received: by 2002:a17:902:341:: with SMTP id 59-v6mr25816306pld.407.1521752339818; Thu, 22 Mar 2018 13:58:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521752339; cv=none; d=google.com; s=arc-20160816; b=SndkiFpmgW+Dkv/vMIGesskk2lfR0DF0w/bYOyUyFyDgsqEL1+26LGQ7ghbF8q8S1d bR/QxaAw6HnWXZIHLcCqlMYi5Z+QclwK88zlRl+eGg2AVokNIThE3EWPcPNJym6ZPl3L sxKXp6BFxb2qFcD1epxHM/uhVaYcliQrNWgKZu3G1R6X5OFTvHaNhGqntms6320AHU5+ IEAI6aq/udgGUElVQyc3+AM2U3Ds4x4Lgu5sXXf7BVKBfHNWrm2t5DDBnjr8S4xbumMa 6wYdlptMDv3Nnk5vptBtiNfWsfomcV2a3Oc4PHu2lVULnoJZhuogWkDynRkrj/gxbsvW WrQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=+iTo3lV84MfrpWaxuEHr/Y7H4ZJpPvUGgSmUsb/Wr68=; b=qthLSCs92VzbRU6I0mHfCH1ix23VJirDWocizTcoucfZIHLD3AeMB3zOiLbZvMaTfY kEYeQxUSSWdt6dnD79alkCT9FXcsVVOGhTAl2o3ftW481RJTJcWcmbMp69Hcim1Qntsm VmYpA/kxGs8Yyg3uDAJ0dSKjWWxvoN6/JM+gpRf1apOwIDr6KOoLRLKaVmjq6/P5hsZc M5XNTw5QnPEZJ6etonOpkWDpX8/F1454h3drs4kmObEwKTStbMU9NpDaBcHlS02m8C0o 4BJM3knH8URYijYVTRNpawGiGE+4eeB2hbofdYrn11pdbGEAZStf0QcJ8QuzRtvQ1sRq juoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m6si4920995pgp.831.2018.03.22.13.58.45; Thu, 22 Mar 2018 13:58:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751854AbeCVU5f (ORCPT + 99 others); Thu, 22 Mar 2018 16:57:35 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:57656 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751752AbeCVU5d (ORCPT ); Thu, 22 Mar 2018 16:57:33 -0400 Received: from akpm3.svl.corp.google.com (unknown [104.133.9.71]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 4ACD4E8F; Thu, 22 Mar 2018 20:57:30 +0000 (UTC) Date: Thu, 22 Mar 2018 13:57:29 -0700 From: Andrew Morton To: Ilya Smith Cc: rth@twiddle.net, ink@jurassic.park.msu.ru, mattst88@gmail.com, vgupta@synopsys.com, linux@armlinux.org.uk, tony.luck@intel.com, fenghua.yu@intel.com, jhogan@kernel.org, ralf@linux-mips.org, jejb@parisc-linux.org, deller@gmx.de, benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, ysato@users.sourceforge.jp, dalias@libc.org, davem@davemloft.net, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, nyc@holomorphy.com, viro@zeniv.linux.org.uk, arnd@arndb.de, gregkh@linuxfoundation.org, deepa.kernel@gmail.com, mhocko@suse.com, hughd@google.com, kstewart@linuxfoundation.org, pombredanne@nexb.com, steve.capper@arm.com, punit.agrawal@arm.com, paul.burton@mips.com, aneesh.kumar@linux.vnet.ibm.com, npiggin@gmail.com, keescook@chromium.org, bhsharma@redhat.com, riel@redhat.com, nitin.m.gupta@oracle.com, kirill.shutemov@linux.intel.com, dan.j.williams@intel.com, jack@suse.cz, ross.zwisler@linux.intel.com, jglisse@redhat.com, willy@infradead.org, aarcange@redhat.com, oleg@redhat.com, linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, linux-metag@vger.kernel.org, linux-mips@linux-mips.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-mm@kvack.org Subject: Re: [RFC PATCH v2 0/2] Randomization of address chosen by mmap. Message-Id: <20180322135729.dbfd3575819c92c0f88c5c21@linux-foundation.org> In-Reply-To: <1521736598-12812-1-git-send-email-blackzert@gmail.com> References: <1521736598-12812-1-git-send-email-blackzert@gmail.com> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 22 Mar 2018 19:36:36 +0300 Ilya Smith wrote: > Current implementation doesn't randomize address returned by mmap. > All the entropy ends with choosing mmap_base_addr at the process > creation. After that mmap build very predictable layout of address > space. It allows to bypass ASLR in many cases. Perhaps some more effort on the problem description would help. *Are* people predicting layouts at present? What problems does this cause? How are they doing this and are there other approaches to solving the problem? Mainly: what value does this patchset have to our users? This reader is unable to determine that from the information which you have provided. Full details, please.