diff options
author | 2025-03-11 14:16:02 +0900 | |
---|---|---|
committer | 2025-04-11 11:58:57 -0700 | |
commit | 015bac5daca978448f2671478c553ce1f300c21e (patch) | |
tree | c31446cd14c1324c9f974922a7888755616fde25 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ice: make const read-only array dflt_rules static (diff) | |
download | wireguard-linux-015bac5daca978448f2671478c553ce1f300c21e.tar.xz wireguard-linux-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 <bookyungwook@gmail.com>
Link: https://lore.kernel.org/lkml/ffc91764-1142-4ba2-91b6-8c773f6f7095@gmail.com/T/
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Tested-by: Rinitha S <sx.rinitha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions