> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Sergey Temerkhanov > Sent: 01 June 2026 14:50 > To: [email protected] > Cc: [email protected] > Subject: [Intel-wired-lan] [PATCH iwl-net v3 2/3] ice: Zero out the PTP > control PF pointer at ice_adapter cleanup > > Zero out the ctrl_pf pointer in ice_adapter when the control PF is removed. > This prevents potential dangling pointer dereference when accessing > PTP-related structures from other PFs of the same adapter. > > Fixes: e800654e85b5b ("ice: Use ice_adapter for PTP shared data instead of > auxdev") > Signed-off-by: Sergey Temerkhanov <[email protected]> > Reported-by: Frederick Lawler <[email protected]> > Closes: https://lkml.indiana.edu/2507.3/01388.html > Reviewed-by: Aleksandr Loktionov <[email protected]> > Reviewed-by: Arkadiusz Kubalewski <[email protected]> > Tested-by: Frederick Lawler <[email protected]> > --- > drivers/net/ethernet/intel/ice/ice_ptp.c | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) >
Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)
