[PATCH] net/mlx5/hws: fix null dereference in rule skip
Raslan Darawsheh
rasland at nvidia.com
Sun Feb 8 15:15:14 CET 2026
Hi,
On 21/01/2026 10:18 AM, Shani Peretz wrote:
> When using template API with a represented_port pattern item that
> has no spec, mlx5dr_rule_skip() dereferences a NULL pointer when
> accessing v->port_id.
>
> Now validating the spec before accessing port_id.
>
> Fixes: 405242c52dd5 ("net/mlx5/hws: add rule object")
> Cc: stable at dpdk.org
>
> Signed-off-by: Shani Peretz <shperetz at nvidia.com>
> Acked-by: Bing Zhao <bingz at nvidia.com>
Patch applied to next-net-mlx,
Kindest regards
Raslan Darawsheh
More information about the stable
mailing list