Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected b48c24c2d710cf34810c555dcef883a3d35a9c08 before ac1da7bd224d406b6f1b84414f0f652ab43b6bd8; affected b48c24c2d710cf34810c555dcef883a3d35a9c08 before af310407f79d5816fc0ab3638e1588b6193316dd; affected b48c24c2d710cf34810c555dcef883a3d35a9c08 before cd1534c8f4984432382c240f6784408497f5bb0a; affected b48c24c2d710cf34810c555dcef883a3d35a9c08 before 3cb88c12461b71c7d9c604aa2e6a9a477ecfa147; affected b48c24c2d710cf34810c555dcef883a3d35a9c08 before f72996834f7bdefc2b95e3eec30447ee195df44e; affected b48c24c2d710cf34810c555dcef883a3d35a9c08 before 11a95521fb93c91e2d4ef9d53dc80ef0a755549b |
| Linux / Linux | affected 5.14; unaffected 0 before 5.14; unaffected 6.1.168 through 6.1.*; unaffected 6.6.131 through 6.6.*; unaffected 6.12.80 through 6.12.*; unaffected 6.18.21 through 6.18.*; unaffected 6.19.11 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/ac1da7bd224d406b6f1b84414f0f652ab43b6bd8
- https://git.kernel.org/stable/c/af310407f79d5816fc0ab3638e1588b6193316dd
- https://git.kernel.org/stable/c/cd1534c8f4984432382c240f6784408497f5bb0a
- https://git.kernel.org/stable/c/3cb88c12461b71c7d9c604aa2e6a9a477ecfa147
- https://git.kernel.org/stable/c/f72996834f7bdefc2b95e3eec30447ee195df44e
- https://git.kernel.org/stable/c/11a95521fb93c91e2d4ef9d53dc80ef0a755549b