Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1503238lql; Tue, 12 Mar 2024 22:23:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWgSK/mufTBtfBMK0AtIVctnH+QAQcDXeAMi+jR7kfcJlYHbDk7Hbd4khsA/h1Vu0QSbXilD9CjcH//jYz70+dw3NR6NZBY7skzoemsXQ== X-Google-Smtp-Source: AGHT+IEfZkl0tbNgrNwLCNLk0Mh09oPEczvSrFZPao8A3085gzM5+tXyIT2jCyhHaCKA5m425Rlz X-Received: by 2002:a05:6808:2e85:b0:3c2:3ff8:a72f with SMTP id gt5-20020a0568082e8500b003c23ff8a72fmr3100998oib.12.1710307433770; Tue, 12 Mar 2024 22:23:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710307433; cv=pass; d=google.com; s=arc-20160816; b=m4Y46ZFAWrTJSrek97vIBM5QjmCJj9DJglaeEn+xsvZ0n42QKT3gqq3HIHrdZtssZa ZdskzEa1Ippxb4hulTBDDUXAuQmKIql3RCOgFs0w6lMeSxpGaMoKsP8MeyG6ZUKJjVy/ tsBTE8BXreiDJuttKnXk8exDQLMOtYmWLXrmyY9/BZRTOpJPMuvr9ahfVz8FnHLk/EX2 kQ27j0qrvOUfRCED20f3hdOQHgjzfn1+fuo+Xk8/PvRnXvvG18MHpFcvsyJe50HlxYK4 jd1xCugrqw9NRDzXYPiAmTjsTudFI6bfPBBoZP9Gn77WCQLOCXdjpKkjam6Gz08PDr73 K7/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=JCdhNj8nwtztGikhrapa3sVqt7Ox4agy0aN+y1rOFmw=; fh=qWZo6mXzK6t9bGplPWFOpwnw3g0ay9/Wv4Ahy1nlTjM=; b=hq/8P+7LT37zMPboXxp1+aZQ+oII5fGOz2Q09ZWlzYAollNHK415OzZDSLFKecvA3m 9NMQXJJGVvqnw675PAjyno81iQzoWJTe6MTtRWEyEAZorJoIi4XIWeGfd7e4SjynDY48 qDNrHS9IbwVFk9Fa41YpTmB9uOlqleXd5lq2TeXkk/d7Rvo9QAwlLJZPaBO8oXc8V0aQ HN6hG3i0P0qn3rvWnkFLA2lL7qdDzSppeoAqIql8NZwCVXp8XU95a8iSDgQrburbjkmZ WRNrQJkMHbspPzbC8gvQG6qfRfsQeTBuu1JueT5ZP6xI3x8+4+G1wSkkAiKgdzdx2MbG 0AzA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=IIKu5lI5; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-101115-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101115-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i17-20020aa78d91000000b006e641fee5bdsi5391848pfr.112.2024.03.12.22.23.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 22:23:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-101115-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=IIKu5lI5; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-101115-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101115-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 676F1282130 for ; Wed, 13 Mar 2024 05:23:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C7F0712E4E; Wed, 13 Mar 2024 05:23:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="IIKu5lI5" Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A84DC14005 for ; Wed, 13 Mar 2024 05:23:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710307426; cv=none; b=KGvmNKF/uvV9ypU0kPL7ezTtfysAAjTLOhrOxKg3TG/V2QNvtKChszg6Yu5Xs9TA7WmSTUqRrSQHo3ma7kgzMJ0SYNf7igvPyv53Qbjb0/ErSPdcEmh8GS7DZykoY5Wc2/UEBKSMQ25zMZiQPSiIRI+B7LWGR75BXSZk6VumT78= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710307426; c=relaxed/simple; bh=zYil7VB1TCYdWVBYlwEPEVqd8EWzj5DvATtjlgOwLv0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=U27AjPQwL9WQWZ96PueKpE089m63QdyNUkmMEAHIi/9g9mR3k5vjkSVSDR8Sjr03zd1FLHv1dhTy5b1cRvWMewaL+lBDDpfE/+DefN4ZAJwJbKlBaRRuhENalvx0f4QI6dYL92lJ4hvYw0BbSoSUsZReoXej0ODk4BGb7ri5vPc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=IIKu5lI5; arc=none smtp.client-ip=209.85.210.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-6e6b5831bc8so488705b3a.0 for ; Tue, 12 Mar 2024 22:23:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1710307424; x=1710912224; 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=JCdhNj8nwtztGikhrapa3sVqt7Ox4agy0aN+y1rOFmw=; b=IIKu5lI5PCyZ4r7I1/i2o0/e6NVIghYcyIlxqGToNBYfXUYFdFC1xLymwLzB3SqrYc bhS96H8PRMOtA7qc2ddD89jbv+rsl8e5KdWAMZpGZnUUOM9qaH5LRtyZi1ukJ6s9TSz3 DPI1pNZxs2iy9EZQNu8NqF9CTnd6SFtfhgceU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710307424; x=1710912224; 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=JCdhNj8nwtztGikhrapa3sVqt7Ox4agy0aN+y1rOFmw=; b=Auna8tVCzkROWPt+D7m9Dz/2rLaOCRSaB8Ob/rLcQFe91A1ApjuYssbGN6VsQOxAGi mm6YSKDBZ8SKmgsA6VnugDR0Uj4fo+wf1QvtmujVxrcYdOs1bkfoKsjFv88IR7S+n5Ij 6fCGxZty9JKDrsSYmxSVf/gBGCD4fP5cE+T9oesjdaBks7CXvozrYgZ8iag510kD7GVw Jwri1bRH9lNLrKM0XKUaSxLT86az+mlLDTkGcg6fb+PzYa/Z+CHjJXXrZH6E03yHTNJU poEcJau7jCei9bN9iJK3bFSn3LO/BDAkOSI4n9bDcS2PZYz5DhKlh3BFP7CqlhHLAyNR 9ZNg== X-Forwarded-Encrypted: i=1; AJvYcCVaXOYS3+UNnd8Q8OeyvpWHyMorH6KK+yCpynKKBELTRfir4ltrGrlLEOE9Ret7vlTozToeoiHdlpc+euR6cAhl4yJ4RkMbcN4aNYhO X-Gm-Message-State: AOJu0YwU3KT7GKx1sEGkqfQdwdB5Np+fGx3lAjJ/Iy6rSkDiP7dH6KKV mm4JXYojWdYOGlnZRzf7n3PXw3+EhqV/IN/6HUMz+KVW7oT1/xbzvRjGKSNXIcqA2C1d23o5pgY = X-Received: by 2002:a05:6a20:d904:b0:1a1:5039:afe2 with SMTP id jd4-20020a056a20d90400b001a15039afe2mr2559506pzb.19.1710307423947; Tue, 12 Mar 2024 22:23:43 -0700 (PDT) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id a5-20020a170902ecc500b001db5bdd5e33sm2169948plh.48.2024.03.12.22.23.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 22:23:43 -0700 (PDT) Date: Tue, 12 Mar 2024 22:23:42 -0700 From: Kees Cook To: Muhammad Usama Anjum Cc: Eric Biederman , Shuah Khan , Mark Brown , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, "kernel@collabora.com" Subject: Re: [Test Failure Report] exec: Test failures in execveat Message-ID: <202403122219.F96418D@keescook> References: <02c8bf8e-1934-44ab-a886-e065b37366a7@collabora.com> <202403051256.7A50FE28E7@keescook> <202403071238.AC7BD90@keescook> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Mar 11, 2024 at 10:08:36PM +0500, Muhammad Usama Anjum wrote: > On 3/8/24 1:39 AM, Kees Cook wrote: > > On Thu, Mar 07, 2024 at 02:22:27PM +0500, Muhammad Usama Anjum wrote: > >> I've tested this patch. Still getting same failures. > > > > Okay, thanks for testing! > > > > What environment are you testing under? It would seem like some unexpected > > userspace conditions exist that the test isn't prepared for. (I was able > > to reproduce one error with /bin/dash, for example, but not the others, > > so something must be different in the set up.) > I'm testing on Debian Bookworm with v6.1, v6.7 and next-20240304 kernels. > I've tested it on another VM which is also Debian Bookworm. The default > shell is dash on Debian as well. Thanks! Okay, I can reproduce these failures now under a Bookworm install. I'll keep investigating... -- Kees Cook