From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E70A5C3F68F for ; Wed, 12 Feb 2020 09:28:24 +0000 (UTC) Received: from mother.openwall.net (mother.openwall.net [195.42.179.200]) by mail.kernel.org (Postfix) with SMTP id 453F220848 for ; Wed, 12 Feb 2020 09:28:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 453F220848 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernel-hardening-return-17787-kernel-hardening=archiver.kernel.org@lists.openwall.com Received: (qmail 32265 invoked by uid 550); 12 Feb 2020 09:28:16 -0000 Mailing-List: contact kernel-hardening-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Received: (qmail 32191 invoked from network); 12 Feb 2020 09:28:15 -0000 Date: Wed, 12 Feb 2020 09:28:00 +0000 From: Catalin Marinas To: Kees Cook Cc: Ingo Molnar , Hector Marco-Gisbert , Will Deacon , Jason Gunthorpe , Jann Horn , Russell King , x86@kernel.org, kernel-hardening@lists.openwall.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v3 6/7] arm64, elf: Disable automatic READ_IMPLIES_EXEC for 64-bit address spaces Message-ID: <20200212092800.GD488264@arrakis.emea.arm.com> References: <20200210193049.64362-1-keescook@chromium.org> <20200210193049.64362-7-keescook@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200210193049.64362-7-keescook@chromium.org> On Mon, Feb 10, 2020 at 11:30:48AM -0800, Kees Cook wrote: > With arm64 64-bit environments, there should never be a need for automatic > READ_IMPLIES_EXEC, as the architecture has always been execute-bit aware > (as in, the default memory protection should be NX unless a region > explicitly requests to be executable). > > Suggested-by: Hector Marco-Gisbert > Signed-off-by: Kees Cook Reviewed-by: Catalin Marinas