CVE-2021-47045

Source
https://cve.org/CVERecord?id=CVE-2021-47045
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47045.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-47045
Downstream
Related
Published
2024-02-28T09:15:40.223Z
Modified
2026-03-15T14:45:40.556426Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

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

It is possible to call lpfcissueelsplogi() passing a did for which no matching ndlp is found. A call is then made to lpfcprepelsiocb() 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.

References

Affected packages

Git /

Affected ranges

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47045.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "5.11"
            },
            {
                "fixed": "5.11.21"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.12"
            },
            {
                "fixed": "5.12.4"
            }
        ]
    }
]