RDMA/mlx5: Fix RQ resource reference leak in mlx5_ib_wq_event()

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linuxfd0f2ee33d31745593039bddd6e0d3df3ce7b1ff to before 4e7c68d46b916158df81e1ec0d75e32c529719f8 Affected00d2e313a0255c65088f12da2fd8bae1619d2654 to before c22d1cd776903de9c1a78d528414498f9ba48248 Affected312b8f79eb05479628ee71357749815b2eeeeea8 to before 3fc8a963210fce6e25d4f5cfb72b263304f1089d Affected312b8f79eb05479628ee71357749815b2eeeeea8 to before 7264009349858a76eecd0e637a770094ee28440f Affected312b8f79eb05479628ee71357749815b2eeeeea8 to before b63c7cbaaedc008d4a18fa6ccb0368287d440962 Affected312b8f79eb05479628ee71357749815b2eeeeea8 to before df010caab99585afa663e5b87dae9fd04c7e155d Affected312b8f79eb05479628ee71357749815b2eeeeea8 to before 65f3eab431944415bbe5e3af1bbb2736d4bb1523 Affected5.15.221 to before 5.15.226 Affected6.1.188 to before 6.1.193 Affected
Linux Linux6.3 Affectedbefore 6.3 Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.