{"id":"CVE-2026-89845","aliases":["CVE-2026-89845"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: qla2xxx: Avoid req_q_map double-read in qla2x00_error_entry()","summary":"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->req_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->req_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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->req_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->req_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.","source":"cvelist"}],"published":"2026-09-16T10:31:19.374Z","modified":"2026-10-19T09:18:28.483Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b","fixed":"c845f2597787ef70159a32566669e308b2807a56","status":"affected"},{"type":"git","introduced":"a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b","fixed":"fe04b31e386aee4cc3a18f07462af146037dc389","status":"affected"},{"type":"git","introduced":"a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b","fixed":"1b995cf4157465357d66ba096e7cdaafab9972e7","status":"affected"},{"type":"git","introduced":"a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b","fixed":"d79376fbd2a076de82c1cd8aa0b600b300c75a44","status":"affected"},{"type":"git","introduced":"a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b","fixed":"1c90b74e484ba48f31944fe04963d99e01ac3767","status":"affected"},{"type":"git","introduced":"a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b","fixed":"5dd9bec8004ba93cee8b689bf54ce294f59e5e3c","status":"affected"},{"type":"git","introduced":"a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b","fixed":"35124cfa9898b2088ee72859e573e0876aff66fc","status":"affected"},{"type":"git","introduced":"a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b","fixed":"deb8abde83a799d2501f3977f6d6051000253f5e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.4","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c845f2597787ef70159a32566669e308b2807a56","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fe04b31e386aee4cc3a18f07462af146037dc389","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b995cf4157465357d66ba096e7cdaafab9972e7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d79376fbd2a076de82c1cd8aa0b600b300c75a44","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1c90b74e484ba48f31944fe04963d99e01ac3767","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5dd9bec8004ba93cee8b689bf54ce294f59e5e3c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/35124cfa9898b2088ee72859e573e0876aff66fc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/deb8abde83a799d2501f3977f6d6051000253f5e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89845","url":"https://www.cve.org/CVERecord?id=CVE-2026-89845","licence":"CVE Terms of Use","modified":"2026-10-19T08:53:38.186Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89845","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89845","licence":"Public domain","modified":"2026-10-19T09:18:28.483Z"}],"updatedAt":"2026-11-25T22:59:38.954Z","epss":{"score":0.00216,"percentile":0.12857,"date":"2026-12-01T12:00:22.000Z"}}