Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.11, < 5.11.21 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/8dd1c125f7f838abad009b64bff5f0a11afe3cb6Patch
- https://git.kernel.org/stable/c/9bdcfbed2a9fe24d2c7eaa1bad7c705e18de8cc7Patch
- https://git.kernel.org/stable/c/a09677de458d500b00701f6036baa423d9995408Patch
- https://git.kernel.org/stable/c/8dd1c125f7f838abad009b64bff5f0a11afe3cb6Patch
- https://git.kernel.org/stable/c/9bdcfbed2a9fe24d2c7eaa1bad7c705e18de8cc7Patch
- https://git.kernel.org/stable/c/a09677de458d500b00701f6036baa423d9995408Patch
FAQ
What is CVE-2021-47045?
CVE-2021-47045 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 w...
How severe is CVE-2021-47045?
CVE-2021-47045 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-47045?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.