CVE-2025-40337
net: stmmac: Correctly handle Rx checksum offload errors
Reported by linux · Published December 9, 2025
In the Linux kernel, the following vulnerability has been resolved: net: stmmac: Correctly handle Rx checksum offload errors The stmmac_rx function would previously set skb->ip_summed to CHECKSUM_UNNECESSARY if hardware checksum offload (CoE) was enabled and the packet was of a known IP ethertype. However, this logic failed to check if the hardware had actually reported a checksum error. The hardware status, indicating a header or payload checksum failure, was being ignored at this stage. This could cause corrupt packets to be passed up the network stack as valid. This patch corrects the logic by checking the `csum_none` status flag, which is set when the hardware reports a checksum error. If this flag is set, skb->ip_summed is now correctly set to CHECKSUM_NONE, ensuring the kernel's network stack will perform its own validation and properly handle the corrupt packet.
EPSS 0.52% · 44.8th percentile
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0 |
| Linux | Linux | 3.2, 0, 6.1.191 |
| linux | linux_kernel | 3.2, 3.2, 3.2 |
| Linux | Linux | 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0 |
Timeline
- Dec 8, 2025 CVE Published
- Dec 9, 2025 EPSS Score (30 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (114 in total, the first dated here)
- Mar 29, 2026 Security Advisory (117 in total, the first dated here)
- Jun 8, 2026 Coalition ESS Score
- Jul 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-40337
vulnetix vdb fixes CVE-2025-40337
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40337/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart