Skip to contentSkip to conversation

CVE-2026-89850: scsi: qla2xxx: Don't query firmware state while chip is down

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 16

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: Don't query firmware state while chip is down

qla2x00_fw_state_show() initializes rval to QLA_FUNCTION_FAILED and jumps to the out: label when the chip is down or EEH is busy. The out: block then re-issued qla2x00_get_firmware_state() because rval != QLA_SUCCESS, defeating the chip-down/EEH-busy guards and issuing a mailbox command (outside optrom_mutex) during ISP reset or PCI error recovery, which can hang the adapter. It also turned a normal in-lock mailbox failure into a second unsynchronized mailbox attempt.

Make the out: fallback only mark the firmware state as unknown. The mailbox is now issued at most once, inside optrom_mutex, and only when the chip is up and not EEH-busy.

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

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

	Issue introduced in 4.20 with commit b6faaaf796d7bfb00e32ca5c905d55cc43e89448 and fixed in 5.10.270 with commit 178d984e8875292582e4295cf559b2b11d3c9325
	Issue introduced in 4.20 with commit b6faaaf796d7bfb00e32ca5c905d55cc43e89448 and fixed in 5.15.221 with commit cba780c01f72f8585ca81ad7304097f8b12ef339
	Issue introduced in 4.20 with commit b6faaaf796d7bfb00e32ca5c905d55cc43e89448 and fixed in 6.1.188 with commit 22f44f77da496bc355479c08a0a9dbc9ad42ba42
	Issue introduced in 4.20 with commit b6faaaf796d7bfb00e32ca5c905d55cc43e89448 and fixed in 6.6.157 with commit b6a30baa29695fa0eaba4a3a04435a3c1a5cb63d
	Issue introduced in 4.20 with commit b6faaaf796d7bfb00e32ca5c905d55cc43e89448 and fixed in 6.12.110 with commit 7bc2baed8a3d6a1e2a3f6b78d245f25d1e18a749
	Issue introduced in 4.20 with commit b6faaaf796d7bfb00e32ca5c905d55cc43e89448 and fixed in 6.18.51 with commit a194684853dceaa1d6b7a9a02bc12f479232ad9b
	Issue introduced in 4.20 with commit b6faaaf796d7bfb00e32ca5c905d55cc43e89448 and fixed in 7.2.5 with commit a6374b508893de15fee78583a95f5099d7812e85
	Issue introduced in 4.20 with commit b6faaaf796d7bfb00e32ca5c905d55cc43e89448 and fixed in 7.3-rc1 with commit e0cebe20dcffbed9c078fe30e2d18cd5046d9eff

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-89850

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_attr.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/178d984e8875292582e4295cf559b2b11d3c9325
	https://git.kernel.org/stable/c/cba780c01f72f8585ca81ad7304097f8b12ef339
	https://git.kernel.org/stable/c/22f44f77da496bc355479c08a0a9dbc9ad42ba42
	https://git.kernel.org/stable/c/b6a30baa29695fa0eaba4a3a04435a3c1a5cb63d
	https://git.kernel.org/stable/c/7bc2baed8a3d6a1e2a3f6b78d245f25d1e18a749
	https://git.kernel.org/stable/c/a194684853dceaa1d6b7a9a02bc12f479232ad9b
	https://git.kernel.org/stable/c/a6374b508893de15fee78583a95f5099d7812e85
	https://git.kernel.org/stable/c/e0cebe20dcffbed9c078fe30e2d18cd5046d9eff