CVE-2026-98253

RDMA/ucma: Serialize join and leave on copy_to_user failure

  • High 7.8

Description

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.

Key facts

Published
6 Oct 2026
Last changed
19 Oct 2026
Assigned by
Linux
EPSS
0.129% likely to be exploited in the next 30 days, higher than 2.627% of CVEs (scores for 17 Nov 2026)

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 7.8CVSS 3.1, Highfrom the CNA (Linux)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 60d613b39e8d0c9f3b526e9c96445422b4562d76 up to but excluding 29b9ed83d8bfab5c6e11fcbf1aa836aa4ae26cb9 (affected)
  • fe454dc31e84f8c14cb8942fcb61666c9f40745b up to but excluding 52172e11bd074ccaded21740ffeb67123f01dd00 (affected)
  • fe454dc31e84f8c14cb8942fcb61666c9f40745b up to but excluding 01e29d0d78a8f66f221625720a04939eef5ec1f6 (affected)
  • fe454dc31e84f8c14cb8942fcb61666c9f40745b up to but excluding ae805d204cf1f15b87d1bf3529b4c649f3519420 (affected)
  • fe454dc31e84f8c14cb8942fcb61666c9f40745b up to but excluding 43c4e24bd10370fc976f6220518049ce71419399 (affected)
  • fe454dc31e84f8c14cb8942fcb61666c9f40745b up to but excluding 01cbdb724c584d7772fd25af2e4dfdf8527ce0d5 (affected)
  • fe454dc31e84f8c14cb8942fcb61666c9f40745b up to but excluding 83610ee5e498fa5bfcb80031d2b959baea276bf6 (affected)
  • fe454dc31e84f8c14cb8942fcb61666c9f40745b up to but excluding 662ade4de9ff5eceb0820a9f8e9fac70ba6a815b (affected)
  • a3262b3884dd67b4c5632ce7cdf9cff9d1a575d4 (affected)
  • 5.10.20 up to but excluding 5.10.271 (affected)
  • 5.11.3 up to but excluding 5.12 (affected)
LinuxLinux
  • Default status: affected
  • 5.12 (affected)
  • 0 up to but excluding 5.12 (unaffected)
  • 5.10.271 up to and including 5.10.* (unaffected)
  • 5.15.222 up to and including 5.15.* (unaffected)
  • 6.1.189 up to and including 6.1.* (unaffected)
  • 6.6.158 up to and including 6.6.* (unaffected)
  • 6.12.112 up to and including 6.12.* (unaffected)
  • 6.18.54 up to and including 6.18.* (unaffected)
  • 7.2.8 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 6 Oct 2026 Published

References