CVE-2025-21789

LoongArch: csum: Fix OoB access in IP checksum code for negative lengths

State
Published
Severity
7.3 High
Published
Feb 27, 2025
Updated
Aug 5, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:HLinux
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 69e3a6aa6be21de6aaf38130fad97ecde34a193c to before 964a8895704a22efc06a2a3276b624a5ae985a06Affected
  • 69e3a6aa6be21de6aaf38130fad97ecde34a193c to before 9f15a8df542c0f08732a67d1a14ee7c22948fb97Affected
  • 69e3a6aa6be21de6aaf38130fad97ecde34a193c to before d6508ffff32b44b6d0de06704034e4eef1c307a7Affected
  • 69e3a6aa6be21de6aaf38130fad97ecde34a193c to before 6287f1a8c16138c2ec750953e35039634018c84aAffected
LinuxLinux
  • 6.4Affected
  • before 6.4Not affected
  • 6.6.79 through 6.6.*Not affected
  • 6.12.16 through 6.12.*Not affected
  • 6.13.4 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.