svcrdma: Use svc_xprt_put to free listener on create failure (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.22 % · centile 13 ()
- É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: svcrdma: Use svc_xprt_put to free listener on create failure svc_rdma_create() calls kfree(cma_xprt) when svc_rdma_create_listen_id() fails. svc_xprt_init() has already acquired a net namespace reference via get_net_track(); kfree bypasses svc_xprt_free() which releases it. Replace the kfree() with svc_xprt_put() so the kref_init birth reference drops to zero and svc_xprt_free() dispatches svc_rdma_free() to clean up properly. sc_cm_id is still NULL at that point; the preceding patch added the necessary NULL guard in svc_rdma_free(). svc_xprt_free() also drops the module reference via module_put(), but the caller _svc_xprt_create() does the same on xpo_create failure, double-putting the single try_module_get() it acquired. Take a compensating __module_get() before the svc_xprt_put() to keep the count balanced, matching the convention in svc_rdma_accept()'s error path.
Références
- https://git.kernel.org/stable/c/31b8293495ba94ccf494e556a318886b716884b6
- https://git.kernel.org/stable/c/2e35ec558b8cece9399a50141ecaeadbdb8768dc
- https://git.kernel.org/stable/c/ee70d690b5544b736706a9a5796aafb634013f54
- https://git.kernel.org/stable/c/e68380710fc970e07610b2f42594575ad35fdb1c
- https://git.kernel.org/stable/c/ac1dd6002f758ab7dd3e737757e5a1bb1c0b38d6
- https://git.kernel.org/stable/c/e346ef7bcb137f50c49f969330ab7dcf64ea1654
Références européennes
- ENISA EUVD · EUVD-2026-76433
- GCVE · GCVE-0-2026-89527
Avis du CERT-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
- CERTFR-2026-AVI-1372 — Multiples vulnérabilités dans les produits SUSE · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 4fb8518bdac8e85f6580ea3f586adf396cd472bc < 31b8293495ba94ccf494e556a318886b716884b6 ; affected 4fb8518bdac8e85f6580ea3f586adf396cd472bc < 2e35ec558b8cece9399a50141ecaeadbdb8768dc ; affected 4fb8518bdac8e85f6580ea3f586adf396cd472bc < ee70d690b5544b736706a9a5796aafb634013f54 ; affected 4fb8518bdac8e85f6580ea3f586adf396cd472bc < e68380710fc970e07610b2f42594575ad35fdb1c ; affected 4fb8518bdac8e85f6580ea3f586adf396cd472bc < ac1dd6002f758ab7dd3e737757e5a1bb1c0b38d6 ; affected 4fb8518bdac8e85f6580ea3f586adf396cd472bc < e346ef7bcb137f50c49f969330ab7dcf64ea1654 |
| Linux · Linux | affected 2.6.37 ; unaffected 0 < 2.6.37 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.113 ≤ 6.12.* ; unaffected 6.18.56 ≤ 6.18.* |
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 |