Skip to contentSkip to conversation

CVE-2026-93242: scsi: qla2xxx: Fix response queue over-consumption in __qla_consume_iocb()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 24

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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().

The Linux kernel CVE team has assigned CVE-2026-93242 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.15 with commit fac2807946c10b9a509b9c348afd442fa823c5f7 and fixed in 5.15.221 with commit a136c311676fd1010b1bde3bcfd410caa2fa040f
	Issue introduced in 5.15 with commit fac2807946c10b9a509b9c348afd442fa823c5f7 and fixed in 6.1.188 with commit d841707fafba5f80341b82e8c3a4c24fc5aa5132
	Issue introduced in 5.15 with commit fac2807946c10b9a509b9c348afd442fa823c5f7 and fixed in 6.6.157 with commit 6e3f129538c32d0019437197735912308c161843
	Issue introduced in 5.15 with commit fac2807946c10b9a509b9c348afd442fa823c5f7 and fixed in 6.12.110 with commit bd1534d4afab47f13dfc27fff6f59dd859a0ac3a
	Issue introduced in 5.15 with commit fac2807946c10b9a509b9c348afd442fa823c5f7 and fixed in 6.18.51 with commit 31715d1e1cbf3a37ce3452635c5602f73fd7abd4
	Issue introduced in 5.15 with commit fac2807946c10b9a509b9c348afd442fa823c5f7 and fixed in 7.2.5 with commit df86c27cf1ba9d66f737a1fa56479c6e7efafe4e
	Issue introduced in 5.15 with commit fac2807946c10b9a509b9c348afd442fa823c5f7 and fixed in 7.3-rc1 with commit 3ba019bdd89d931499d9476456b5d9c7ab7fa753

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-93242

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/scsi/qla2xxx/qla_isr.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	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