CVE-2026-89860: scsi: qla2xxx: Initialize NVMe abort_work once at submission
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
scsi: qla2xxx: Initialize NVMe abort_work once at submission
qla_nvme_fcp_abort() and qla_nvme_ls_abort() ran INIT_WORK() on priv->abort_work immediately before schedule_work(). INIT_WORK() reinitializes the work_struct, resetting its list head and clearing the pending bit. If an abort is issued more than once for the same command (for example, concurrent transport teardown and a timeout-driven abort), the second INIT_WORK() reinitializes a work item that is already queued, which can corrupt the workqueue list and lead to crashes or a looping worker.
Initialize priv->abort_work once at command submission, next to the existing per-command spin_lock_init(&priv->cmd_lock), and leave only schedule_work() in the abort paths. schedule_work() already does nothing when the work item is still pending, so a repeated abort no longer disturbs an in-flight work item. The command is not returned to the transport until the final kref_put()/release callback runs after abort_work has completed, so the work item is idle before priv is reused and the single submission-time INIT_WORK() is safe.
The Linux kernel CVE team has assigned CVE-2026-89860 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.17 with commit e473b3074104ee09227cfbba5f872e3ea15dd280 and fixed in 6.6.157 with commit b403700ac62fbf3c310196386e125879a182efcf Issue introduced in 4.17 with commit e473b3074104ee09227cfbba5f872e3ea15dd280 and fixed in 6.12.110 with commit 6a1b50c4879c2e6a034e8e85f9c055f0eea157c7 Issue introduced in 4.17 with commit e473b3074104ee09227cfbba5f872e3ea15dd280 and fixed in 6.18.51 with commit 67f0d5187c29360388f7e1e503c627ec45d01089 Issue introduced in 4.17 with commit e473b3074104ee09227cfbba5f872e3ea15dd280 and fixed in 7.2.5 with commit f4aaa4a4e6f1da6f3abfd80e1917bef922287177 Issue introduced in 4.17 with commit e473b3074104ee09227cfbba5f872e3ea15dd280 and fixed in 7.3-rc1 with commit 7e85f6dbc85616de2172bce8eaf84b387a723cd1
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-89860
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_nvme.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/b403700ac62fbf3c310196386e125879a182efcf https://git.kernel.org/stable/c/6a1b50c4879c2e6a034e8e85f9c055f0eea157c7 https://git.kernel.org/stable/c/67f0d5187c29360388f7e1e503c627ec45d01089 https://git.kernel.org/stable/c/f4aaa4a4e6f1da6f3abfd80e1917bef922287177 https://git.kernel.org/stable/c/7e85f6dbc85616de2172bce8eaf84b387a723cd1