AZL-116995: CVE-2026-139267 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
RDMA/mlx5: Validate priority in STEERINGANCHORCREATE handler
In MLX5IBMETHODSTEERINGANCHORCREATE, the user-supplied u16 priority is passed directly to getflowtable() without an upper bound check. This can lead to out-of-bounds array accesses on dev->flowdb priority tables.
Check that priority does not exceed MLX5IBFLOWLASTPRIO before calling getflowtable(), matching the existing validation in rawfsruleadd() and mlx5ibcreateflow().
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the MLX5_IB_METHOD_STEERING_ANCHOR_CREATE handler, validate that the user-supplied priority does not exceed MLX5_IB_FLOW_LAST_PRIO before calling _get_flow_table().
Event History
Frequently Asked Questions
What access is needed to trigger the vulnerable code path?
The caller must be able to invoke the MLX5_IB_METHOD_STEERING_ANCHOR_CREATE handler and provide a priority value. A priority greater than MLX5_IB_FLOW_LAST_PRIO can reach _get_flow_table() without validation.
How can I identify systems that may be affected?
Check for the azure-linux/kernel package version 6.6.161.1-1. The issue is associated with the RDMA mlx5 steering-anchor creation handler.