Katalog CVE

CVE-2026-93267

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w RDMA/core funkcja uverbs_free_dmah() wywoływała rdma_restrack_del() zbyt późno, po zwolnieniu zasobów specyficznych dla dostawcy powiązanych z dmah. Pozostawiało to krótkie okno, w którym dmah był nadal dostępny przez restrack, co mogło prowadzić do use-after-free.

Ocena ryzyka

Use-after-free w podsystemie RDMA może prowadzić do awarii jądra, uszkodzenia pamięci lub potencjalnej eskalacji uprawnień przez lokalnego atakującego.

Rekomendacja

Zaktualizuj jądro Linux do wersji z poprawką, która przenosi wywołanie rdma_restrack_begin_del() na początek uverbs_free_dmah(), usuwając dmah z restrack przed zwolnieniem jego zasobów.

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/core: Fix potential use after free in uverbs_free_dmah() When accessing a dmah via the netlink path the only synchronization mechanism for the said dmah is rdma_restrack_get(). Currently, rdma_restrack_del() is invoked at the end of uverbs_free_dmah(), which is too late, since by that point vendor-specific resources associated with the dmah might already be freed. This can leave a short window where the dmah remains accessible through restrack, leading to a potential use-after-free. Fix this by moving the rdma_restrack_begin_del() call to the start of uverbs_free_dmah(), ensuring that the dmah is removed from restrack before its internal resources are released. This guarantees that no new users hold references to a dmah that is in the process of destruction. In addition, this change preserves the intended inverted order between create and destroy routines: resources are added to restrack at the end of successful creation, and hence shall be removed from the restrack first thing during the destruction flow, which keeps the lifecycle management consistent and predictable.

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