RDMA/irdma: Initialize free_qp completion before using it
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ b48c24c2d710cf34810c555dcef883a3d35a9c08 · < 11a95521fb93c91e2d4ef9d53dc80ef0a755549b| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
In the Linux kernel's RDMA/irdma driver, the free_qp completion may be used before it is initialized. If ib_copy_to_udata fails during queue-pair creation, cleanup attempts to wait on that completion. The input does not specify an attack path or authentication requirements.
Engineers running Linux kernels with the RDMA/irdma driver should check their kernel version; affected versions were not provided.