RDMA/ucma: Serialize join and leave on copy_to_user failure (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.13 % · centile 3 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Received
Rechercher sur…
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.
Références
- https://git.kernel.org/stable/c/29b9ed83d8bfab5c6e11fcbf1aa836aa4ae26cb9
- https://git.kernel.org/stable/c/52172e11bd074ccaded21740ffeb67123f01dd00
- https://git.kernel.org/stable/c/01e29d0d78a8f66f221625720a04939eef5ec1f6
- https://git.kernel.org/stable/c/ae805d204cf1f15b87d1bf3529b4c649f3519420
- https://git.kernel.org/stable/c/43c4e24bd10370fc976f6220518049ce71419399
- https://git.kernel.org/stable/c/01cbdb724c584d7772fd25af2e4dfdf8527ce0d5
- https://git.kernel.org/stable/c/83610ee5e498fa5bfcb80031d2b959baea276bf6
- https://git.kernel.org/stable/c/662ade4de9ff5eceb0820a9f8e9fac70ba6a815b
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-93181
- GCVE · GCVE-0-2026-98253
Avis du CERT-FR
- CERTFR-2026-AVI-1432 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1374 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 60d613b39e8d0c9f3b526e9c96445422b4562d76 < 29b9ed83d8bfab5c6e11fcbf1aa836aa4ae26cb9 ; affected fe454dc31e84f8c14cb8942fcb61666c9f40745b < 52172e11bd074ccaded21740ffeb67123f01dd00 ; affected fe454dc31e84f8c14cb8942fcb61666c9f40745b < 01e29d0d78a8f66f221625720a04939eef5ec1f6 ; affected fe454dc31e84f8c14cb8942fcb61666c9f40745b < ae805d204cf1f15b87d1bf3529b4c649f3519420 ; affected fe454dc31e84f8c14cb8942fcb61666c9f40745b < 43c4e24bd10370fc976f6220518049ce71419399 ; affected fe454dc31e84f8c14cb8942fcb61666c9f40745b < 01cbdb724c584d7772fd25af2e4dfdf8527ce0d5 |
| Linux · Linux | affected 5.12 ; unaffected 0 < 5.12 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |