# CVE-2026-89845: scsi: qla2xxx: Avoid req_q_map double-read in qla2x00_error_entry()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-09-16T10:31:19.374Z
- Modified: 2026-10-19T09:18:28.483Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: qla2xxx: Avoid req_q_map double-read in qla2x00_error_entry()

qla2x00_error_entry() reads ha->req_q_map[que] twice: once for the NULL
check and again when assigning it to req. The map slot is cleared by
qla25xx_free_req_que() (ha->req_q_map[que_id] = NULL under mq_lock)
during queue teardown, while the response-queue interrupt that drives
qla2x00_error_entry() is still registered (the IRQ is released later in
qla25xx_free_rsp_que()). If the slot is set to NULL between the two
reads, req becomes NULL and is dereferenced.

Read the slot once into req and NULL-check the local before use. mq_lock
is a mutex and cannot be taken from interrupt context, so the single
read plus local check is the appropriate fix for the reported NULL
dereference.

(As written by CVE List.)

## Affected

- Linux Linux: from a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b before c845f2597787ef70159a32566669e308b2807a56; from a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b before fe04b31e386aee4cc3a18f07462af146037dc389; from a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b before 1b995cf4157465357d66ba096e7cdaafab9972e7; from a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b before d79376fbd2a076de82c1cd8aa0b600b300c75a44; from a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b before 1c90b74e484ba48f31944fe04963d99e01ac3767; from a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b before 5dd9bec8004ba93cee8b689bf54ce294f59e5e3c; from a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b before 35124cfa9898b2088ee72859e573e0876aff66fc; from a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b before deb8abde83a799d2501f3977f6d6051000253f5e; 3.4 (not affected: before 3.4; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/c845f2597787ef70159a32566669e308b2807a56>
- <https://git.kernel.org/stable/c/fe04b31e386aee4cc3a18f07462af146037dc389>
- <https://git.kernel.org/stable/c/1b995cf4157465357d66ba096e7cdaafab9972e7>
- <https://git.kernel.org/stable/c/d79376fbd2a076de82c1cd8aa0b600b300c75a44>
- <https://git.kernel.org/stable/c/1c90b74e484ba48f31944fe04963d99e01ac3767>
- <https://git.kernel.org/stable/c/5dd9bec8004ba93cee8b689bf54ce294f59e5e3c>
- <https://git.kernel.org/stable/c/35124cfa9898b2088ee72859e573e0876aff66fc>
- <https://git.kernel.org/stable/c/deb8abde83a799d2501f3977f6d6051000253f5e>

## Sources

- CVE List: [CVE-2026-89845](https://www.cve.org/CVERecord?id=CVE-2026-89845), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89845](https://nvd.nist.gov/vuln/detail/CVE-2026-89845), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89845 · Whole record: https://cve.day/CVE-2026-89845.json · Rebuilt by cve.day 2026-11-25T22:59:38.954Z
