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 D992C2DEA76 for ; Wed, 1 Oct 2025 11:56:18 +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=1759319778; cv=none; b=C1LH3Q354aqhfPmj4en95ubPuKCXz+9HU+JtavhTnH8mih5fd911Pc+AZJOI/txl2/C3aR+AcdMKdB85D4VmKD6ngquF1C7ciEjiYx2W8wP/f/ZhTHEQUv8v/o5BgaQ/Ik4qll3LybfoYBfKm2YgTn2Rilw1K0E6zFv+LjGryD8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319778; c=relaxed/simple; bh=kNmGn6P8WsMHY1MFzrdHdTnEtJXzBJwbk2vLTkZuyX4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AHFbNVNHU9+8fQ2x5/6pz8hPjvp8n4vnLNlJK0p8uKq3oL4jjFnvSkFhi8YGb9/XdMo9jCIO+RjcZMmsAKVeg0TCQEWjdas3dTrWSzGfNJXBAQZYqhsDQtdYhhFulbtjdkeOnDp/zxEJWd2boeMFHax/loIv4u2Brico4olGNAM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SBdqmC3w; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="SBdqmC3w" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 211BEC4CEF4; Wed, 1 Oct 2025 11:56:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759319778; bh=kNmGn6P8WsMHY1MFzrdHdTnEtJXzBJwbk2vLTkZuyX4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=SBdqmC3wlwqSajZJ98ESJGkqQNM39VNUoTURGPyR0+qS3XR8FPBer1mDReTqizgPG q8xfnWnTP3L36APhsB/hSQBUMI7lCOOBQsMtykgXNpNJpNDEvzOlKJg4XyjuzZMRar RdJ8L3HmnQaVROgc/vN7mjQ0eaqT8rjo6f0v5x1M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50467: scsi: lpfc: Fix null ndlp ptr dereference in abnormal exit path for GFT_ID Date: Wed, 1 Oct 2025 13:45:37 +0200 Message-ID: <2025100122-CVE-2022-50467-13ec@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1978; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qDi6Wa6xVjOLJwEcYfHaISpcVhPca2s7ww8t/uRoGJM=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl3RYKeh7Iz6ZsnNl3qWN+4vyi88YBeZQXHhn7/vzPtV Wb32nR2xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwETCQhjmp86+fmjDfr+6CWWM CQY917u8H3WLMcwvFpm9q9yjsl/V8/mnXTFBso8ORS0EAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Fix null ndlp ptr dereference in abnormal exit path for GFT_ID An error case exit from lpfc_cmpl_ct_cmd_gft_id() results in a call to lpfc_nlp_put() with a null pointer to a nodelist structure. Changed lpfc_cmpl_ct_cmd_gft_id() to initialize nodelist pointer upon entry. The Linux kernel CVE team has assigned CVE-2022-50467 to this issue. Affected and fixed versions =========================== Fixed in 5.19.17 with commit 04e7cd8c85636a329d1a6e5a269a7c8b6f71c41c Fixed in 6.0.3 with commit 82dc1fe4324e2c897f2ed1c66f4fcff03094ac3a Fixed in 6.1 with commit 59b7e210a522b836a01516c71ee85d1d92c1f075 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2022-50467 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/scsi/lpfc/lpfc_ct.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/04e7cd8c85636a329d1a6e5a269a7c8b6f71c41c https://git.kernel.org/stable/c/82dc1fe4324e2c897f2ed1c66f4fcff03094ac3a https://git.kernel.org/stable/c/59b7e210a522b836a01516c71ee85d1d92c1f075