net/rds: don't let the rdma_cm destroy an id RDS still owns on route failure (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.15 % · centile 5 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: net/rds: don't let the rdma_cm destroy an id RDS still owns on route failure rds_rdma_cm_event_handler_cmn() hands the return value of rdma_resolve_route() straight back to the rdma_cm on RDMA_CM_EVENT_ADDR_RESOLVED. A synchronous failure there - -ENOMEM from the route work allocation, an SA query that cannot be set up, a RoCE route with no usable device - makes addr_handler() destroy the id the event was delivered on. That id is ic->i_cm_id, and nothing clears the pointer: the connection sits in RDS_CONN_CONNECTING with a freed id until its shutdown calls rdma_disconnect() and rdma_destroy_id() on it. The ROUTE_RESOLVED case already avoids this: rds_ib_cm_initiate_connect() forces a zero return while ic->i_cm_id == cm_id, as the comment there explains. Do the same here - drop the connection and return 0 - so the id stays RDS's to destroy from the shutdown, and the reconnect gets a fresh one.
Références
- https://git.kernel.org/stable/c/664fd3205cbec71ac52c005ee705cd917bb6fb1a
- https://git.kernel.org/stable/c/b8f141f65885810e24fc23b8a71692db62d535bf
- https://git.kernel.org/stable/c/e677eda15df7d5ce256654343418043c7ffd6f9b
- https://git.kernel.org/stable/c/92143c5d80382588d5a3047a4f14023ee9ef6485
- https://git.kernel.org/stable/c/a7c7d0ff876377fea7ae876a28d6df8d9349df57
- https://git.kernel.org/stable/c/91ece3efa064f0b3b3c67b9b045d9eeb4a034e43
- https://git.kernel.org/stable/c/98d446b7c013254a8a7b49720557676a3a851fde
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/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-111964
- GCVE · GCVE-0-2026-99212
Avis du CERT-FR
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1595 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1473 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea < 664fd3205cbec71ac52c005ee705cd917bb6fb1a affectée : ≥ 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea < b8f141f65885810e24fc23b8a71692db62d535bf affectée : ≥ 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea < e677eda15df7d5ce256654343418043c7ffd6f9b affectée : ≥ 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea < 92143c5d80382588d5a3047a4f14023ee9ef6485 affectée : ≥ 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea < a7c7d0ff876377fea7ae876a28d6df8d9349df57 affectée : ≥ 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea < 91ece3efa064f0b3b3c67b9b045d9eeb4a034e43 affectée : ≥ 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea < 98d446b7c013254a8a7b49720557676a3a851fde Autres versions : non affectée |
| Linux · Linux | affectée : 2.6.30 non affectée : ≥ 0 < 2.6.30 non affectée : ≥ 5.15.224 ≤ 5.15.* non affectée : ≥ 6.1.191 ≤ 6.1.* non affectée : ≥ 6.6.161 ≤ 6.6.* non affectée : ≥ 6.12.115 ≤ 6.12.* non affectée : ≥ 6.18.59 ≤ 6.18.* non affectée : ≥ 7.2.13 ≤ 7.2.* non affectée : ≥ 7.3 ≤ * Autres versions : affectée |
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 |