{
  "id": "CVE-2025-21789",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-21789",
  "published_at": "2025-02-27T02:18:27.817Z",
  "title": "LoongArch: csum: Fix OoB access in IP checksum code for negative lengths",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 7.1,
    "cna": 7.3,
    "nvd": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 69e3a6aa6be21de6aaf38130fad97ecde34a193c, \u003c 964a8895704a22efc06a2a3276b624a5ae985a06",
          "\u003e= 69e3a6aa6be21de6aaf38130fad97ecde34a193c, \u003c 9f15a8df542c0f08732a67d1a14ee7c22948fb97",
          "\u003e= 69e3a6aa6be21de6aaf38130fad97ecde34a193c, \u003c d6508ffff32b44b6d0de06704034e4eef1c307a7",
          "\u003e= 69e3a6aa6be21de6aaf38130fad97ecde34a193c, \u003c 6287f1a8c16138c2ec750953e35039634018c84a"
        ],
        "fixed_in": [
          "964a8895704a22efc06a2a3276b624a5ae985a06",
          "9f15a8df542c0f08732a67d1a14ee7c22948fb97",
          "d6508ffff32b44b6d0de06704034e4eef1c307a7",
          "6287f1a8c16138c2ec750953e35039634018c84a"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.4"
        ],
        "fixed_in": [
          "0",
          "6.6.79",
          "6.12.16",
          "6.13.4",
          "6.14"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 964a8895704a22efc06a2a3276b624a5ae985a06 or 9f15a8df542c0f08732a67d1a14ee7c22948fb97 or d6508ffff32b44b6d0de06704034e4eef1c307a7 or 6287f1a8c16138c2ec750953e35039634018c84a or later.",
      "Upgrade Linux to 0 or 6.6.79 or 6.12.16 or 6.13.4 or 6.14 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
