kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-98253 RDMA/ucma: Serialize join and leave on copy_to_user failure

설명

In the Linux kernel, the following vulnerability has been resolved: RDMA/ucma: Serialize join and leave on copy_to_user failure rdma_join_multicast() queues RoCE work that later reads the ucma_multicast through event->param.ud.private_data, then list_add()s the CMA multicast at the head of id_priv->mc_list. rdma_leave_multicast() matches only by sockaddr and destroys the first hit. ucma_process_join() used to drop ctx->mutex after a successful join and retake it only if copy_to_user() failed. Two concurrent JOIN_MCAST calls with the same address can therefore insert a second CMA entry before the first thread's leave. leave then cancels the newer work and the older worker still dereferences the ucma_multicast that the first thread frees. Keep ctx->mutex held from rdma_join_multicast() through copy_to_user() and, on -EFAULT, through rdma_leave_multicast() so leave cannot miss this join. Do not leave if join itself failed: that path never published this address on mc_list, and a leave-by-addr would destroy an earlier successful join.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.10.20 이상 5.10.271 미만
    • 5.11.3 이상 5.12 미만
    • 5.12

    해결 버전

    • 5.10.271 이상
    • 5.12 이상
    • 5.12 미만
    • 5.15.222 이상
    • 6.1.189 이상
    • 6.6.158 이상
    • 6.12.112 이상
    • 6.18.54 이상
    외 1개 구간 펼치기
    • 7.2.8 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의