summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYuli Wang <wangyuli@uniontech.com>2025-02-13 12:02:40 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-21 14:01:17 +0100
commit9f15a8df542c0f08732a67d1a14ee7c22948fb97 (patch)
tree47409bbb6919ec012447dc47fdc31f5524f06ac5 /scripts
parent78d192f6147c20190b9d626aaba8705846b8811f (diff)
downloadlinux-9f15a8df542c0f08732a67d1a14ee7c22948fb97.tar.gz
linux-9f15a8df542c0f08732a67d1a14ee7c22948fb97.tar.bz2
linux-9f15a8df542c0f08732a67d1a14ee7c22948fb97.zip
LoongArch: csum: Fix OoB access in IP checksum code for negative lengths
[ Upstream commit 6287f1a8c16138c2ec750953e35039634018c84a ] 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 <guanwentao@uniontech.com> Signed-off-by: Wentao Guan <guanwentao@uniontech.com> Signed-off-by: Yuli Wang <wangyuli@uniontech.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions