{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-40337","id":"CVE-2025-40337","title":"net: stmmac: Correctly handle Rx checksum offload errors","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->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 ha","descriptionLong":"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.","published":"2025-12-09T04:09:53.808Z","updated":"2026-11-01T02:30:34.608353381Z","reserved":"2025-04-16T07:20:57.186Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","rating":"high","source":"Linux"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3c20f72f9108b2fcf30ec63d8a4203736c01ccd0","lessThan":"3c5e5fccc4138c072d99be4ebe6b16df6a70a40c","status":"affected","versionType":"git"},{"version":"3c20f72f9108b2fcf30ec63d8a4203736c01ccd0","lessThan":"63fbe0e6413279d5ea5842e2423e351ded547683","status":"affected","versionType":"git"},{"version":"3c20f72f9108b2fcf30ec63d8a4203736c01ccd0","lessThan":"719fcdf29051f7471d5d433475af76219019d33d","status":"affected","versionType":"git"},{"version":"3c20f72f9108b2fcf30ec63d8a4203736c01ccd0","lessThan":"1aa319e0f12d2d761a31556b82a5852c98eb0bea","status":"affected","versionType":"git"},{"version":"3c20f72f9108b2fcf30ec63d8a4203736c01ccd0","lessThan":"ee0aace5f844ef59335148875d05bec8764e71e8","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.2","status":"affected"},{"version":"0","lessThan":"3.2","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.117","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.58","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.17.8","lessThanOrEqual":"6.17.*","status":"unaffected","versionType":"semver"},{"version":"6.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/3c5e5fccc4138c072d99be4ebe6b16df6a70a40c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/63fbe0e6413279d5ea5842e2423e351ded547683","tags":["web"]},{"url":"https://git.kernel.org/stable/c/719fcdf29051f7471d5d433475af76219019d33d","tags":["web"]},{"url":"https://git.kernel.org/stable/c/1aa319e0f12d2d761a31556b82a5852c98eb0bea","tags":["web"]},{"url":"https://git.kernel.org/stable/c/ee0aace5f844ef59335148875d05bec8764e71e8","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40337.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40337","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00516,"epssPercentile":0.44597,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-40337","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40337","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-40337","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-40337","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}