Received: by 2002:ab2:5c0e:0:b0:1ef:a325:1205 with SMTP id i14csp249834lqk; Thu, 14 Mar 2024 01:51:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVXslEWW5ncUhj8aWB5P8dtVK5wJNMUFzUZPY4fOwGbMWovQIlCcTsqNWQX7oTbktKt49253HNjDEUQ3jC9GAca4eW4+LPvPzdxzgoTGA== X-Google-Smtp-Source: AGHT+IGt6ld3eny4FqKYAZbPxG6TTta3yv9tvtO1Oeu5Iu3n7WFnWNNPxdKlK0gcIYzanMF4xdH+ X-Received: by 2002:a17:902:d4d0:b0:1dd:e403:a082 with SMTP id o16-20020a170902d4d000b001dde403a082mr1712343plg.1.1710406290937; Thu, 14 Mar 2024 01:51:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710406290; cv=pass; d=google.com; s=arc-20160816; b=Hz/96MroH1CFKYiRUJ0G+3KK1Zrwxs72b/OMFOmD9yJPgtMUdZgskcsTYBSGjQfCSN FO+9lFlgUEMix/qPBCoINsIMhhMm69fBoVylHRn9V/zCY817t9BXGTjsjYWSWrnW8fJo FfQ+OHVWQPahhBXO9k6lvhW7++d4JHd9YrbT1UbWEBpxTeTdScxQ5ekRWKaWvVZdfzDq ywgPH5ujKaHDPgyJVt/MSZNR5kHEO12EPmVYBp+SeYOwOjbHvhnshdQYKs2iNoUjTxmL jjawslylk2pKMwne9KEaPvYjIPqKNA3RYuv9DBD31vDXkWJpB0XafsLQZ9yvDi0kUDA9 nj5w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:cc:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=OJ3jtn/lT2r4ruw0Kfmo/R75Igcu1JAcV79lTgm2G2c=; fh=htB/n1tR4OLW4kVG12MqKig70QMpcz+Cx/D9Fwd2FcI=; b=dn8B4tiPdqEavp/ZLIx4PN0iZN1Jif40RVPW+KHZt0lLf6B2d5XJeXUqRKH5Y7s8RA 9onN4CuMnjYo7yQF4xdKPEWW8ie1gWb/HcmSJ2J3XEgNORTbMe1aezuaJvMqB+NLTdxR 5wQncaoaVyycYxqT0zmVApbqwtHM7sYYsye+gkuhQ2MBrWCoiJAC8VYPeVWM9l6aojzp HHauWzkpPh+y7SLhwPzaagJQySiX7Zy8fiVKjiiDdlKJVGQ5SIxH89nQcCiphlWQw50f F7gdvo9g5mUbLt7ikD/LXzoT4yCHAFH/X1gZaZELR2llt5PwsIfMc7/tMpUwmGLA00mG 0pZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=GeJQuTwT; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-103007-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103007-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b15-20020a170902e94f00b001dd10ab7358si1061866pll.528.2024.03.14.01.51.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 01:51:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103007-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=GeJQuTwT; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-103007-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103007-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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 95AA62822C2 for ; Thu, 14 Mar 2024 08:51:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 782056E611; Thu, 14 Mar 2024 08:49:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="GeJQuTwT" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 20C856E2BD; Thu, 14 Mar 2024 08:49:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710406166; cv=none; b=YiyzVTK+YhCpD+tL5UZ0ivNjqOmGzxO8YEFt9EiOFWKekfYG8fF8ENoDsHg0dFZH3AEqg6b7n6pJlQsPbC6RbOlt8YrqTf/63Ec14kmJ0aL16ysL9QpJDUEl4w1qxwRKx6+K7o15HjYGTx/2WY+M4VIDHR+qFYnTuJpmm4JM/O4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710406166; c=relaxed/simple; bh=Oe3BH7USiNUFWKTKhcA9+9IjBgMb9I3pa6CrE41kAjg=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=VfW6WX/TKW1IMd3pqAHjCZCFAlNGw+UUiKnVKVEqpeJhIfY291/ED/Fb/L3xuWGDH8wJmaX+A+OmX19e4lexxm5jnpwVk/8O5sYCMa/r09uWj63Dwh8d77Xu+liRqwrw6PynDLm5/tAKTTd002DxsusyLqdOgB0FylA2nyEGyzw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=GeJQuTwT; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1710406163; bh=Oe3BH7USiNUFWKTKhcA9+9IjBgMb9I3pa6CrE41kAjg=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=GeJQuTwT5jRMjSydCuhTtQLMeOC0n16/LaJX9cWExlWBjrAESWPs3EuGPBBE7uV3d m2VewCjjJ27T1xFjaycTfpa0o6Y7hDNrdQZDII1v1INDiPmy9x6K0CNNN7tpa3Agem ahRZBNmZygr9p9ZXKmdwfB3pw1FwsqEYa1e/RPa5xcw/ftSFgw++BfjcsTz69yOGRo 1meEqv/y5/BYiPucBnCREN78o0HE4d4Ip3/IIPhrFTUoakoRsvwp7qMjLdKIl4Gvai xxdcGXma0Ux+StwpRw4CPVMDJl1inIjbN+mVvWeLIsKPX4FGlhAgDMQyvm1fAH4gc7 pf61fuiAfyCFg== Received: from [10.193.1.1] (broslavsky.collaboradmins.com [68.183.210.73]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: usama.anjum) by madrid.collaboradmins.com (Postfix) with ESMTPSA id B413D378105A; Thu, 14 Mar 2024 08:49:20 +0000 (UTC) Message-ID: <0459b58d-972e-42cf-8516-befc39fbe97c@collabora.com> Date: Thu, 14 Mar 2024 13:49:50 +0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: Muhammad Usama Anjum , 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 Content-Language: en-US To: Kees Cook References: <02c8bf8e-1934-44ab-a886-e065b37366a7@collabora.com> <202403051256.7A50FE28E7@keescook> <202403071238.AC7BD90@keescook> <202403132004.84C9C50A5@keescook> From: Muhammad Usama Anjum In-Reply-To: <202403132004.84C9C50A5@keescook> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 3/14/24 8:05 AM, Kees Cook wrote: > 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. > > Do you know which kernel version this _passes_ on? I haven't been able > to find when this actually returned the expected values... I'd tried to find a kernel on which it used to pass i.e., I rewinded the kernel to the last change in this test. But still it was failing on that. Not sure if the test is wrong or the environment is making the test to output wrong values. > -- BR, Muhammad Usama Anjum