# CVE-2022-50467: scsi: lpfc: Fix null ndlp ptr dereference in abnormal exit path for GFT_ID

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-10-01T11:45:38.110Z
- Modified: 2026-06-17T05:23:36.757Z
- Weaknesses: CWE-476
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 04c1d9c50ae32d6efd0b71024b3829051821c7a2 before 04e7cd8c85636a329d1a6e5a269a7c8b6f71c41c; from 04c1d9c50ae32d6efd0b71024b3829051821c7a2 before 82dc1fe4324e2c897f2ed1c66f4fcff03094ac3a; from 04c1d9c50ae32d6efd0b71024b3829051821c7a2 before 59b7e210a522b836a01516c71ee85d1d92c1f075; 5.14 (not affected: before 5.14; from 5.19.17 up to 5.19.*; from 6.0.3 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.14 before 5.19.17; from 6.0 before 6.0.3

## References

- <https://git.kernel.org/stable/c/04e7cd8c85636a329d1a6e5a269a7c8b6f71c41c> (patch)
- <https://git.kernel.org/stable/c/82dc1fe4324e2c897f2ed1c66f4fcff03094ac3a> (patch)
- <https://git.kernel.org/stable/c/59b7e210a522b836a01516c71ee85d1d92c1f075> (patch)

## Sources

- CVE List: [CVE-2022-50467](https://www.cve.org/CVERecord?id=CVE-2022-50467), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50467](https://nvd.nist.gov/vuln/detail/CVE-2022-50467), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50467 · Whole record: https://cve.day/CVE-2022-50467.json · Rebuilt by cve.day 2026-11-25T22:58:21.230Z
