CVE-2021-47045

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
28/02/2024
Last modified:
06/12/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> scsi: lpfc: Fix null pointer dereference in lpfc_prep_els_iocb()<br /> <br /> It is possible to call lpfc_issue_els_plogi() passing a did for which no<br /> matching ndlp is found. A call is then made to lpfc_prep_els_iocb() with a<br /> null pointer to a lpfc_nodelist structure resulting in a null pointer<br /> dereference.<br /> <br /> Fix by returning an error status if no valid ndlp is found. Fix up comments<br /> regarding ndlp reference counting.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.11.21 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.12 (including) 5.12.4 (excluding)