CVE-2026-89845

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

State
Published
Severity
Not scored
Published
Sep 16, 2026
Updated
Oct 19, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b to before c845f2597787ef70159a32566669e308b2807a56Affected
  • a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b to before fe04b31e386aee4cc3a18f07462af146037dc389Affected
  • a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b to before 1b995cf4157465357d66ba096e7cdaafab9972e7Affected
  • a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b to before d79376fbd2a076de82c1cd8aa0b600b300c75a44Affected
  • a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b to before 1c90b74e484ba48f31944fe04963d99e01ac3767Affected
  • a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b to before 5dd9bec8004ba93cee8b689bf54ce294f59e5e3cAffected
  • a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b to before 35124cfa9898b2088ee72859e573e0876aff66fcAffected
  • a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b to before deb8abde83a799d2501f3977f6d6051000253f5eAffected
LinuxLinux
  • 3.4Affected
  • before 3.4Not affected
  • 5.10.270 through 5.10.*Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.51 through 6.18.*Not affected
  • 7.2.5 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.