Shellfeed logo Shellfeed

CVE-2026-89845 · UNKNOWN

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

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 12.2).

Details

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.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b – c845f2597787ef70159a32566669e308b2807a56]
  • Linux Kernel [3.4.0 – 5.10.270] [5.11.0 – 5.15.221] [5.16.0 – 6.1.188] [6.2.0 – 6.6.157] [6.7.0 – 6.12.110] [6.13.0 – 6.18.51] [6.19.0 – 7.2.5]

References