CVE-2026-139595

RDMA/mlx5: Set SRQ event handler before xarray insertion

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

RDMA/mlx5: Set SRQ event handler before xarray insertion

mlx5_cmd_create_srq() stores the SRQ into the xarray before
srq->msrq.event was assigned. A firmware SRQ event arriving in that
window calls through a NULL pointer.

Move the assignment before mlx5_cmd_create_srq().

Analysis

AI-generated

Technical impact

A flaw in the RDMA/mlx5 driver causes the SRQ event handler to be assigned after the SRQ is inserted into an internal xarray, creating a brief window where the handler pointer is still NULL. If the host firmware sends an SRQ event during this window the driver follows the NULL pointer, leading to a kernel crash and a system reboot. The exploitation requires only that a firmware SRQ event arrive while the handler is uninitialised, a scenario that can occur during normal RDMA operation.

Affected Systems

Linux kernel implementations that load the RDMA/mlx5 driver prior to the patch, i.e., all kernel releases before the commit that moves the assignment. This includes every distribution that ships a kernel with this driver by date of the vulnerability.

Risk and Exploitability

No CVSS score is published for this entry and the EPSS score is not available. The vulnerability is listed as not appearing in the CISA KEV catalog. Attacking requires RDMA traffic capable of generating an SRQ event during the preparation window, which is non‑trivial but feasible from a privileged RDMA device or malicious firmware. Because the crash leads to a kernel panic, the primary impact is a denial‑of‑service. No direct remote execution or privilege escalation is described by the official statement, but a crash could allow local privilege escalation if an attacker can repeatedly trigger it while running as a privileged user.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that contains the patch where the SRQ event handler assignment precedes xarray insertion.
  • If a kernel upgrade is not immediately possible, disable the mlx5 device or unload the RDMA/mlx5 module to prevent the vulnerable code from executing.
  • Limit exposure to untrusted RDMA interfaces by restricting access to the device or blocking SRQ traffic at the host network or firmware level.

Generated by OpenCVE AI on December 1, 2026 at 13:25 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 SRQ event handler before xarray insertion mlx5_cmd_create_srq() stores the SRQ into the xarray before srq->msrq.event was assigned. A firmware SRQ event arriving in that window calls through a NULL pointer. Move the assignment before mlx5_cmd_create_srq().
Title RDMA/mlx5: Set SRQ event handler before xarray 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