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.
Published: 2026-09-16
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: Kernel crash due to null pointer dereference
Action: Patch Immediately
AI Analysis

Impact

The qla2xxx SCSI driver in the Linux kernel contains a race condition where the qla2xxx error entry function reads a request‑queue map slot twice. If the slot is cleared between the two reads during queue teardown, the function later dereferences a NULL pointer, causing an immediate kernel crash. This flaw is a classic null pointer dereference (CWE‑476) and results in a denial of service by bringing the entire operating system down.

Affected Systems

All Linux kernel implementations that include the qla2xxx SCSI driver and have not yet incorporated the commit that removes the double read are impacted. This applies to standard Linux distributions running any kernel version that pre‑dates the patch. The flaw is localized to the qla2xxx driver; no other components are affected.

Risk and Exploitability

The EPSS score is below 1 % and the vulnerability is not listed in the CISA KEV catalog, indicating a low likelihood of exploitation in the wild. The attack vector involves a race condition between the device queue teardown and the interrupt handler for a SCSI request. Such an interaction would likely require control over the device or elevated privileges to orchestrate the timing; this is inferred from the description. Nonetheless, the potential impact is severe, so patching remains the recommended course of action.

Generated by OpenCVE AI on September 17, 2026 at 23:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the qla2xxx null dereference fix from the recent commit. This is the primary remediation step.
  • If a kernel update cannot be performed immediately, disable or unload the qla2xxx driver or remove the associated SCSI hardware to avoid the crash trigger.
  • After applying the fix or using the workaround, monitor system logs for any residual errors related to the qla2xxx driver and verify system stability under normal load.

Generated by OpenCVE AI on September 17, 2026 at 23:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 17 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Wed, 16 Sep 2026 10:45:00 +0000

Type Values Removed Values Added
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.
Title scsi: qla2xxx: Avoid req_q_map double-read in qla2x00_error_entry()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-16T10:31:19.374Z

Reserved: 2026-09-11T19:38:34.770Z

Link: CVE-2026-89845

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-16T11:16:51.720

Modified: 2026-09-16T11:16:51.720

Link: CVE-2026-89845

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-17T23:30:17Z

Weaknesses