CVE-2026-139650

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

Published Nov 30, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A reference count acquired by the mlx5 driver for receive queue (RQ) events is never released because the event handler skips the drop on all exit paths. The leak causes the destroy_resource_common routine to wait indefinitely on a completion that never finishes, thereby consuming kernel resources with each event. The cumulative effect is a kernel‑level denial‑of‑service through resource exhaustion. The problem is categorized as a memory‑management flaw (CWE‑401).

Affected Systems

Linux systems that include the mlx5 RDMA driver and have not yet applied the patch that restores the reference drop in mlx5_ib_wq_event(). The exact kernel versions are not enumerated; any kernel compiled with the unsanitized mlx5 module before the commit that fixed the leak is vulnerable.

Risk and Exploitability

This bug is exploitable only when an attacker can trigger many RQ events, which in practice would require either control over RDMA traffic or privileged execution on the host. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, implying no documented public exploits or high exploitation probability at this time. Nevertheless, the potential for denial‑of‑service through resource exhaustion, coupled with the kernel‑level nature of the flaw, warrants prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel patch that restores the reference drop in mlx5_ib_wq_event()
  • Rebuild any custom kernel modules that depend on the mlx5 driver against the updated kernel
  • If an update is delayed, temporarily disable RDMA services or limit RDMA traffic until the patch is applied

Generated by OpenCVE AI on December 1, 2026 at 17:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-911
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
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.
Title RDMA/mlx5: Fix RQ resource reference leak in mlx5_ib_wq_event()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-911

    Improper Update of Reference Count

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:36 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:36 PM