[lvc-project] [PATCH net v2] net/mlx5e: Fix NULL deref in mlx5e_tir_builder_alloc()

Gal Pressman gal at nvidia.com
Wed Sep 25 09:17:19 MSK 2024


On 24/09/2024 19:00, Elena Salomatkina wrote:
> In mlx5e_tir_builder_alloc() kvzalloc() may return NULL
> which is dereferenced on the next line in a reference
> to the modify field.
> 
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
> 
> Fixes: a6696735d694 ("net/mlx5e: Convert TIR to a dedicated object")
> Signed-off-by: Elena Salomatkina <esalomatkina at ispras.ru>

Thanks!
Reviewed-by: Gal Pressman <gal at nvidia.com>



More information about the lvc-project mailing list