RDMA/core: Fix potential use after free in ib_free_cq() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.16 % · percentile 6 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Fix potential use after free in ib_free_cq() When accessing a CQ via the netlink path the only synchronization mechanism for the said CQ is rdma_restrack_get(). Currently, rdma_restrack_del() is invoked at the end of ib_free_cq(), which is too late, since by that point vendor-specific resources associated with the CQ might already be freed. This can leave a short window where the CQ remains accessible through restrack, leading to a potential use-after-free. Fix this by moving the rdma_restrack_del() call to be before the freeing of the vendor-specific resources ensuring that the CQ is removed from restrack before its internal resources are released. This guarantees that no new users hold references to a CQ that is in the process of destruction.
References
- https://git.kernel.org/stable/c/a804b162f9bc2b38b2ed1b4752eea9faadb1645b
- https://git.kernel.org/stable/c/91f8a17a22ab615a03743120e19935e731f28fb9
- https://git.kernel.org/stable/c/76f2cb4f721815c3b6262a6dc2151de88646924c
- https://git.kernel.org/stable/c/b8dcca427096fc9c50f1b376847fea72bc842d31
- https://git.kernel.org/stable/c/9abea37942534eeb049335476178696b654b000c
- https://git.kernel.org/stable/c/43403fe45379c64fa6276e5a8ede44493e5d2d3d
- https://git.kernel.org/stable/c/29dc2f8e1c97372c2871a70088707933515fbd5b
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| 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) |
European references
- ENISA EUVD · EUVD-2026-82129
- GCVE · GCVE-0-2026-92508
CERT-FR advisories
- CERTFR-2026-AVI-1636 — Multiples vulnérabilités dans le noyau Linux de Red Hat · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1593 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1535 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · 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-1372 — Multiples vulnérabilités dans les produits SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1335 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 43d781b9fa562f0c6e50f62c870fbfeb9dc85213 < a804b162f9bc2b38b2ed1b4752eea9faadb1645b affected : ≥ 43d781b9fa562f0c6e50f62c870fbfeb9dc85213 < 91f8a17a22ab615a03743120e19935e731f28fb9 affected : ≥ 43d781b9fa562f0c6e50f62c870fbfeb9dc85213 < 76f2cb4f721815c3b6262a6dc2151de88646924c affected : ≥ 43d781b9fa562f0c6e50f62c870fbfeb9dc85213 < b8dcca427096fc9c50f1b376847fea72bc842d31 affected : ≥ 43d781b9fa562f0c6e50f62c870fbfeb9dc85213 < 9abea37942534eeb049335476178696b654b000c affected : ≥ 43d781b9fa562f0c6e50f62c870fbfeb9dc85213 < 43403fe45379c64fa6276e5a8ede44493e5d2d3d affected : ≥ 43d781b9fa562f0c6e50f62c870fbfeb9dc85213 < 29dc2f8e1c97372c2871a70088707933515fbd5b affected : 7ac277a01f9017fcde4f3f81670c995992945433 affected : 093f87dda065e0f618dd577985eccbe85efb9b54 affected : ≥ 5.8.17 < 5.9 affected : ≥ 5.9.2 < 5.10 Other versions : unaffected |
| Linux · Linux | affected : 5.10 unaffected : ≥ 0 < 5.10 unaffected : ≥ 5.15.221 ≤ 5.15.* unaffected : ≥ 6.1.188 ≤ 6.1.* unaffected : ≥ 6.6.157 ≤ 6.6.* unaffected : ≥ 6.12.110 ≤ 6.12.* unaffected : ≥ 6.18.52 ≤ 6.18.* unaffected : ≥ 7.2.6 ≤ 7.2.* unaffected : ≥ 7.3 ≤ * Other versions : affected |
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 |