CVE-2026-139594

RDMA/mlx5: Set RQ event handler for raw-packet QP

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

RDMA/mlx5: Set RQ event handler for raw-packet QP

create_raw_packet_qp() creates a separate firmware RQ object but never
assigned rq->base.mqp.event. Any firmware event on this resource (e.g.
WQ_CATAS_ERROR, WQ_ACCESS_ERROR) calls through a NULL pointer.

Set the event pointer before the RQ is inserted into the resource table.

Analysis

AI-generated

Technical impact

The defect originates in the RDMA/mlx5 subsystem of the Linux kernel. When a raw‑packet Queue Pair is created, a separate firmware receive queue (RQ) object is allocated but its event handler pointer remains unset. Any firmware event that targets this resource—such as WQ_CATAS_ERROR or WQ_ACCESS_ERROR—triggers a call through a NULL pointer, causing an unhandled kernel exception and a system crash. This loss of service can be exercised by any actor that can provoke such a firmware event on a raw‑packet QP.

Affected Systems

This affects all Linux kernel builds that contain the RDMA/mlx5 driver with raw‑packet Queue Pair support, regardless of version, because the affected code path is present in the kernel source tree. Specific versions are not listed; any deployment that uses the default kernel should be inspected for the presence of the create_raw_packet_qp() path.

Risk and Exploitability

The vulnerability scores are not available in the public data set, but the consequences—a kernel crash leading to a denial of service—are severe and would allow privilege escalation to local root if the attacker can trigger the fault. The EPSS score is not available, and the issue is not listed in CISA’s KEV catalogue, suggesting the exploit is not widely disseminated yet. However, because the flaw is triggered by internal RDMA events, a privileged or local attacker can easily exercise it, resulting in a high likelihood of exploitation in environments that expose RDMA. The typical attack vector is a local attacker with the capability to generate RDMA traffic that would hit the uninitialized event pointer.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the fix for the RDMA/mlx5 create_raw_packet_qp() event handler issue.
  • If a kernel upgrade is not immediately feasible, disable the use of raw‑packet Queue Pairs or unload the RDMA/mlx5 driver in environments where RDMA is not required.
  • Monitor kernel logs and system stability for signs of unexpected Oops or crashes, and restrict local users from creating raw‑packet Queue Pairs when possible.

Generated by OpenCVE AI on December 1, 2026 at 00:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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 RQ event handler for raw-packet QP create_raw_packet_qp() creates a separate firmware RQ object but never assigned rq->base.mqp.event. Any firmware event on this resource (e.g. WQ_CATAS_ERROR, WQ_ACCESS_ERROR) calls through a NULL pointer. Set the event pointer before the RQ is inserted into the resource table.
Title RDMA/mlx5: Set RQ event handler for raw-packet QP
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