{"id":"CVE-2025-40337","published":"2025-12-09T04:09:53Z","modified":"2026-10-30T12:23:03Z","title":"net: stmmac: Correctly handle Rx checksum offload errors","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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->ip_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->ip_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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00516,"percentile":0.4419,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/3c5e5fccc4138c072d99be4ebe6b16df6a70a40c","tags":[]},{"url":"https://git.kernel.org/stable/c/63fbe0e6413279d5ea5842e2423e351ded547683","tags":[]},{"url":"https://git.kernel.org/stable/c/719fcdf29051f7471d5d433475af76219019d33d","tags":[]},{"url":"https://git.kernel.org/stable/c/1aa319e0f12d2d761a31556b82a5852c98eb0bea","tags":[]},{"url":"https://git.kernel.org/stable/c/ee0aace5f844ef59335148875d05bec8764e71e8","tags":[]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":8.84},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 3c5e5fccc4138c072d99be4ebe6b16df6a70a40c",">= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 63fbe0e6413279d5ea5842e2423e351ded547683",">= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 719fcdf29051f7471d5d433475af76219019d33d",">= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 1aa319e0f12d2d761a31556b82a5852c98eb0bea",">= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < ee0aace5f844ef59335148875d05bec8764e71e8"]},{"vendor":"Linux","product":"Linux","versions":["3.2"]}],"euvd":{"id":"EUVD-2025-201865","exploited":false,"provenance":"source"}}