CVE-2021-47045

published 28 Feb 2024 · updated 11 May 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 8dd1c125f7f838abad009b64bff5f0a11afe3cb6, Kernel 9bdcfbed2a9fe24d2c7eaa1bad7c705e18de8cc7 and Kernel a09677de458d500b00701f6036baa423d9995408.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.11, >=4430f7fd09ecb037570119e0aacbf0c17b8f98b2 <8dd1c125f7f838abad009b64bff5f0a11afe3cb6, >=4430f7fd09ecb037570119e0aacbf0c17b8f98b2 <9bdcfbed2a9fe24d2c7eaa1bad7c705e18de8cc7, >=4430f7fd09ecb037570119e0aacbf0c17b8f98b2 <a09677de458d500b00701f6036baa423d99954088dd1c125f7f838abad009b64bff5f0a11afe3cb6, 9bdcfbed2a9fe24d2c7eaa1bad7c705e18de8cc7, a09677de458d500b00701f6036baa423d9995408

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47045 severity on Zeptric[![CVE-2021-47045](https://zeptric.io/badge/cve/CVE-2021-47045.svg)](https://zeptric.io/cve/CVE-2021-47045)