Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp262523lqe; Wed, 10 Apr 2024 01:00:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWuL0ufW+v31PMtnge7rg//g/VpAhpE6XxOrqyHq8FLyb/kk6EX7ogib4QcibpPP0Be5azlo2lAINaZ3BnzPBvItZI92vd3XfkfmhQuaw== X-Google-Smtp-Source: AGHT+IH7z0vJ7fFx8Qu9nEpJRfnSXhCGiMUAjAmZ1muHUP+31cujKnTuyOGZNOUv9eoGbqr77GnA X-Received: by 2002:a05:6870:678b:b0:22a:2876:833f with SMTP id gc11-20020a056870678b00b0022a2876833fmr1821427oab.53.1712736029530; Wed, 10 Apr 2024 01:00:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712736029; cv=pass; d=google.com; s=arc-20160816; b=yzdGPZoB7+9D/nOIQmBlMuQkhZwjZepNFLozAfxhp1Kpd3NHLXDk5Nxjg5A+Qj42AR NHB9kJF2JX/2n1F6yx/DS5Bzz9d56XDZtJ/zZw7/YmUL/cYSL2iYUbMBuMeqN5d5XpQ9 TqUF3di26eFqwwEu+OXMOPudyVejH952Ly+XfkS0AC5kS32VZmeUeXao4FLK5QL9qGXJ /vFO7MtdozQP0phy/tuRg5U8ASyAABV4mFORWXAHnRHw8nVWBiEOMBgEA4GLtqKrajes wZ4ahjkyo1g9EOVpAZVINXcRM/Aw39c9jxMuEC0gPpT/65+/ekZXGMeQDoThEaT2MaOu 6XHw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:cc:to:from:date:references:in-reply-to:message-id :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:feedback-id:dkim-signature:dkim-signature; bh=4SijHpqMygOli+EaGX6auphy+KWeiiFWTERVE+ugHLY=; fh=Pcs/IbkVlXqpvgKMX1Kcezxbhps8RvuqBv8KzuAJrbo=; b=M7m5yslzVwf8azny7+SCijFjujTrjGlYpGsPmwbo7uq0DkGE75NCbIbfrngP4aGbLV 627slnXKXElTm/8H3uXf+LlKR6lwzVz8Pxrlhge2B6hhvabhSyylGB3dHxaouQ8fvJuQ 8b/gY+9cu9vTxVdHIB5ZEUasqnghbAWlwxbIzzQlbKOPbYQxK7wj0t5F/8aYbUCgEeA/ ubFPqGnCIPuEgP2Kd404myiMsKmQEt2/gjx9IldNV0ljRl1YvpC4h9rAGZROM1EDTSak TsvZDpdh05/qY1ka9GIn7uBf3CPQgnl3SSHiQapzQWqlZ51d7/0oWc9959yKuaKhswqq S4zA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=IFYpbA1N; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Fs0f5ZAs; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-137542-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137542-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h17-20020aa786d1000000b006e6bd8c2cdfsi10105401pfo.181.2024.04.10.01.00.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 01:00:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137542-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=@arndb.de header.s=fm2 header.b=IFYpbA1N; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Fs0f5ZAs; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-137542-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137542-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de 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 8CEAC286902 for ; Tue, 9 Apr 2024 19:34:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 643B215749E; Tue, 9 Apr 2024 19:34:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="IFYpbA1N"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="Fs0f5ZAs" Received: from wfout6-smtp.messagingengine.com (wfout6-smtp.messagingengine.com [64.147.123.149]) (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 C362285652; Tue, 9 Apr 2024 19:34:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.149 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712691253; cv=none; b=q/P3rDAAddigbqrEF0T3lfyXFch9FDKNzCtAo2vywyHukYw9HDn4yKZvin9uVESUg2iuf66tx7n68DTSLqXy344aP6dI2IYX2diSD5cY2LhXxE22eWJtZJi0nXa729/i9QR+3WHFNCaNhIvE6fUTHzBIyEEWk2fUEibHTwiMmes= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712691253; c=relaxed/simple; bh=3oRxUXJXiDa0l7YbL5IxLQptQY10QMjOhpHspaSiMs8=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=C96HcazBYxSlqPYRJofd3+o9RnkKuFW4D5hjq1Oz5wcpEBEUvynFQ5h/moWBpKowmpzX6Iz/2MTK7uYUOhvpINm8NT6XWsTVTi22NEZmD22kiUZZ/qNO329HCWIUCBDg/ZlKswlbm6BnX0Lsp5gsHxx/5FmEuAnDrZVT75Lbuec= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=IFYpbA1N; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=Fs0f5ZAs; arc=none smtp.client-ip=64.147.123.149 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.west.internal (Postfix) with ESMTP id DDBA31C00127; Tue, 9 Apr 2024 15:34:09 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Tue, 09 Apr 2024 15:34:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1712691249; x=1712777649; bh=4SijHpqMyg Oli+EaGX6auphy+KWeiiFWTERVE+ugHLY=; b=IFYpbA1NZvsUdWYr59ckZYHAVv 6jjPnfeNkSIuyQiDAN67LaNY6JWF+Kx0qJSRBVG3cuFGVzYrNa4frxtYwpOY8QrU xb46eMF3gebNmxeWEC7ht1HMJQObnu2WCOFFZCkIJaQGFKpbnsdfAVapCR5jYJMN Ce2P9mGqlx700IHMbM23PBLwspUInVPVCQnRdnn5gaTBiknXUmjJXyQtqbJYI4xP qAifcKjzE97IbctiBYLE2VD1f7CpJlPdeT3Kp2xBHlBeW7ymrjoiPI8ei4yB72Jz zmjK1bJEUUbqkUKz2a7FCsP/h80jXOvm9wJKq7Y8/5RCNnOuR0a6N5va+chQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1712691249; x=1712777649; bh=4SijHpqMygOli+EaGX6auphy+KWe iiFWTERVE+ugHLY=; b=Fs0f5ZAsU9nFUP6ys86N1BujbxMA9pP9Eb2GEnjjBoVG thIEo+UQL+XGtePuBSEdWF6KwcIMgyyNuClkVYE58M0Z5XvzTafl+8o7jAs7nLWu 0T3oVJwFUaR/YoCfx1wgLVswRieW+KyyR6nlLYyIPBrYhs1fsmb2MCj8xDrDfxWk qD/E+pfHeopVotqcbhoN7h5SM9ZW7HXnR38ExxbcGvJ0ytiqqdVCcpbIwxD7yJOw +0xCHJIXzUInh1W2B1+qWV3NVwyXPPe6zDfT9mVXKJscqQjo4Mkrc9yRDXDwDUnv lUw6W/ngUqUhQenCatlBRf3iLWLYuRxaJkl4EMmLCw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudehgedguddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id C59A3B6008F; Tue, 9 Apr 2024 15:34:08 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-379-gabd37849b7-fm-20240408.001-gabd37849 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <03b98c31-130d-4ec7-b162-621bd5b604cf@app.fastmail.com> In-Reply-To: References: <20240408075052.3304511-1-arnd@kernel.org> <20240408143623.t4uj4dbewl4hyoar@quack3> <96b55a64-2bcf-44da-a728-ae54e2a73343@app.fastmail.com> Date: Tue, 09 Apr 2024 21:33:48 +0200 From: "Arnd Bergmann" To: "Mike Marshall" Cc: "Justin Stitt" , "Jan Kara" , "Arnd Bergmann" , linux-fsdevel@vger.kernel.org, "Alexander Viro" , "Christian Brauner" , "Martin Brandenburg" , devel@lists.orangefs.org, "Vlastimil Babka" , "Kees Cook" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] [RESEND] orangefs: fix out-of-bounds fsid access Content-Type: text/plain On Tue, Apr 9, 2024, at 18:26, Mike Marshall wrote: > I applied Arnd's patch on top of Linux 6.9-rc3 and > ran through xfstests with no issue. > > Also, instead of Arnd's patch, I used Jan's idea: > > + > + buf->f_fsid.val[0] = ORANGEFS_SB(sb)->fs_id; > + buf->f_fsid.val[1] = ORANGEFS_SB(sb)->id; > + > > And ran that through as well, no issue. > > Sorry for missing the earlier patch. Thanks! I was about to send the updated patch and can skip that now. Arnd