netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/1] net/mlx5: Fix null-ptr-deref in TTC table creation
@ 2025-04-11  2:29 Henry Martin
  2025-04-11  2:29 ` [PATCH v3 1/1] net/mlx5: Fix null-ptr-deref in mlx5_create_{inner_,}ttc_table() Henry Martin
  0 siblings, 1 reply; 4+ messages in thread
From: Henry Martin @ 2025-04-11  2:29 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 | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
2.34.1


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

end of thread, other threads:[~2025-04-14  9:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-11  2:29 [PATCH v3 0/1] net/mlx5: Fix null-ptr-deref in TTC table creation Henry Martin
2025-04-11  2:29 ` [PATCH v3 1/1] net/mlx5: Fix null-ptr-deref in mlx5_create_{inner_,}ttc_table() Henry Martin
2025-04-11  5:34   ` Michal Swiatkowski
2025-04-14  9:55     ` henry martin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).