Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp265974rdb; Sat, 30 Sep 2023 03:55:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGj7U5HXmIVScnputaaCgkEglykTS/4Ij94A3NAwjvrPgQkJY/SIm4cn9NKObcbx3ekPZ2Z X-Received: by 2002:a05:6a21:186:b0:12e:5f07:7ede with SMTP id le6-20020a056a21018600b0012e5f077edemr8223315pzb.41.1696071328843; Sat, 30 Sep 2023 03:55:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696071328; cv=none; d=google.com; s=arc-20160816; b=ItYFGDdxw1fB2MybP7Ffu283LTDvQyfpF5g3VNi+rDYXpwjLS34mWM8v/AP4eFrZdd CMhJ+BtNWMH/htikGCo+cQapvnZovOP+22rudMeHlhc4Fab9LmqYvwgIJ7zNtU/y66d3 ZAR5JBGc4hx17l054PP19Z7/ssK0anqRnkVYZ5/bMyJC1rwTwFcFcAJOL7ybu+qhV0FI tNohin6+dCAlfB1b+cwu7iYcDm2oiNAidAIGKnGbO8gYZoJlvtvBCDlNzf+g21o8LRi1 MxmlpDY4M5PvNX1WjpQrlZ9rDNq46sEAdPV8aCgNzdkBhYtrYN4S64A+gNSCRuzPy5iC W14w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=AsjkU9sd/Uxf4RtLULirbDyU2qsyvP7kZCyEPcyynys=; fh=pDS2mF7xR8ZBm10RAt4lftwIVe1xoQBiI2pf7WNZjpM=; b=tcDi0zxM+1pAZ4FAB1oSWkNA3LrusTTOBfaKWJYfKoqSlyk64vnCJ2eWnhQNI2f635 dt4+7ok1Y2CmEVR4yPKJ1Fpq31PzjHvGKzTHs2Cdd/YaE2OYlCdyRaS5RMH7buXLDQA1 L/i6oztQG7AIVp1dFIZZyAQD6SJNgbxgRF+bh6KVYSSCK+NFzIal9m5HmMTSIXkwkdq/ UKwpPfy6EFAsRQ3uOpzDwSrodohpwUJJiEdsNwnCqa8YSU62XoLL1Wsk6n8AwJL/MDGP NXe/DWPkMjSImua1cv9+Vfq9ep2lPhRJflk6i+sJGaUI4cRbixnIgtKDgQlsEkV7hTPW uirA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=NCeltnBd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id s15-20020a63770f000000b0057e21f51ab3si8312965pgc.665.2023.09.30.03.55.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Sep 2023 03:55:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=NCeltnBd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 40DE0828F22B; Fri, 29 Sep 2023 10:07:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233594AbjI2RHJ (ORCPT + 99 others); Fri, 29 Sep 2023 13:07:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233429AbjI2RHH (ORCPT ); Fri, 29 Sep 2023 13:07:07 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C414B4 for ; Fri, 29 Sep 2023 10:07:05 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1c61bde0b4bso86388595ad.3 for ; Fri, 29 Sep 2023 10:07:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1696007225; x=1696612025; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=AsjkU9sd/Uxf4RtLULirbDyU2qsyvP7kZCyEPcyynys=; b=NCeltnBdboNqY3m4comfuM3gPNdZpKk70J0U63U5CxU9ofdtb+QgtlV7crt5UtkpZu 19p8+eukakv9kyKt1xbgJwenhrj1y51IBU0fMS3CSIfQQ7vP1SBOJ5asgtvaOSxS9LyA 0iO+ZBAjpfqtA6tUDDah1x6dVEgNaJc9SJURM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696007225; x=1696612025; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=AsjkU9sd/Uxf4RtLULirbDyU2qsyvP7kZCyEPcyynys=; b=gFZo8H5p7DlCD+mGypwWClHAlNz1IN7bBDT2pNongXiJUpRY6eMnDPvXzabDwSAO2U SKnLN/kN/sjVHj9joJeta9/5QreRqJzM/LjHVktuNI3zN1BQ9u9JZZ1KsVI5v4GuBBxY yTZv6opUYBO1Ylw9YpFPPEOLIUwW781bU1uDxxh55VTBf54eL02Gqr4kiRyptv6ZiN+L CwClb3El00WYfXDf7iney7L31HJ9b7ErfUE5pukURu7sHDsexfizTEn6D8uVltsQgkMl qnpxxnjXs3pUAnBvbkPIokESKYApY7d3BVDgsGgJZqbvhO4TO97jQ+gq45IGkZ9/3Sgy JYMQ== X-Gm-Message-State: AOJu0YyZsaRHvjOj+whudvCEFRZQP1YxXYjUVTp4SzHEmPu52YHLYqTe LX4P5brM+s9A3MNYcLsT3yF0Jg== X-Received: by 2002:a17:903:1ca:b0:1c3:e5bf:a9f8 with SMTP id e10-20020a17090301ca00b001c3e5bfa9f8mr6044483plh.19.1696007224586; Fri, 29 Sep 2023 10:07:04 -0700 (PDT) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id iw15-20020a170903044f00b001c5d09e9437sm17218637plb.25.2023.09.29.10.07.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 10:07:04 -0700 (PDT) Date: Fri, 29 Sep 2023 10:07:03 -0700 From: Kees Cook To: Pedro Falcato Cc: Eric Biederman , Sebastian Ott , Thomas =?iso-8859-1?Q?Wei=DFschuh?= , Al Viro , Christian Brauner , Andrew Morton , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH v4 0/6] binfmt_elf: Support segments with 0 filesz and misaligned starts Message-ID: <202309291006.E9FB95D0B@keescook> References: <20230929031716.it.155-kees@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 29 Sep 2023 10:07:16 -0700 (PDT) On Fri, Sep 29, 2023 at 12:58:18PM +0100, Pedro Falcato wrote: > So on that end, you can take my > > Tested-by: Pedro Falcato Thanks! -- Kees Cook