CVE-2026-89857
scsi: qla2xxx: Hold qpair lock when sending NVMe LS reject
Check your servers for CVE-2026-89857
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89857 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
scsi: qla2xxx: Hold qpair lock when sending NVMe LS reject
qla_nvme_ls_reject_iocb() allocates from and advances the request ring through __qla2x00_alloc_iocbs() (which assumes the hardware_lock is held) and qla2x00_start_iocbs() (which advances the ring and rings the request-in doorbell), but takes no lock itself. Two of its callers invoke it without the producer lock held:
- qla_nvme_xmt_ls_rsp(), the NVMe-FC .xmt_ls_rsp transport callback, on its error path, and
- qla2xxx_process_purls_pkt(), run from the purex work/DPC context.
Both use ha->base_qpair, whose qp_lock_ptr is hardware_lock, so they can run concurrently with normal I/O submission on the base ring and corrupt the ring producer state, leading to duplicated or dropped commands. The third caller, qla2xxx_process_purls_iocb(), runs inside qla24xx_process_response_queue() with the qpair lock already held and is safe; that is also why the lock cannot be taken inside the helper itself (it would recursively re-acquire hardware_lock on the response path).
Take qp_lock_ptr around the two unlocked callers and document the helper as caller-locked. Both run in process context, so spin_lock_irqsave() is used and nothing in the locked region sleeps.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.63%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 51.7% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 875386b98857822b77ac7f95bdf367b70af5b78c, before 7eb618877503edbf17aa65e357a81bda1fc8f163 affected from 875386b98857822b77ac7f95bdf367b70af5b78c, before b3a362466db6b8ec47cc537ac641ac197fa69b5d affected from 875386b98857822b77ac7f95bdf367b70af5b78c, before 11834e5773e20fd3742d7eb900876e66b9e7d029 affected from 875386b98857822b77ac7f95bdf367b70af5b78c, before b02ff132017b28222187ebcf95ce7f4cb576cd36 affected from 875386b98857822b77ac7f95bdf367b70af5b78c, before f743488e4a203049f27ec5d8cd0caccc483af01e
Other versions: unaffected
|
| Linux |
affected 6.6 unaffected before 6.6 unaffected from 6.6.157 up to and including 6.6.* unaffected from 6.12.110 up to and including 6.12.* unaffected from 6.18.51 up to and including 6.18.* unaffected from 7.2.5 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89857 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89857
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-89857
trivy image --scanners vuln IMAGE | grep CVE-2026-89857
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/7eb618877503edbf17aa65e357a81bda1fc8f163 git.kernel.org
- https://git.kernel.org/stable/c/b3a362466db6b8ec47cc537ac641ac197fa69b5d git.kernel.org
- https://git.kernel.org/stable/c/11834e5773e20fd3742d7eb900876e66b9e7d029 git.kernel.org
- https://git.kernel.org/stable/c/b02ff132017b28222187ebcf95ce7f4cb576cd36 git.kernel.org
- https://git.kernel.org/stable/c/f743488e4a203049f27ec5d8cd0caccc483af01e git.kernel.org
Source: the record CVE-2026-89857 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse