summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa
diff options
context:
space:
mode:
authorJustin Tee <justin.tee@broadcom.com>2024-07-26 16:15:07 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2024-08-02 21:48:05 -0400
commit2be1d4f11944cd6283cb97268b3e17c4424945ca (patch)
tree76623bfcbbd6a877d3b6a7f06089be56dce401b4 /drivers/scsi/bfa
parentf1bfe32073964372c1dfa572480eb43d44e34909 (diff)
downloadlinux-2be1d4f11944cd6283cb97268b3e17c4424945ca.tar.gz
linux-2be1d4f11944cd6283cb97268b3e17c4424945ca.tar.bz2
linux-2be1d4f11944cd6283cb97268b3e17c4424945ca.zip
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. Signed-off-by: Justin Tee <justin.tee@broadcom.com> Link: https://lore.kernel.org/r/20240726231512.92867-4-justintee8345@gmail.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/bfa')
0 files changed, 0 insertions, 0 deletions