Katalog CVE

CVE-2026-90417

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w module RDMA/cxgb4 występuje wyciek skb i podwójne zwolnienie w funkcji write_tpt_entry(). Gdy urządzenie jest w stanie błędu krytycznego, write_tpt_entry() zwraca błąd przed przekazaniem skb, co prowadzi do wycieku w c4iw_dereg_mr() lub podwójnego zwolnienia w c4iw_get_dma_mr().

Ocena ryzyka

Wyciek pamięci i podwójne zwolnienie mogą prowadzić do wyczerpania zasobów, uszkodzenia pamięci jądra i awarii systemu. Ryzyko występuje na systemach z kartami RDMA cxgb4 w stanie błędu.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę, która czyni write_tpt_entry() jedynym właścicielem skb i usuwa zbędne kfree_skb(). Zalecana jest aktualizacja sterowników RDMA cxgb4.

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: RDMA/cxgb4: Fix dereg_skb leak and double free in write_tpt_entry() When the device is in the fatal error state, write_tpt_entry() returns -EIO before handing the caller's preallocated skb to the transmit path; its allocation-failure returns do the same. c4iw_dereg_mr() ignores the error and frees mhp, leaking mhp->dereg_skb. c4iw_get_dma_mr() instead frees the skb a second time after dereg_mem() already consumed it, a double free. Make write_tpt_entry() the sole owner of a non-NULL skb, freeing it on every return preceding handoff to c4iw_ofld_send(): fatal error, tpt and stag allocation failure. c4iw_ofld_send() consumes the skb on success and error alike, so drop the redundant kfree_skb() in c4iw_get_dma_mr() after dereg_mem().

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