Description (CNA)
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().
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 875386b98857822b77ac7f95bdf367b70af5b78c before 2935b730211c5c1433aa6101fa3b55df2b63869a; affected 875386b98857822b77ac7f95bdf367b70af5b78c before 7c1fc75dd3fb6b6414508fbdf7aeed0d757c9120; affected 875386b98857822b77ac7f95bdf367b70af5b78c before ac4b019ac07844d3f67ea5e48b1d982b2170d1a7; affected 875386b98857822b77ac7f95bdf367b70af5b78c before e9bfb56e2c1bda49d3c5442d824569d71eec07e2; affected 875386b98857822b77ac7f95bdf367b70af5b78c before f7e46ebffc5781aab3f1f5a5d4350addbb5833f4 |
| Linux / Linux | affected 6.6; unaffected 0 before 6.6; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.51 through 6.18.*; unaffected 7.2.5 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/2935b730211c5c1433aa6101fa3b55df2b63869a
- https://git.kernel.org/stable/c/7c1fc75dd3fb6b6414508fbdf7aeed0d757c9120
- https://git.kernel.org/stable/c/ac4b019ac07844d3f67ea5e48b1d982b2170d1a7
- https://git.kernel.org/stable/c/e9bfb56e2c1bda49d3c5442d824569d71eec07e2
- https://git.kernel.org/stable/c/f7e46ebffc5781aab3f1f5a5d4350addbb5833f4