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

CVE-2026-89845
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 12 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

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.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b < c845f2597787ef70159a32566669e308b2807a56 ; affected a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b < fe04b31e386aee4cc3a18f07462af146037dc389 ; affected a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b < 1b995cf4157465357d66ba096e7cdaafab9972e7 ; affected a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b < d79376fbd2a076de82c1cd8aa0b600b300c75a44 ; affected a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b < 1c90b74e484ba48f31944fe04963d99e01ac3767 ; affected a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b < 5dd9bec8004ba93cee8b689bf54ce294f59e5e3c
Linux · Linuxaffected 3.4 ; unaffected 0 < 3.4 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD