Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp1077468lqh; Fri, 29 Mar 2024 06:42:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVFdGOOXOWS4llTf+KoVGGza7efg+AarFq1z1YjA5I//HC/lcloL00UjYeQAUznpcRHqIL/LBbswHsiTWWuk+IyZMcmNmBSWo/cJjvOLw== X-Google-Smtp-Source: AGHT+IFwdhbYn19aiSFis9QBimGgXRohI8ri7UJjoac6zNHxIyOWjHqQZmjtHe0NNp8j+0LoOd2w X-Received: by 2002:a17:907:948e:b0:a46:c8e3:c9b9 with SMTP id dm14-20020a170907948e00b00a46c8e3c9b9mr1745891ejc.42.1711719777213; Fri, 29 Mar 2024 06:42:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711719777; cv=pass; d=google.com; s=arc-20160816; b=F8eq+PkzKB0VQQxWiQN2W+LTGv9XmWSN5bjOQjPn7aHBGH0c0u6hzy3o6Gd6MmziQp Gey1Vtrdt5sd0XCTM2dCoDKB/Wz/lVNzsaFwRD8HqED/6u+km/nBhLgfPKG8KQu4zztY QqHAJEcyL/WdKVzpQvWzBv/fMW52unNMDr+BHQC7d6Q5mThxZ9vvUSEr4dVBPUoyvIl0 smKmYSa8+/fHmC5jOhPBW3gjA3TnbsIwAX6MGSZsns/oQzLg6dwqa9TLuZzmP7XanDhT Xjs1IBOHXTQrTqDRgoMyv9rpmLySFecufL28AS/iLmy5Fru5GX/nBbUVDbPW+PO2jCL4 xD3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=/KecYiw5xDOgIbBRHch8ztnBtrLgunDSp2prA22x6LY=; fh=2vnqw8Q0oj8EcLiyQntrop9Y1RAIH6whamK4FCpxfYY=; b=XTIU9HkRfLXMAQtHRyiUkLhwZG1LXhLfztBtADGGPAbeokSO+uRvV75JDuPABA7TF4 szWboSWVMTn8l2qjk0IMAdzDevehzIzPuBV/4PIA9/MXuHQEc7xgMjNriUsJayTIxkRq sq8+StidlXKniRFlZ9IRD0OCOz9R0clFhTb+jh5LHGOELBcIDOWDJGHUFnDFAlLuxXf/ KpTOAZMu51FwhSMM0NZwlf3V09UPUbO/zVniYZYHxT7n8BNBAHBgukVHFLCrA6guG4kC 1/T4pxiqpj8Bo6Wl3CXSZXMm8bkd7gCAgIm9qAaR2fjfZ7T1Pvaa5RPqAyAKZWrqaaxV kEiA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g1VEWq0c; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-124751-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124751-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 23-20020a170906311700b00a4750f3cb5asi1723376ejx.682.2024.03.29.06.42.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 06:42:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124751-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g1VEWq0c; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-124751-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124751-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 635E41F2542B for ; Fri, 29 Mar 2024 13:42:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3022413473B; Fri, 29 Mar 2024 12:41:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="g1VEWq0c" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 4EDBE17D239; Fri, 29 Mar 2024 12:41:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711716077; cv=none; b=i8tvaKDHIYDL2ZH5PZOWJu53zojXWTHNuZ8Dbir4JkEpDew0oOdI2DTl+0A3MfiFtgO5ffyoM/6pf9/AFGlefp9zKbJw1rPKDai9QIGQciTkMb6JopsN9DWk/0c1H4W5OU1rr6GE1cS8qoEhUI0Gjriy/bZkdTtfmOiqzzh1I9U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711716077; c=relaxed/simple; bh=vb0jjHzqNS70LcUl5hKquujKz9wsGE1cdmbFIdupZAA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Q6dYQXxMvZvCduRd7jUcC3/UnN5ug75Srb4KRhHT3/rRw+uSni4eYp503O0L4o3hBSrxAu8lMGMSiP2tmQszN1T9mmR1aj96kX91Zm6yrF5m7txE1YjIQd78WBxn9/RvmKb9LAodfGDLT5bZN/hc5FxjP8yM/FbSQGkTKL+DYtA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=g1VEWq0c; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 417FCC433B1; Fri, 29 Mar 2024 12:41:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711716076; bh=vb0jjHzqNS70LcUl5hKquujKz9wsGE1cdmbFIdupZAA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g1VEWq0cPJyN7PmH6KPEHgaEtKmBFxbdLdCe96v7/JoYjWiQf8LIyOPwSUTwQEH17 OpUvy8DTGo2d8MExRrJPdJBRB9Ceoukp+v/XtydBR94x/94ficmQr4AVlQH0OrV2mL r0M+aQCN23nEv5JllWBCLWOsrQKnWHH7E6pMM2Zx8NWFDK1XZt6LJr6cDmkh0pwiqe 3SmfmLig8tvMyoXxDyCunZ/EH0cIoY1IvHD245M2MumQqZykXzgMzhkmHcnNXnXuxc eXURqnCS95e1U0d9jOTNfLzVd9/A6oszzuwzRadkMXh9JManyQPWDqZUtWMH/Ul3Dr oPuoy68lonY2Q== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Mike Marshall , Sasha Levin , devel@lists.orangefs.org Subject: [PATCH AUTOSEL 6.8 42/98] Julia Lawall reported this null pointer dereference, this should fix it. Date: Fri, 29 Mar 2024 08:37:13 -0400 Message-ID: <20240329123919.3087149-42-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240329123919.3087149-1-sashal@kernel.org> References: <20240329123919.3087149-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.8.2 Content-Transfer-Encoding: 8bit From: Mike Marshall [ Upstream commit 9bf93dcfc453fae192fe5d7874b89699e8f800ac ] Signed-off-by: Mike Marshall Signed-off-by: Sasha Levin --- fs/orangefs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/orangefs/super.c b/fs/orangefs/super.c index 5254256a224d7..4ca8ed410c3cf 100644 --- a/fs/orangefs/super.c +++ b/fs/orangefs/super.c @@ -527,7 +527,7 @@ struct dentry *orangefs_mount(struct file_system_type *fst, sb->s_fs_info = kzalloc(sizeof(struct orangefs_sb_info_s), GFP_KERNEL); if (!ORANGEFS_SB(sb)) { d = ERR_PTR(-ENOMEM); - goto free_sb_and_op; + goto free_op; } ret = orangefs_fill_sb(sb, -- 2.43.0