diff options
| author | Kyungwook Boo <[email protected]> | 2025-03-11 05:16:02 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2025-04-11 18:58:57 +0000 |
| commit | 015bac5daca978448f2671478c553ce1f300c21e (patch) | |
| tree | c31446cd14c1324c9f974922a7888755616fde25 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | ice: make const read-only array dflt_rules static (diff) | |
| download | kernel-015bac5daca978448f2671478c553ce1f300c21e.tar.gz kernel-015bac5daca978448f2671478c553ce1f300c21e.zip | |
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/[email protected]/T/
Reviewed-by: Przemek Kitszel <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Aleksandr Loktionov <[email protected]>
Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
