VDB

CVE-2026-97537

CVE-2026-97537 PUBLISHED

scsi: qla2xxx: Fix queue teardown NULL dma_free and bitmap locking

Reported by linux · Published September 25, 2026

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Fix queue teardown NULL dma_free and bitmap locking qla25xx_free_req_que() and qla25xx_free_rsp_que() have two pre-existing bugs exposed on the error path of qla25xx_create_{req,rsp}_que(): 1. When dma_alloc_coherent() fails during queue creation, the error path calls the free function with req->ring / rsp->ring still NULL (from kzalloc). The unconditional dma_free_coherent() with a NULL cpu_addr is undefined behavior and can panic. 2. The free functions clear req_qid_map / rsp_qid_map under vport_lock, but the create functions protect the same bitmaps with mq_lock. This provides no mutual exclusion. Additionally, the create error path clears the bit and releases mq_lock before calling the free function, creating a window where another thread can allocate the same que_id and have its ha->req_q_map entry clobbered by the subsequent lockless NULL assignment in the free function. Fix by: - Guarding dma_free_coherent() with a NULL check on the ring pointer. - Using mq_lock (the lock held by all creators) in the free functions to atomically NULL the map entry and clear the bitmap bit. - Removing the now-redundant clear_bit blocks from the create error paths since the free functions handle it atomically.

EPSS 0.22% · 12.2th percentile

Risk scores

EPSS Score
0.22%
12.2th percentile

Affected products

VendorProductVersions
LinuxLinux73208dfd7ab19f379d73e8a0fbf30f92c203e5e8, 73208dfd7ab19f379d73e8a0fbf30f92c203e5e8, 73208dfd7ab19f379d73e8a0fbf30f92c203e5e8
LinuxLinux2.6.29, 0, 5.10.273
linuxlinux_kernel2.6.29, 2.6.29, 2.6.29
LinuxLinux73208dfd7ab19f379d73e8a0fbf30f92c203e5e8, 73208dfd7ab19f379d73e8a0fbf30f92c203e5e8, 73208dfd7ab19f379d73e8a0fbf30f92c203e5e8

Timeline

  • Sep 25, 2026 Coalition ESS Score
  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (10 in total, the first dated here)
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-97537
vulnetix vdb fixes CVE-2026-97537

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-97537/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›