{
  "id": "CVE-2025-40337",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-40337",
  "published_at": "2025-12-09T04:09:53.808Z",
  "title": "net: stmmac: Correctly handle Rx checksum offload errors",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L"
  },
  "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\nnet: stmmac: Correctly handle Rx checksum offload errors\n\nThe stmmac_rx function would previously set skb-\u003eip_summed to\nCHECKSUM_UNNECESSARY if hardware checksum offload (CoE) was enabled\nand the packet was of a known IP ethertype.\n\nHowever, this logic failed to check if the hardware had actually\nreported a checksum error. The hardware status, indicating a header or\npayload checksum failure, was being ignored at this stage. This could\ncause corrupt packets to be passed up the network stack as valid.\n\nThis patch corrects the logic by checking the `csum_none` status flag,\nwhich is set when the hardware reports a checksum error. If this flag\nis set, skb-\u003eip_summed is now correctly set to CHECKSUM_NONE,\nensuring the kernel's network stack will perform its own validation and\nproperly handle the corrupt packet.",
  "cvss_by_source": {
    "cna": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, \u003c 3c5e5fccc4138c072d99be4ebe6b16df6a70a40c",
          "\u003e= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, \u003c 63fbe0e6413279d5ea5842e2423e351ded547683",
          "\u003e= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, \u003c 719fcdf29051f7471d5d433475af76219019d33d",
          "\u003e= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, \u003c 1aa319e0f12d2d761a31556b82a5852c98eb0bea",
          "\u003e= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, \u003c ee0aace5f844ef59335148875d05bec8764e71e8"
        ],
        "fixed_in": [
          "3c5e5fccc4138c072d99be4ebe6b16df6a70a40c",
          "63fbe0e6413279d5ea5842e2423e351ded547683",
          "719fcdf29051f7471d5d433475af76219019d33d",
          "1aa319e0f12d2d761a31556b82a5852c98eb0bea",
          "ee0aace5f844ef59335148875d05bec8764e71e8"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "3.2"
        ],
        "fixed_in": [
          "0",
          "6.1.191",
          "6.6.117",
          "6.12.58",
          "6.17.8",
          "6.18"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 3c5e5fccc4138c072d99be4ebe6b16df6a70a40c or 63fbe0e6413279d5ea5842e2423e351ded547683 or 719fcdf29051f7471d5d433475af76219019d33d or 1aa319e0f12d2d761a31556b82a5852c98eb0bea or ee0aace5f844ef59335148875d05bec8764e71e8 or later.",
      "Upgrade Linux to 0 or 6.1.191 or 6.6.117 or 6.12.58 or 6.17.8 or 6.18 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
