{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-98253","id":"CVE-2026-98253","title":"RDMA/ucma: Serialize join and leave on copy_to_user failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/ucma: Serialize join and leave on copy_to_user failure\n\nrdma_join_multicast() queues RoCE work that later reads the ucma_multicast\nthrough event->param.ud.private_data, then list_add()s the CMA multicast\nat the head of id_priv->mc_list. rdma_leave_multicast() matches only by\nsockaddr and destroys the first hit.\n\nucma_process","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/ucma: Serialize join and leave on copy_to_user failure\n\nrdma_join_multicast() queues RoCE work that later reads the ucma_multicast\nthrough event->param.ud.private_data, then list_add()s the CMA multicast\nat the head of id_priv->mc_list. rdma_leave_multicast() matches only by\nsockaddr and destroys the first hit.\n\nucma_process_join() used to drop ctx->mutex after a successful join and\nretake it only if copy_to_user() failed. Two concurrent JOIN_MCAST calls\nwith the same address can therefore insert a second CMA entry before the\nfirst thread's leave. leave then cancels the newer work and the older\nworker still dereferences the ucma_multicast that the first thread frees.\n\nKeep ctx->mutex held from rdma_join_multicast() through copy_to_user() and,\non -EFAULT, through rdma_leave_multicast() so leave cannot miss this join.\nDo not leave if join itself failed: that path never published this address\non mc_list, and a leave-by-addr would destroy an earlier successful join.","published":"2026-10-06T08:45:20.077Z","updated":"2026-11-17T07:03:38.054439440Z","reserved":"2026-09-25T10:25:14.331Z","status":"Received","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"60d613b39e8d0c9f3b526e9c96445422b4562d76","lessThan":"29b9ed83d8bfab5c6e11fcbf1aa836aa4ae26cb9","status":"affected","versionType":"git"},{"version":"fe454dc31e84f8c14cb8942fcb61666c9f40745b","lessThan":"52172e11bd074ccaded21740ffeb67123f01dd00","status":"affected","versionType":"git"},{"version":"fe454dc31e84f8c14cb8942fcb61666c9f40745b","lessThan":"01e29d0d78a8f66f221625720a04939eef5ec1f6","status":"affected","versionType":"git"},{"version":"fe454dc31e84f8c14cb8942fcb61666c9f40745b","lessThan":"ae805d204cf1f15b87d1bf3529b4c649f3519420","status":"affected","versionType":"git"},{"version":"fe454dc31e84f8c14cb8942fcb61666c9f40745b","lessThan":"43c4e24bd10370fc976f6220518049ce71419399","status":"affected","versionType":"git"},{"version":"fe454dc31e84f8c14cb8942fcb61666c9f40745b","lessThan":"01cbdb724c584d7772fd25af2e4dfdf8527ce0d5","status":"affected","versionType":"git"},{"version":"fe454dc31e84f8c14cb8942fcb61666c9f40745b","lessThan":"83610ee5e498fa5bfcb80031d2b959baea276bf6","status":"affected","versionType":"git"},{"version":"fe454dc31e84f8c14cb8942fcb61666c9f40745b","lessThan":"662ade4de9ff5eceb0820a9f8e9fac70ba6a815b","status":"affected","versionType":"git"},{"version":"a3262b3884dd67b4c5632ce7cdf9cff9d1a575d4","status":"affected","versionType":"git"},{"version":"5.10.20","lessThan":"5.10.271","status":"affected","versionType":"semver"},{"version":"5.11.3","lessThan":"5.12","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.12","status":"affected"},{"version":"0","lessThan":"5.12","status":"unaffected","versionType":"semver"},{"version":"5.10.271","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.222","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.189","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.158","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.112","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.54","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.8","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/29b9ed83d8bfab5c6e11fcbf1aa836aa4ae26cb9","tags":["web"]},{"url":"https://git.kernel.org/stable/c/52172e11bd074ccaded21740ffeb67123f01dd00","tags":["web"]},{"url":"https://git.kernel.org/stable/c/01e29d0d78a8f66f221625720a04939eef5ec1f6","tags":["web"]},{"url":"https://git.kernel.org/stable/c/ae805d204cf1f15b87d1bf3529b4c649f3519420","tags":["web"]},{"url":"https://git.kernel.org/stable/c/43c4e24bd10370fc976f6220518049ce71419399","tags":["web"]},{"url":"https://git.kernel.org/stable/c/01cbdb724c584d7772fd25af2e4dfdf8527ce0d5","tags":["web"]},{"url":"https://git.kernel.org/stable/c/83610ee5e498fa5bfcb80031d2b959baea276bf6","tags":["web"]},{"url":"https://git.kernel.org/stable/c/662ade4de9ff5eceb0820a9f8e9fac70ba6a815b","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98253.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98253","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00129,"epssPercentile":0.02654,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98253","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98253","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-98253","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98253","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}