CVE-2026-139596

RDMA/mlx5: Set WQ event handler before firmware RQ insertion

Published Nov 30, 2026 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

RDMA/mlx5: Set WQ event handler before firmware RQ insertion

create_rq() inserts the RQ into dev->qp_table.tree, making it visible to
rsc_event_notifier() before rwq->core_qp.event was assigned. A firmware
WQ_CATAS_ERROR event in that window finds a NULL event pointer.

Move the assignment before create_rq().

Analysis

AI-generated

Technical impact

The RDMA mlx5 driver in the Linux kernel assigns a work‑queue event handler after creating a request queue, creating a race window where a firmware WQ_CATAS_ERROR event can be processed while the handler pointer is still NULL. The resulting null pointer dereference triggers a kernel panic, causing a denial of service. The flaw is classified as CWE-476 (null pointer dereference).

Affected Systems

All Linux kernel releases that include the RDMA mlx5 driver before the patch that moves the event handler assignment prior to queue creation are vulnerable. The specific kernel version ranges are not listed, so any build using the unpatched RDMA mlx5 code should be regarded as at risk.

Risk and Exploitability

The CVSS score of 4.7 indicates moderate severity, while the EPSS score of less than 1 % reflects a very low probability of exploitation at the time of this analysis. It is not included in the CISA KEV catalog, implying no known public exploits. The likely attack vector is triggering a firmware WQ_CATAS_ERROR event through the RDMA interface; this inference is drawn from the fact that the crash occurs during firmware event handling. An attacker would need the ability to influence RDMA firmware operations or otherwise trigger the fault, which typically requires privileged or close proximity access to the RDMA hardware or host.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that contains the patch assigning the WQ event handler before firmware RQ insertion.
  • If a kernel upgrade is not immediately possible, temporarily disable RDMA interfaces or block firmware interactions that could trigger WQ_CATAS_ERROR events until the patch is applied.
  • Configure monitoring to detect WQ_CATAS_ERROR events or kernel panics and alert administrators, ensuring rapid response once an update is available.

Generated by OpenCVE AI on December 1, 2026 at 18:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Set WQ event handler before firmware RQ insertion create_rq() inserts the RQ into dev->qp_table.tree, making it visible to rsc_event_notifier() before rwq->core_qp.event was assigned. A firmware WQ_CATAS_ERROR event in that window finds a NULL event pointer. Move the assignment before create_rq().
Title RDMA/mlx5: Set WQ event handler before firmware RQ insertion
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

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