Files
linux/drivers/net
Wentao_Liang 6cc64770fb net/mlx5: DR, fix a potential use-after-free bug
In line 849 (#1), "mlx5dr_htbl_put(cur_htbl);" drops the reference to
cur_htbl and may cause cur_htbl to be freed.

However, cur_htbl is subsequently used in the next line, which may result
in an use-after-free bug.

Fix this by calling mlx5dr_err() before the cur_htbl is put.

Signed-off-by: Wentao_Liang <Wentao_Liang_g@163.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
2021-08-26 15:15:42 -07:00
..
2021-07-16 17:22:35 -07:00
2021-07-13 09:43:50 -07:00
2021-08-26 11:08:32 -07:00
2021-06-28 12:44:17 -07:00
2021-06-14 13:17:10 -07:00