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

Not scored Published Updated

A race condition in the qla2xxx SCSI driver allows a local attacker to trigger a NULL pointer dereference and kernel crash during queue teardown.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-89845?

CVE-2026-89845 is a vulnerability in Linux, published on 16 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2026-89845?

How do I fix CVE-2026-89845?

Apply the vendor's patch.

Is CVE-2026-89845 being exploited?

There is no known exploitation of CVE-2026-89845 in the wild and no public exploit code.

Sources

Also known as AZL-101670, BELL-CVE-2026-89845, DEBIAN-CVE-2026-89845, GHSA-rgjv-6vw7-qf84, UBUNTU-CVE-2026-89845.

Is CVE-2026-89845 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free