netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iwl-net 0/2] ice: Fix NULL pointer dereference and leak in IDC
@ 2025-06-24 14:26 Emil Tantilov
  2025-06-24 14:26 ` [PATCH iwl-net 1/2] ice: fix NULL pointer dereference in ice_unplug_aux_dev() on reset Emil Tantilov
  2025-06-24 14:26 ` [PATCH iwl-net 2/2] ice: fix possible leak in ice_plug_aux_dev() error path Emil Tantilov
  0 siblings, 2 replies; 5+ messages in thread
From: Emil Tantilov @ 2025-06-24 14:26 UTC (permalink / raw)
  To: intel-wired-lan
  Cc: netdev, Aleksandr.Loktionov, przemyslaw.kitszel, david.m.ertman,
	anthony.l.nguyen, michal.swiatkowski, andrew+netdev, davem,
	edumazet, kuba, pabeni

Resolve NULL pointer dereference on driver load when RDMA is not supported.
During reset the driver attempts to remove an auxiliary device that does
not exist. In addition, fix a memory leak in ice_plug_aux_dev() error path.

Emil Tantilov (2):
  ice: fix NULL pointer dereference in ice_unplug_aux_dev() on reset
  ice: fix possible leak in ice_plug_aux_dev() error path

 drivers/net/ethernet/intel/ice/ice.h     |  1 +
 drivers/net/ethernet/intel/ice/ice_idc.c | 29 ++++++++++++++----------
 2 files changed, 18 insertions(+), 12 deletions(-)

-- 
2.37.3


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

end of thread, other threads:[~2025-06-25 22:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-24 14:26 [PATCH iwl-net 0/2] ice: Fix NULL pointer dereference and leak in IDC Emil Tantilov
2025-06-24 14:26 ` [PATCH iwl-net 1/2] ice: fix NULL pointer dereference in ice_unplug_aux_dev() on reset Emil Tantilov
2025-06-24 17:13   ` Brett Creeley
2025-06-25 22:13     ` Tantilov, Emil S
2025-06-24 14:26 ` [PATCH iwl-net 2/2] ice: fix possible leak in ice_plug_aux_dev() error path Emil Tantilov

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).