# CVE-2026-139650: RDMA/mlx5: Fix RQ resource reference leak in mlx5_ib_wq_event()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-30T13:36:42.861Z
- Modified: 2026-11-30T14:19:48.700Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from fd0f2ee33d31745593039bddd6e0d3df3ce7b1ff before 4e7c68d46b916158df81e1ec0d75e32c529719f8; from 00d2e313a0255c65088f12da2fd8bae1619d2654 before c22d1cd776903de9c1a78d528414498f9ba48248; from 312b8f79eb05479628ee71357749815b2eeeeea8 before 3fc8a963210fce6e25d4f5cfb72b263304f1089d; from 312b8f79eb05479628ee71357749815b2eeeeea8 before 7264009349858a76eecd0e637a770094ee28440f; from 312b8f79eb05479628ee71357749815b2eeeeea8 before b63c7cbaaedc008d4a18fa6ccb0368287d440962; from 312b8f79eb05479628ee71357749815b2eeeeea8 before df010caab99585afa663e5b87dae9fd04c7e155d; from 312b8f79eb05479628ee71357749815b2eeeeea8 before 65f3eab431944415bbe5e3af1bbb2736d4bb1523; from 5.15.221 before 5.15.226; from 6.1.188 before 6.1.193; 6.3 (not affected: before 6.3; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-139650](https://www.cve.org/CVERecord?id=CVE-2026-139650), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139650](https://nvd.nist.gov/vuln/detail/CVE-2026-139650), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139650 · Whole record: https://cve.day/CVE-2026-139650.json · Rebuilt by cve.day 2026-11-30T14:33:25.368Z
