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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07B89C433F5 for ; Tue, 1 Feb 2022 22:48:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241992AbiBAWsW (ORCPT ); Tue, 1 Feb 2022 17:48:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241098AbiBAWsW (ORCPT ); Tue, 1 Feb 2022 17:48:22 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D178EC061714; Tue, 1 Feb 2022 14:48:21 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 82777CE1AEA; Tue, 1 Feb 2022 22:48:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8300AC340EB; Tue, 1 Feb 2022 22:48:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1643755697; bh=6VuQf9TIZTK1f+3lkmlRD8xm4paGNLM5msg4bP90rnM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=QLZ9jv1p1aTh2q4B+bk0sRH/K8JZbAauWeMSaNqysWmWNeIBkGPeDQI6rxCKd4tMa jodUckzxV9Tw/w5LzFqxVZgxgGzulASHrj4s7t7eTpL1IdbQdWJErMd7KD9+Eetyqp qc9Fj5pcgKCw7n8br/CEAig5o0sSctFwAMWgfPDk= Date: Tue, 1 Feb 2022 14:48:16 -0800 From: Andrew Morton To: Kees Cook Cc: Alexey Dobriyan , Magnus =?ISO-8859-1?Q?Gro=DF?= , Alexander Viro , Eric Biederman , linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH] elf: Relax assumptions about vaddr ordering Message-Id: <20220201144816.f84bafcf45c21d01fbc3880a@linux-foundation.org> In-Reply-To: <202201281347.F36AEA5B61@keescook> References: <202201260845.FCBC0B5A06@keescook> <202201262230.E16DF58B@keescook> <202201281347.F36AEA5B61@keescook> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Fri, 28 Jan 2022 14:30:12 -0800 Kees Cook wrote: > Andrew, can you update elf-fix-overflow-in-total-mapping-size-calculation.patch > to include: > > Fixes: 5f501d555653 ("binfmt_elf: reintroduce using MAP_FIXED_NOREPLACE") > Cc: stable@vger.kernel.org > Acked-by: Kees Cook Done. I'm taking it that we can omit this patch ("elf: Relax assumptions about vaddr ordering") and that Alexey's "ELF: fix overflow in total mapping size calculation" will suffice?