{"id":"CVE-2025-21789","summary":"LoongArch: csum: Fix OoB access in IP checksum code for negative lengths","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: csum: Fix OoB access in IP checksum code for negative lengths\n\nCommit 69e3a6aa6be2 (\"LoongArch: Add checksum optimization for 64-bit\nsystem\") would cause an undefined shift and an out-of-bounds read.\n\nCommit 8bd795fedb84 (\"arm64: csum: Fix OoB access in IP checksum code\nfor negative lengths\") fixes the same issue on ARM64.","modified":"2026-03-20T12:41:10.519216Z","published":"2025-02-27T02:18:27.817Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21789.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/6287f1a8c16138c2ec750953e35039634018c84a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/964a8895704a22efc06a2a3276b624a5ae985a06"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9f15a8df542c0f08732a67d1a14ee7c22948fb97"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d6508ffff32b44b6d0de06704034e4eef1c307a7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21789.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21789"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"69e3a6aa6be21de6aaf38130fad97ecde34a193c"},{"fixed":"964a8895704a22efc06a2a3276b624a5ae985a06"},{"fixed":"9f15a8df542c0f08732a67d1a14ee7c22948fb97"},{"fixed":"d6508ffff32b44b6d0de06704034e4eef1c307a7"},{"fixed":"6287f1a8c16138c2ec750953e35039634018c84a"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21789.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"}]}