{"id":"CVE-2026-89845","summary":"scsi: qla2xxx: Avoid req_q_map double-read in qla2x00_error_entry()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Avoid req_q_map double-read in qla2x00_error_entry()\n\nqla2x00_error_entry() reads ha-\u003ereq_q_map[que] twice: once for the NULL\ncheck and again when assigning it to req. The map slot is cleared by\nqla25xx_free_req_que() (ha-\u003ereq_q_map[que_id] = NULL under mq_lock)\nduring queue teardown, while the response-queue interrupt that drives\nqla2x00_error_entry() is still registered (the IRQ is released later in\nqla25xx_free_rsp_que()). If the slot is set to NULL between the two\nreads, req becomes NULL and is dereferenced.\n\nRead the slot once into req and NULL-check the local before use. mq_lock\nis a mutex and cannot be taken from interrupt context, so the single\nread plus local check is the appropriate fix for the reported NULL\ndereference.","modified":"2026-09-18T03:48:33.453923728Z","published":"2026-09-16T10:31:19.374Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89845.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1b995cf4157465357d66ba096e7cdaafab9972e7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1c90b74e484ba48f31944fe04963d99e01ac3767"},{"type":"WEB","url":"https://git.kernel.org/stable/c/35124cfa9898b2088ee72859e573e0876aff66fc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5dd9bec8004ba93cee8b689bf54ce294f59e5e3c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c845f2597787ef70159a32566669e308b2807a56"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d79376fbd2a076de82c1cd8aa0b600b300c75a44"},{"type":"WEB","url":"https://git.kernel.org/stable/c/deb8abde83a799d2501f3977f6d6051000253f5e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fe04b31e386aee4cc3a18f07462af146037dc389"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89845.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89845"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b"},{"fixed":"c845f2597787ef70159a32566669e308b2807a56"},{"fixed":"fe04b31e386aee4cc3a18f07462af146037dc389"},{"fixed":"1b995cf4157465357d66ba096e7cdaafab9972e7"},{"fixed":"d79376fbd2a076de82c1cd8aa0b600b300c75a44"},{"fixed":"1c90b74e484ba48f31944fe04963d99e01ac3767"},{"fixed":"5dd9bec8004ba93cee8b689bf54ce294f59e5e3c"},{"fixed":"35124cfa9898b2088ee72859e573e0876aff66fc"},{"fixed":"deb8abde83a799d2501f3977f6d6051000253f5e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89845.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.4.0"},{"fixed":"5.10.270"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.221"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.51"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89845.json"}}],"schema_version":"1.9.0"}