Activity log
- Created & dismissed (max. allowed matches exceeded) suggestion
scsi: qla2xxx: Skip NVMe LS reject IOCB when FW not started
In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Skip NVMe LS reject IOCB when FW not started qla_nvme_xmt_ls_rsp() bails out to the out: label when firmware is not started (!ha->flags.fw_started), but the out: path unconditionally calls qla_nvme_ls_reject_iocb(), which ends in qla2x00_start_iocbs() and an unconditional doorbell write to the request queue in-pointer register. This rings the firmware doorbell and queues an IOCB that stopped or resetting firmware cannot consume, and touches MMIO during the reset/EEH window where fw_started is also clear. Only emit the LS reject IOCB (and ring the doorbell) when fw_started is set; otherwise just clean up and return. The post-allocation failure cases (SRB alloc / qla2x00_start_sp() failure) run with firmware started and still send the reject. Apply the same guard to the reject emission in qla2xxx_process_purls_pkt().
References
Affected products
- =<7.2.*
- <e9bfb56e2c1bda49d3c5442d824569d71eec07e2
- <ac4b019ac07844d3f67ea5e48b1d982b2170d1a7
- ==6.6
- <6.6
- =<6.12.*
- <f7e46ebffc5781aab3f1f5a5d4350addbb5833f4
- =<6.18.*
- =<*
- <7c1fc75dd3fb6b6414508fbdf7aeed0d757c9120
- <2935b730211c5c1433aa6101fa3b55df2b63869a
- =<6.6.*