> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Haoxiang Li > Sent: 03 July 2025 15:23 > To: Nguyen, Anthony L <[email protected]>; Kitszel, Przemyslaw > <[email protected]>; [email protected]; [email protected]; > [email protected]; [email protected]; [email protected] > Cc: [email protected]; [email protected]; > [email protected]; Haoxiang Li <[email protected]>; > [email protected]; Michal Swiatkowski > <[email protected]>; Loktionov, Aleksandr > <[email protected]> > Subject: [Intel-wired-lan] [PATCH v2] ice: Fix a null pointer dereference in > ice_copy_and_init_pkg() > > Add check for the return value of devm_kmemdup() to prevent potential null > pointer dereference. > > Fixes: c76488109616 ("ice: Implement Dynamic Device Personalization (DDP) > download") > Cc: [email protected] > Signed-off-by: Haoxiang Li <[email protected]> > Reviewed-by: Michal Swiatkowski <[email protected]> > Reviewed-by: Aleksandr Loktionov <[email protected]> > --- > Changes in v2: > - modify the Fixes commit number. Thanks, Michal! > --- > drivers/net/ethernet/intel/ice/ice_ddp.c | 2 ++ > 1 file changed, 2 insertions(+) >
Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)
