CVE-2026-139267

RDMA/mlx5: Validate priority in STEERING_ANCHOR_CREATE handler

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: Validate priority in STEERING_ANCHOR_CREATE handler

In MLX5_IB_METHOD_STEERING_ANCHOR_CREATE, the user-supplied u16 priority
is passed directly to _get_flow_table() without an upper bound check.
This can lead to out-of-bounds array accesses on dev->flow_db priority
tables.

Check that priority does not exceed MLX5_IB_FLOW_LAST_PRIO before calling
_get_flow_table(), matching the existing validation in raw_fs_rule_add()
and mlx5_ib_create_flow().

Analysis

AI-generated

Technical impact

A malformed priority value supplied during the STEERING_ANCHOR_CREATE operation is forwarded without validation, leading to out-of-bounds accesses of the priority tables inside the mlx5 driver. This unchecked array index can corrupt kernel memory, potentially causing a system crash or other unstable behavior.

Affected Systems

All Linux kernel versions that include the mlx5 RDMA driver and have not applied the fix. The bug resides in the generic kernel source under the mlx5 module, so any distribution shipping an unpatched kernel with RDMA support is affected.

Risk and Exploitability

No CVSS score is reported and the EPSS score is unavailable, while the vulnerability is not listed in the CISA KEV catalog, indicating no known public exploitation to date. Nevertheless, the nature of the bug – an unchecked array index that can corrupt kernel memory – places it in the higher severity category. The likely attack vectors involve processes that can invoke the driver API, such as local applications or privileged code. Given the kernel memory impact, a successful exploitation could lead to a crash or, in the best-case scenario, privilege escalation if the attacker can write arbitrary data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a release that includes the steering anchor priority validation patch.
  • Reboot the system so the updated driver is loaded.
  • If an upgrade cannot be performed immediately, disable RDMA functionality by blacklisting the mlx5_core module or removing the RDMA NIC hardware from the system until the patch is available.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-188
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Validate priority in STEERING_ANCHOR_CREATE handler In MLX5_IB_METHOD_STEERING_ANCHOR_CREATE, the user-supplied u16 priority is passed directly to _get_flow_table() without an upper bound check. This can lead to out-of-bounds array accesses on dev->flow_db priority tables. Check that priority does not exceed MLX5_IB_FLOW_LAST_PRIO before calling _get_flow_table(), matching the existing validation in raw_fs_rule_add() and mlx5_ib_create_flow().
Title RDMA/mlx5: Validate priority in STEERING_ANCHOR_CREATE handler
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-188

    Reliance on Data/Memory Layout

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:33 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM