Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp20247lqz; Fri, 29 Mar 2024 07:22:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU+WeR2qXHfgDD0xHRUWyB7++ahYKPGvjEQBCBbpCuecKKx4oYNxG9XjusM7DFd8kd8nWp8mFUeogz3kLdRGavgwxRVXviIhFpjcAIspw== X-Google-Smtp-Source: AGHT+IGK9qmTZoP05Nkb/hbYQrcYff5O8uTGhzkBYKdvmcnDxmiINu/Jn0eF3m+boMwnULl8+37m X-Received: by 2002:a9d:61cd:0:b0:6e6:f7d8:1a89 with SMTP id h13-20020a9d61cd000000b006e6f7d81a89mr2330193otk.24.1711722137437; Fri, 29 Mar 2024 07:22:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711722137; cv=pass; d=google.com; s=arc-20160816; b=pO0XDhjZ7+Rn1O6ltbOxxIgc5/B877EiHrB0QUtuO90RhR9QQpuNu/NLUewQllCCtn DkiZ3foF/l1iZnvzsibVKaOsCCWA2zJznTvuyRgofNRGVNxE6T4EdNz3DX/DURQp+33Q ta0E2P6LuFAzs8YXz06EY223M4k4sFzugawj8G2kR/VfFr1F2BsKLMEJkbtYa8Poz5X6 mbloZ5oLfYWvuUQx7+vkXCh15YW4prP5tr+rlzrU5Jj49Xanwdthf1Fpilp0VjMzbLDd p+8NvQBr+CvUhrNfNWDK6tq4WzwsER5DRcJanAQ4LRstEO4xIxfBj6tsxqAp5RUrJtxO rfog== 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=0+rEH2JacanbzyX/jqrJnc3qFAncr8fLsc5ogcsCZjQSKxlqdGN35R914qVNpG6xtd spwMrbOjAiyuFVN12Y6ew6eTc3Su3K8ICiFoKmzbioC1lSYLb1c6I7yrZTwwfGNaVojy iJq3Ip5JTnKUxTZR8PsbpwLg8Nz5GlcJlljlck71ZR26ZxBYmMOxzRvWaxD97YWIf4hr hcaG1xW5IHmJ5BsUE7luMX/7WMo0zlGN/aM5S9JKweONjOq62CJ4yA+wo687GGKrwSOO o9uweiHti7EmuZGi4BDLwSzcHsDqbbPTqgKJhc+uF+b8+5xYTYk9N+3H4Le2OD1CKLA8 foMQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=D2oUB6vh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-124902-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124902-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 11-20020a05620a04cb00b0078b8a9a2acasi3764949qks.312.2024.03.29.07.22.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 07:22:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124902-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=D2oUB6vh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-124902-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124902-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2B6341C26AA8 for ; Fri, 29 Mar 2024 14:22:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3546264D6E; Fri, 29 Mar 2024 12:46:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="D2oUB6vh" 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 DB1912609F9; Fri, 29 Mar 2024 12:46:38 +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=1711716398; cv=none; b=SPdMa0QnEjCFR1c1T+tIaZdo6mtViV9mI4dH1Dxis03WXFhLWoDF/AGbSsqvr+XUALYoiR9f/vzPkq+S8CeAanRYkMZt0nj6QXbsc8/kUo/MMHG89p/ogxoZoUt1hQqc+bdS/f9tw23QGeME7M7x23FOcCqy7qmaVXJHPMK0pg4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711716398; c=relaxed/simple; bh=vb0jjHzqNS70LcUl5hKquujKz9wsGE1cdmbFIdupZAA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oa+rOpWaPjMejwlwLo/2LQwEFYhuPeEd22T45zEQKacJXx3KTxSzFfYOrwKyqvzBN/haAiXgPDptpvcjtCIoBt3IyZF8meYdrKOWanNhlAoo6HDm7i8phfrnIrjOw0VJFqcgwxOgcxUzLVVK6tzLtScih1pZBJUuOdfSeAX8pUc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=D2oUB6vh; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1FF06C433A6; Fri, 29 Mar 2024 12:46:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711716398; bh=vb0jjHzqNS70LcUl5hKquujKz9wsGE1cdmbFIdupZAA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D2oUB6vhxvoZZE8o+iEJORPxeB3X4UmoibrVcdrvwq8/W9hDCnyUK/KXekOmIMito Ily2227tNUGOR/DddUHGFTEX0Ox1MNDpSf1Esw79YTiIWCf4UP+4WfEGygBKeqs516 0a2g6ZjT2MFLfniMSz8JNEcTYtMhmZxe79IDf2FKDJEU/zIRdo9xEt0Uh1ozoSl2Q0 qGZB1b06lJy5I6bLqeizWI5v+rY6N308R27L5SOkYnuswzL84zBLUSb5yqIsMbLINw a3TgPFkLLVKMnDt5SXtArSvR5ZriyqvTn3PI57HKGGQ2zfo+D/E0ByR2axDAdMXCJj xgj3NT/TxNe8w== 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.1 18/52] Julia Lawall reported this null pointer dereference, this should fix it. Date: Fri, 29 Mar 2024 08:45:12 -0400 Message-ID: <20240329124605.3091273-18-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240329124605.3091273-1-sashal@kernel.org> References: <20240329124605.3091273-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.1.83 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