[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025100122-CVE-2022-50467-13ec@gregkh>
Date: Wed, 1 Oct 2025 13:45:37 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50467: scsi: lpfc: Fix null ndlp ptr dereference in abnormal exit path for GFT_ID
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists