> -----Original Message----- > From: Rinitha, SX <[email protected]> > Sent: Friday, March 21, 2025 5:47 AM > To: Kyungwook Boo <[email protected]>; Loktionov, Aleksandr > <[email protected]>; Kitszel, Przemyslaw > <[email protected]>; Nguyen, Anthony L > <[email protected]> > Cc: [email protected]; [email protected] > Subject: RE: [Intel-wired-lan] [PATCH iwl-next v2] i40e: fix MMIO write access > to an invalid page in i40e_clear_hw > > > -----Original Message----- > > From: Intel-wired-lan <[email protected]> On Behalf Of > Kyungwook Boo > > Sent: 11 March 2025 10:46 > > To: Loktionov, Aleksandr <[email protected]>; Kitszel, > Przemyslaw <[email protected]>; Nguyen, Anthony L > <[email protected]> > Cc: [email protected]; [email protected] > > Subject: [Intel-wired-lan] [PATCH iwl-next v2] i40e: fix MMIO write access > > to > an invalid page in i40e_clear_hw > > > > When the device sends a specific input, an integer underflow can occur, > leading to MMIO write access to an invalid page. > > > > Prevent the integer underflow by changing the type of related variables. > > > > Signed-off-by: Kyungwook Boo <[email protected]> > > Link: https://lore.kernel.org/lkml/ffc91764-1142-4ba2-91b6- > [email protected]/T/ Reviewed-by: Aleksandr Loktionov <[email protected]>
> > --- > > Changes in v2: > > - Formatting properly > > - Fix variable shadowing > > - Link to v1: https://lore.kernel.org/netdev/55acc5dc-8d5a-45bc-a59c- > [email protected]/ > > --- > > drivers/net/ethernet/intel/i40e/i40e_common.c | 7 ++++--- > > 1 file changed, 4 insertions(+), 3 deletions(-) > > > > Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)
