public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/1] net/mlx5: Fix null-ptr-deref in TTC table creation
@ 2025-04-11 13:14 Henry Martin
  2025-04-11 13:14 ` [PATCH v4 1/1] net/mlx5: Fix null-ptr-deref in mlx5_create_{inner_,}ttc_table() Henry Martin
  2025-04-11 13:45 ` [PATCH v4 0/1] net/mlx5: Fix null-ptr-deref in TTC table creation Markus Elfring
  0 siblings, 2 replies; 6+ messages in thread
From: Henry Martin @ 2025-04-11 13:14 UTC (permalink / raw)
  To: saeedm, leon, tariqt, netdev
  Cc: andrew+netdev, davem, edumazet, kuba, pabeni, amirtz, ayal,
	linux-rdma, linux-kernel, Henry Martin

This patch fixes a NULL pointer dereference in
mlx5_create_{inner_,}ttc_table() by adding NULL checks for
mlx5_get_flow_namespace() return values.

Henry Martin (1):
  net/mlx5: Fix null-ptr-deref in mlx5_create_{inner_,}ttc_table()

 drivers/net/ethernet/mellanox/mlx5/core/lib/fs_ttc.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-04-15 11:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-11 13:14 [PATCH v4 0/1] net/mlx5: Fix null-ptr-deref in TTC table creation Henry Martin
2025-04-11 13:14 ` [PATCH v4 1/1] net/mlx5: Fix null-ptr-deref in mlx5_create_{inner_,}ttc_table() Henry Martin
2025-04-11 14:06   ` [PATCH v4] " Markus Elfring
2025-04-15  8:41   ` [PATCH v4 1/1] " Michal Swiatkowski
2025-04-15 11:26   ` Tariq Toukan
2025-04-11 13:45 ` [PATCH v4 0/1] net/mlx5: Fix null-ptr-deref in TTC table creation Markus Elfring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox