Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Fix RQ resource reference leak in mlx5_ib_wq_event() Since commit 312b8f79eb05 ("RDMA/mlx: Calling qp event handler in workqueue context") rsc_event_notifier() expects the event handler to drop the resource reference taken by mlx5_get_rsc(). mlx5_ib_wq_event() was missed by that conversion, so every RQ event leaks one reference, which keeps destroy_resource_common() waiting on the completion. Put the resource reference on all exits of the handler.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
fd0f2ee33d31745593039bddd6e0d3df3ce7b1ff to < 4e7c68d46b916158df81e1ec0d75e32c529719f8affected00d2e313a0255c65088f12da2fd8bae1619d2654 to < c22d1cd776903de9c1a78d528414498f9ba48248affected312b8f79eb05479628ee71357749815b2eeeeea8 to < 3fc8a963210fce6e25d4f5cfb72b263304f1089daffected312b8f79eb05479628ee71357749815b2eeeeea8 to < 7264009349858a76eecd0e637a770094ee28440faffected312b8f79eb05479628ee71357749815b2eeeeea8 to < b63c7cbaaedc008d4a18fa6ccb0368287d440962affected312b8f79eb05479628ee71357749815b2eeeeea8 to < df010caab99585afa663e5b87dae9fd04c7e155daffected312b8f79eb05479628ee71357749815b2eeeeea8 to < 65f3eab431944415bbe5e3af1bbb2736d4bb1523affected5.15.221 to < 5.15.226affected6.1.188 to < 6.1.193affected
Linux Linux
Default version status: affected
6.3affected0 to < 6.3unaffected5.15.226 to ≤ 5.15.*unaffected6.1.193 to ≤ 6.1.*unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/4e7c68d46b916158df81e1ec0d75e32c529719f8 ↗
- https://git.kernel.org/stable/c/c22d1cd776903de9c1a78d528414498f9ba48248 ↗
- https://git.kernel.org/stable/c/3fc8a963210fce6e25d4f5cfb72b263304f1089d ↗
- https://git.kernel.org/stable/c/7264009349858a76eecd0e637a770094ee28440f ↗
- https://git.kernel.org/stable/c/b63c7cbaaedc008d4a18fa6ccb0368287d440962 ↗
- https://git.kernel.org/stable/c/df010caab99585afa663e5b87dae9fd04c7e155d ↗
- https://git.kernel.org/stable/c/65f3eab431944415bbe5e3af1bbb2736d4bb1523 ↗