Description
In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Fix response queue over-consumption in __qla_consume_iocb() qla24xx_process_response_queue() advances ring_ptr past the head IOCB before dispatching, so by the time __qla_consume_iocb() runs, ring_ptr already points at the first continuation IOCB. The function however looped purex->entry_count times starting at ring_ptr. As entry_count includes the head, this consumed one entry too many: it stamped RESPONSE_PROCESSED on the next, unrelated IOCB and advanced the ring past it, silently dropping a legitimate firmware response. The head IOCB's signature was also never marked. Mark the head processed and account for it, then consume only the entry_count - 1 continuation IOCBs, matching __qla_copy_purex_to_buffer().
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
fac2807946c10b9a509b9c348afd442fa823c5f7 to < a136c311676fd1010b1bde3bcfd410caa2fa040faffectedfac2807946c10b9a509b9c348afd442fa823c5f7 to < d841707fafba5f80341b82e8c3a4c24fc5aa5132affectedfac2807946c10b9a509b9c348afd442fa823c5f7 to < 6e3f129538c32d0019437197735912308c161843affectedfac2807946c10b9a509b9c348afd442fa823c5f7 to < bd1534d4afab47f13dfc27fff6f59dd859a0ac3aaffectedfac2807946c10b9a509b9c348afd442fa823c5f7 to < 31715d1e1cbf3a37ce3452635c5602f73fd7abd4affectedfac2807946c10b9a509b9c348afd442fa823c5f7 to < df86c27cf1ba9d66f737a1fa56479c6e7efafe4eaffectedfac2807946c10b9a509b9c348afd442fa823c5f7 to < 3ba019bdd89d931499d9476456b5d9c7ab7fa753affected
Linux Linux
Default version status: affected
5.15affected0 to < 5.15unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.51 to ≤ 6.18.*unaffected7.2.5 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/a136c311676fd1010b1bde3bcfd410caa2fa040f ↗
- https://git.kernel.org/stable/c/d841707fafba5f80341b82e8c3a4c24fc5aa5132 ↗
- https://git.kernel.org/stable/c/6e3f129538c32d0019437197735912308c161843 ↗
- https://git.kernel.org/stable/c/bd1534d4afab47f13dfc27fff6f59dd859a0ac3a ↗
- https://git.kernel.org/stable/c/31715d1e1cbf3a37ce3452635c5602f73fd7abd4 ↗
- https://git.kernel.org/stable/c/df86c27cf1ba9d66f737a1fa56479c6e7efafe4e ↗
- https://git.kernel.org/stable/c/3ba019bdd89d931499d9476456b5d9c7ab7fa753 ↗