diff options
author | Elena Salomatkina <esalomatkina@ispras.ru> | 2024-09-24 19:00:18 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2024-09-25 13:15:45 -0700 |
commit | f25389e779500cf4a59ef9804534237841bce536 (patch) | |
tree | 61dfc12ba28b6f86ee50cbab3378be67e847508a /tools/lib/perf/Documentation/examples/sampling.c | |
parent | ec793155894140df7421d25903de2e6bc12c695b (diff) |
net/mlx5e: Fix NULL deref in mlx5e_tir_builder_alloc()
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@ispras.ru>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Gal Pressman <gal@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/lib/perf/Documentation/examples/sampling.c')
0 files changed, 0 insertions, 0 deletions