CVE-2025-21789

Source
https://cve.org/CVERecord?id=CVE-2025-21789
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21789.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21789
Downstream
Published
2025-02-27T02:18:27.817Z
Modified
2026-03-20T12:41:10.519216Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
LoongArch: csum: Fix OoB access in IP checksum code for negative lengths
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21789.json"
}
References

Affected packages

Git / 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"