RDMA/mlx5: Validate priority in STEERING_ANCHOR_CREATE handler
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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().
| Product | Versions |
|---|---|
| Linux Linux | 0c6ab0ca9a662d4ca9742d97156bac0d3067d72d to before 357fb1ceda23d7c2edcfeed65f27f3047c29c970 Affected0c6ab0ca9a662d4ca9742d97156bac0d3067d72d to before c0c910987bef7c332cc7ee2004605e390122b802 Affected0c6ab0ca9a662d4ca9742d97156bac0d3067d72d to before 1659d8362cd29c6ae962628f7438a8eb3def2302 Affected0c6ab0ca9a662d4ca9742d97156bac0d3067d72d to before bb75e5580b15cd23ededf15683a5ad67d7b61aab Affected |
| Linux Linux | 6.0 Affectedbefore 6.0 Not Affected6.12.120 through 6.12.* Not Affected6.18.66 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.