Re: [Intel-wired-lan] [PATCH iwl-net v3 2/3] ice: Zero out the PTP control PF pointer at ice_adapter cleanup
"Rinitha, SX" <[email protected]> Mon, 13 Jul 2026 06:38:51 +0000
| Newsgroups | org.osuosl.intel-wired-lan,org.kernel.vger.netdev |
|---|---|
| Message-ID | <IA1PR11MB62410F0190AF27A784EC276B8BFA2@IA1PR11MB6241.namprd11.prod.outlook.com> |
> -----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)