[PATCH net V2 0/2] net/mlx5: Fix HWS and DR steering memory safety bugs
From: Tariq Toukan
Date: Wed Nov 18 2026 - 12:33:40 EST
Hi,
This series by Yevgeny fixes two memory safety bugs in the mlx5 software
and hardware steering code paths.
Both are missing-check or wrong-handling problems that lead to a NULL
pointer being inserted into an xarray, or an out-of-bounds write that
corrupts the kernel heap.
Regards,
Tariq
V2:
Took patch #2 out of the series.
Patch #1: Remove empty line. Updated commit message.
Patch #3 (now #2): Update commit message.
Not allocating chunks in error state.
Print error once when putting pool into error state
V1:
https://lore.kernel.org/all/20261021074949.3471704-1-tariqt@xxxxxxxxxx/
Yevgeny Kliteynik (2):
net/mlx5: HWS, Handle NULL in vport destination action creation
net/mlx5: DR, Fix out-of-bounds write when sync to HW fails
.../mellanox/mlx5/core/steering/hws/fs_hws.c | 2 ++
.../mlx5/core/steering/sws/dr_icm_pool.c | 32 +++++++++++++++++--
2 files changed, 31 insertions(+), 3 deletions(-)
base-commit: aa40afa831ebfe45e40a23721711059f2ac584d4
--
2.44.0