scsi: lpfc: Validate hdwq pointers before dereferencing in reset/errata paths
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
scsi: lpfc: Validate hdwq pointers before dereferencing in reset/errata paths
When the HBA is undergoing a reset or is handling an errata event, NULL ptr dereference crashes may occur in routines such as lpfc_sli_flush_io_rings(), lpfc_dev_loss_tmo_callbk(), or lpfc_abort_handler().
Add NULL ptr checks before dereferencing hdwq pointers that may have been freed due to operations colliding with a reset or errata event handler.
From the CVE record · Linux
The Linux kernel’s lpfc SCSI driver can dereference a NULL hdwq pointer during an HBA reset or errata event, causing a crash. The input does not establish how an attacker could trigger these conditions or specify network access, authentication, or user-interaction requirements.
Engineers running Linux systems that use the lpfc SCSI driver should check their kernel versions; affected versions are not specified.