diff options
author | Yevgeny Kliteynik <kliteyn@nvidia.com> | 2023-06-04 21:07:04 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-06-16 12:59:20 -0700 |
commit | ef4c5afc783dc3d47640270a9b94713229c697e8 (patch) | |
tree | af10538a08abe70f4bdc96ae32b4a3e38dc8bfed /drivers/perf | |
parent | 87cd0649176c0588daf2cad53058143f808b0905 (diff) | |
download | linux-stable-ef4c5afc783dc3d47640270a9b94713229c697e8.tar.gz linux-stable-ef4c5afc783dc3d47640270a9b94713229c697e8.tar.bz2 linux-stable-ef4c5afc783dc3d47640270a9b94713229c697e8.zip |
net/mlx5: DR, Fix wrong action data allocation in decap action
When TUNNEL_L3_TO_L2 decap action was created, a pointer to a local
variable was passed as its HW action data, resulting in attempt to
free invalid address:
BUG: KASAN: invalid-free in mlx5dr_action_destroy+0x318/0x410 [mlx5_core]
Fixes: 4781df92f4da ("net/mlx5: DR, Move STEv0 modify header logic")
Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Alex Vesker <valex@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/perf')
0 files changed, 0 insertions, 0 deletions