CVE-2021-47045
kernel: scsi: lpfc: Fix null pointer dereference in lpfc_prep_els_iocb()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 28, 2024
Updated · November 21, 2025
Description
A flaw was found in the scsi/lpfcIt subsystem of the Linux kernel, where it is possible to call lpfc_issue_els_plogi() passing a did argument for which no matching ndlp is found. A call is then made to lpfc_prep_els_iocb() with a NULL pointer to a lpfc_nodelist structure, resulting in a NULL pointer dereference.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CWE-476 · NULL Pointer Dereference