scsi: lpfc: Fix null ndlp ptr dereference in abnormal exit path for GFT_ID
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.19.176.0.36.1In the Linux kernel, the following vulnerability has been resolved:
scsi: lpfc: Fix null ndlp ptr dereference in abnormal exit path for GFT_ID
An error case exit from lpfc_cmpl_ct_cmd_gft_id() results in a call to lpfc_nlp_put() with a null pointer to a nodelist structure.
Changed lpfc_cmpl_ct_cmd_gft_id() to initialize nodelist pointer upon entry.
From the CVE record · Linux
An abnormal error exit in the Linux kernel's lpfc SCSI driver can pass a null nodelist pointer to lpfc_nlp_put(). The input does not specify whether an attacker can trigger this condition or whether network access, authentication, or user interaction is required.
Anyone running the Linux kernel with the lpfc driver should check their version; affected versions are not specified.