Katalog CVE

CVE-2026-97528

WysokieCVSS 8.8
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux funkcja qla_nvme_xmt_ls_rsp() sterownika scsi: qla2xxx zwalnia strukturę uctx przez kfree() na ścieżce błędu, nie usuwając jej wcześniej z listy fcport->unsol_ctx_head. Pozostawia to zwolniony węzeł na liście, co przy kolejnych operacjach list_add_tail() i list_del() może uszkodzić listę lub wywołać panikę jądra.

Ocena ryzyka

Użycie zwolnionej pamięci (use-after-free) na liście unsol_ctx_head może prowadzić do uszkodzenia struktur jądra, niestabilności systemu lub zdalnie wywoływalnej awarii (denial of service).

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę, która wywołuje list_del() przed kfree() na ścieżce błędu w qla_nvme_xmt_ls_rsp().

Inne podatności w Linux kernel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Unlink NVMe unsol ctx before freeing on LS reject error qla_nvme_xmt_ls_rsp() obtains uctx, which was linked into fcport->unsol_ctx_head by qla2xxx_process_purls_iocb() and is still linked when the NVMe transport calls back to transmit the LS response. On the error (out:) path the function frees uctx with kfree() but never removes it from the list. This leaves a freed node in fcport->unsol_ctx_head: the next list_add_tail() for that fcport writes through the freed node, and a subsequent list_del() can corrupt the list or panic. Unlink uctx with list_del() before kfree() on the error path, matching the other free sites in qla_nvme_release_lsrsp_cmd_kref() and qla2xxx_process_purls_pkt(). qla2x00_rel_sp() in the failure path only returns the SRB to its pool and does not invoke sp->put_fn, so the out: path is the sole free and uctx is always still linked there.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS