CVE-2026-89844: scsi: qla2xxx: Hold vport_slock for host map update in report ID acquisition
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
scsi: qla2xxx: Hold vport_slock for host map update in report ID acquisition
qla24xx_report_id_acquisition() format-1 handling drops vport_slock after taking the vport reference and then calls qla_update_host_map() without the lock. That reaches qla_update_vp_map(), which mutates the ha->host_map btree via btree_insert32()/btree_update32()/btree_remove32() and is documented to require vport_slock to be held by the caller. Running it unlocked can race concurrent host_map updates and corrupt the btree.
The format-2 path in the same function already wraps its host_map update (SET_AL_PA) in vport_slock; the format-1 path is the lone outlier.
Hold vport_slock across the format-1 qla_update_host_map() call to honor the documented locking contract. The vref_count taken in the loop keeps the vport valid, so this only adds the missing host_map serialization.
The Linux kernel CVE team has assigned CVE-2026-89844 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.3 with commit 430eef03a763e5e76a371ba6d02779ae4a64b6ea and fixed in 6.6.157 with commit e8f1b0cb9782338c6341ceed816e9c1243743cdd Issue introduced in 6.3 with commit 430eef03a763e5e76a371ba6d02779ae4a64b6ea and fixed in 6.12.110 with commit 6ed66e2a67bbd22877008ff9aa64bd574a7fc011 Issue introduced in 6.3 with commit 430eef03a763e5e76a371ba6d02779ae4a64b6ea and fixed in 6.18.51 with commit 776e4e8cbcf155302f430ce9793d1502e3c113a0 Issue introduced in 6.3 with commit 430eef03a763e5e76a371ba6d02779ae4a64b6ea and fixed in 7.2.5 with commit 7d0b3f745efb24c0aac5e06b49b3420bc65d23b9 Issue introduced in 6.3 with commit 430eef03a763e5e76a371ba6d02779ae4a64b6ea and fixed in 7.3-rc1 with commit 7944039ba9cb5c3a935d17c91004e3b8649ff58e
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-89844
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_mbx.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/e8f1b0cb9782338c6341ceed816e9c1243743cdd https://git.kernel.org/stable/c/6ed66e2a67bbd22877008ff9aa64bd574a7fc011 https://git.kernel.org/stable/c/776e4e8cbcf155302f430ce9793d1502e3c113a0 https://git.kernel.org/stable/c/7d0b3f745efb24c0aac5e06b49b3420bc65d23b9 https://git.kernel.org/stable/c/7944039ba9cb5c3a935d17c91004e3b8649ff58e