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().
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
0c6ab0ca9a662d4ca9742d97156bac0d3067d72d to < 357fb1ceda23d7c2edcfeed65f27f3047c29c970affected0c6ab0ca9a662d4ca9742d97156bac0d3067d72d to < c0c910987bef7c332cc7ee2004605e390122b802affected0c6ab0ca9a662d4ca9742d97156bac0d3067d72d to < 1659d8362cd29c6ae962628f7438a8eb3def2302affected0c6ab0ca9a662d4ca9742d97156bac0d3067d72d to < bb75e5580b15cd23ededf15683a5ad67d7b61aabaffected
Linux Linux
Default version status: affected
6.0affected0 to < 6.0unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected