[PATCH] net/mlx5: fix double free in non template flow destroy
Raslan Darawsheh
rasland at nvidia.com
Mon Aug 18 08:35:52 CEST 2025
Hi,
On 07/08/2025 1:00 PM, Maayan Kashani wrote:
> Avoid calling flow_hw_unregister_matcher twice when rule creation
> fails due to insufficient memory, which previously caused
> a use-after-free error detected by ASan.
>
> As a preventative measure, clear released pointers in
> flow_hw_destroy to avoid potential double-free issues.
>
> Fixes: b2845d51c748 ("net/mlx5: support FDB in non-template flow")
> Cc: stable at dpdk.org
>
> Signed-off-by: Maayan Kashani <mkashani at nvidia.com>
> Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
Patch applied to next-net-mlx,
Kindest regards
Raslan Darawsheh
More information about the dev
mailing list