diff options
| author | Yuli Wang <[email protected]> | 2025-02-13 04:02:40 +0000 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2025-02-13 04:02:40 +0000 |
| commit | 6287f1a8c16138c2ec750953e35039634018c84a (patch) | |
| tree | 7a1eb325bfca1266fa967bad1dff386c0c91fd4a /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | LoongArch: Remove the deprecated notifier hook mechanism (diff) | |
| download | kernel-6287f1a8c16138c2ec750953e35039634018c84a.tar.gz kernel-6287f1a8c16138c2ec750953e35039634018c84a.zip | |
LoongArch: csum: Fix OoB access in IP checksum code for negative lengths
Commit 69e3a6aa6be2 ("LoongArch: Add checksum optimization for 64-bit
system") would cause an undefined shift and an out-of-bounds read.
Commit 8bd795fedb84 ("arm64: csum: Fix OoB access in IP checksum code
for negative lengths") fixes the same issue on ARM64.
Fixes: 69e3a6aa6be2 ("LoongArch: Add checksum optimization for 64-bit system")
Co-developed-by: Wentao Guan <[email protected]>
Signed-off-by: Wentao Guan <[email protected]>
Signed-off-by: Yuli Wang <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
