Katalog CVE

CVE-2026-80864

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w podsystemie RDMA/rxe występuje podatność use-after-free podczas modyfikacji atrybutu IB_QP_MAX_DEST_RD_ATOMIC. Miejscowy nieuprzywilejowany użytkownik może wykorzystać wyścig między zwolnieniem a ponownym przydzieleniem zasobów, prowadząc do awarii systemu (lokalny DoS).

Ocena ryzyka

Lokalny użytkownik może spowodować awarię systemu lub potencjalnie uzyskać nieautoryzowany dostęp do pamięci jądra.

Rekomendacja

Zainstaluj najnowszą łatkę jądra Linux zawierającą poprawkę dla tego problemu.

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/rxe: Fix responder UAF on IB_QP_MAX_DEST_RD_ATOMIC modify_qp rxe_qp_from_attr() handles IB_QP_MAX_DEST_RD_ATOMIC outside the IB_QP_STATE path, so it holds no state_lock and runs while the responder task rxe_receiver() (recv_task on rxe_wq) is live. A modify_qp() setting only that attribute calls free_rd_atomic_resources() then alloc_rd_atomic_resources(), swapping qp->resp.resources[] while rxe_prepare_res()/find_resource() walk it; free_rd_atomic_resources() also leaves the cached pointer qp->resp.res dangling. A local unprivileged user can race the free/realloc into a use-after-free in rxe_receiver() (local DoS). Drain recv_task around the swap with rxe_disable_task()/rxe_enable_task(), as rxe_qp_reset() already does when tearing this array down, re-enabling only after alloc_rd_atomic_resources() succeeds so the responder never resumes against a NULL qp->resp.resources on the ENOMEM path. Also clear qp->resp.res in free_rd_atomic_resources(), like the rxe_resp.c completion paths. Reproduced under KASAN; the slab-use-after-free in rxe_receiver() is gone.

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