CVE-2021-47045

scsi: lpfc: Fix null pointer dereference in lpfc_prep_els_iocb()

published February 28, 2024

CVSS
—
EPSS
0%
Percentile
14.1
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

scsi: lpfc: Fix null pointer dereference in lpfc_prep_els_iocb()

It is possible to call lpfc_issue_els_plogi() passing a did 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.

Fix by returning an error status if no valid ndlp is found. Fix up comments

regarding ndlp reference counting.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00239 · 14.1th percentile
Published
2024-02-28T08:13Z
EPSS history
Timeline
  • 28 FEB 08:13Z
    scsi: lpfc: Fix null pointer dereference in lpfc_prep_els_iocb()
    cvelistv5