5.5medium
RDMA/irdma: Initialize free_qp completion before using it
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.17% (higher than 4% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: Initialize free_qp completion before using it In irdma_create_qp, if ib_copy_to_udata fails, it will call irdma_destroy_qp to clean up which will attempt to wait on the free_qp completion, which is not initialized yet. Fix this by initializing the completion before the ib_copy_to_udata call.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from b48c24c2d710cf34810c555dcef883a3d35a9c08 before ac1da7bd224d406b6f1b84414f0f652ab43b6bd8, from b48c24c2d710cf34810c555dcef883a3d35a9c08 before af310407f79d5816fc0ab3638e1588b6193316dd, from b48c24c2d710cf34810c555dcef883a3d35a9c08 before cd1534c8f4984432382c240f6784408497f5bb0a, from b48c24c2d710cf34810c555dcef883a3d35a9c08 before 3cb88c12461b71c7d9c604aa2e6a9a477ecfa147, from b48c24c2d710cf34810c555dcef883a3d35a9c08 before f72996834f7bdefc2b95e3eec30447ee195df44e, from b48c24c2d710cf34810c555dcef883a3d35a9c08 before 11a95521fb93c91e2d4ef9d53dc80ef0a755549b, 5.14 Not affected: before 5.14, from 6.1.168 up to 6.1.*, from 6.6.131 up to 6.6.*, from 6.12.80 up to 6.12.*, from 6.18.21 up to 6.18.*, from 6.19.11 up to 6.19.* | CVE List |
| linux linux_kernel | from 5.14.1 before 6.1.168, from 6.2 before 6.6.131, from 6.7 before 6.12.80, from 6.13 before 6.18.21, from 6.19 before 6.19.11, 5.14, 7.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: Initialize free_qp completion before using it In irdma_create_qp, if ib_copy_to_udata fails, it will call irdma_destroy_qp to clean up which will attempt to wait on the free_qp completion, which is not initialized yet. Fix this by initializing the completion before the ib_copy_to_udata call.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: RDMA/irdma: Inicializar la finalización de free_qp antes de usarla En irdma_create_qp, si ib_copy_to_udata falla, llamará a irdma_destroy_qp para limpiar, lo que intentará esperar la finalización de free_qp, la cual aún no está inicializada. Solucione esto inicializando la finalización antes de la llamada a ib_copy_to_udata.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31492 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2026-31492 changed 2026-11-11 | Public domain |