Instituto Nacional de ciberseguridad. Sección Incibe
Instituto Nacional de Ciberseguridad. Sección INCIBE-CERT

CVE-2026-97536

Gravedad CVSS v3.1:
ALTA
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
25/09/2026
Última modificación:
30/10/2026

Descripción

*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> scsi: qla2xxx: Fix use-after-free of qpair work on queue teardown<br /> <br /> The response queue MSI-X handler qla2xxx_msix_rsp_q() schedules<br /> qla_do_work() via queue_work(ha-&gt;wq, &amp;qpair-&gt;q_work). qla_do_work()<br /> dereferences the qpair (vha, rsp) and takes qpair-&gt;qp_lock.<br /> <br /> During teardown, qla2xxx_delete_qpair() deletes the response queue, which<br /> calls free_irq() in qla25xx_free_rsp_que(), and then frees the queue and<br /> the qpair. free_irq() waits for running hardirq handlers but does not<br /> cancel work already placed on ha-&gt;wq. A still-pending q_work then runs<br /> qla_do_work() against the freed qpair and response queue, causing a<br /> use-after-free. This is especially likely during full adapter teardown,<br /> where destroy_workqueue(ha-&gt;wq) forces pending work to run after the queue<br /> pairs have been freed.<br /> <br /> Flush the work item with cancel_work_sync() in qla25xx_free_rsp_que()<br /> after free_irq() has released the interrupt (so no new work can be<br /> queued) and before the response queue and qpair memory are freed (so the<br /> flushed handler still sees valid memory). Guard on rsp-&gt;qpair and ha-&gt;wq<br /> to match the INIT_WORK() condition and avoid operating on an<br /> uninitialized work_struct.