In the Linux kernel, the following vulnerability has been resolved:
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.
[
{
"id": "CVE-2025-21789-2de2690c",
"target": {
"file": "arch/loongarch/lib/csum.c",
"function": "do_csum"
},
"digest": {
"function_hash": "222436874193840382518111000216637120491",
"length": 1608.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d6508ffff32b44b6d0de06704034e4eef1c307a7",
"signature_version": "v1"
},
{
"id": "CVE-2025-21789-50f11782",
"target": {
"file": "arch/loongarch/lib/csum.c",
"function": "do_csum"
},
"digest": {
"function_hash": "222436874193840382518111000216637120491",
"length": 1608.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@964a8895704a22efc06a2a3276b624a5ae985a06",
"signature_version": "v1"
},
{
"id": "CVE-2025-21789-66317f94",
"target": {
"file": "arch/loongarch/lib/csum.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"168801761423302401414781724144768696428",
"26431366409378982054544629077921727275",
"56239455552662445133945038869658267001",
"146911823448482953175467364629711565203"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@964a8895704a22efc06a2a3276b624a5ae985a06",
"signature_version": "v1"
},
{
"id": "CVE-2025-21789-67fb54b4",
"target": {
"file": "arch/loongarch/lib/csum.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"168801761423302401414781724144768696428",
"26431366409378982054544629077921727275",
"56239455552662445133945038869658267001",
"146911823448482953175467364629711565203"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f15a8df542c0f08732a67d1a14ee7c22948fb97",
"signature_version": "v1"
},
{
"id": "CVE-2025-21789-867573bf",
"target": {
"file": "arch/loongarch/lib/csum.c",
"function": "do_csum"
},
"digest": {
"function_hash": "222436874193840382518111000216637120491",
"length": 1608.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f15a8df542c0f08732a67d1a14ee7c22948fb97",
"signature_version": "v1"
},
{
"id": "CVE-2025-21789-a49d6927",
"target": {
"file": "arch/loongarch/lib/csum.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"168801761423302401414781724144768696428",
"26431366409378982054544629077921727275",
"56239455552662445133945038869658267001",
"146911823448482953175467364629711565203"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d6508ffff32b44b6d0de06704034e4eef1c307a7",
"signature_version": "v1"
}
]