scsi: qla2xxx: Fix response queue over-consumption in __qla_consume_iocb()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel df86c27cf1ba9d66f737a1fa56479c6e7efafe4e, Kernel 31715d1e1cbf3a37ce3452635c5602f73fd7abd4, Kernel 3ba019bdd89d931499d9476456b5d9c7ab7fa753 and 10 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=fac2807946c10b9a509b9c348afd442fa823c5f7 <df86c27cf1ba9d66f737a1fa56479c6e7efafe4e, >=fac2807946c10b9a509b9c348afd442fa823c5f7 <31715d1e1cbf3a37ce3452635c5602f73fd7abd4, >=fac2807946c10b9a509b9c348afd442fa823c5f7 <3ba019bdd89d931499d9476456b5d9c7ab7fa753, >=fac2807946c10b9a509b9c348afd442fa823c5f7 <6e3f129538c32d0019437197735912308c161843, >=fac2807946c10b9a509b9c348afd442fa823c5f7 <a136c311676fd1010b1bde3bcfd410caa2fa040f, >=fac2807946c10b9a509b9c348afd442fa823c5f7 <bd1534d4afab47f13dfc27fff6f59dd859a0ac3a, >=fac2807946c10b9a509b9c348afd442fa823c5f7 <d841707fafba5f80341b82e8c3a4c24fc5aa5132, =5.15 | df86c27cf1ba9d66f737a1fa56479c6e7efafe4e, 31715d1e1cbf3a37ce3452635c5602f73fd7abd4, 3ba019bdd89d931499d9476456b5d9c7ab7fa753, 6e3f129538c32d0019437197735912308c161843, a136c311676fd1010b1bde3bcfd410caa2fa040f, bd1534d4afab47f13dfc27fff6f59dd859a0ac3a, d841707fafba5f80341b82e8c3a4c24fc5aa5132 |
| linux-kernel: Kernel | >=5.16.0 <6.1.188, >=6.13.0 <6.18.51, >=6.19.0 <7.2.5, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=5.15.0 <5.15.221 | 6.1.188, 6.18.51, 7.2.5, 6.6.157, 6.12.110, 5.15.221 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket