CVE-2025-40337
net: stmmac: Correctly handle Rx checksum offload errors
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 3c5e5fccc4138c072d99be4ebe6b16df6a70a40c; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 63fbe0e6413279d5ea5842e2423e351ded547683; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 719fcdf29051f7471d5d433475af76219019d33d; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 1aa319e0f12d2d761a31556b82a5852c98eb0bea; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < ee0aace5f844ef59335148875d05bec8764e71e8
- Anyone running Linux 3.2
Vulnerability facts
- Affected
- Linux >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 3c5e5fccc4138c072d99be4ebe6b16df6a70a40c; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 63fbe0e6413279d5ea5842e2423e351ded547683; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 719fcdf29051f7471d5d433475af76219019d33d; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 1aa319e0f12d2d761a31556b82a5852c98eb0bea; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < ee0aace5f844ef59335148875d05bec8764e71e8; Linux 3.2
- Fixed in
- Linux 3c5e5fccc4138c072d99be4ebe6b16df6a70a40c, Linux 63fbe0e6413279d5ea5842e2423e351ded547683, Linux 719fcdf29051f7471d5d433475af76219019d33d, Linux 1aa319e0f12d2d761a31556b82a5852c98eb0bea
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: Low
- EPSS
- 0.71% chance of exploitation in 30 days (percentile 49, 2026-11-26)
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 3c5e5fccc4138c072d99be4ebe6b16df6a70a40c; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 63fbe0e6413279d5ea5842e2423e351ded547683; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 719fcdf29051f7471d5d433475af76219019d33d; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 1aa319e0f12d2d761a31556b82a5852c98eb0bea; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < ee0aace5f844ef59335148875d05bec8764e71e8 | — | cvelist |
| Linux | 3.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-40337. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-40337.md Affected: Linux >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 3c5e5fccc4138c072d99be4ebe6b16df6a70a40c; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 63fbe0e6413279d5ea5842e2423e351ded547683; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 719fcdf29051f7471d5d433475af76219019d33d; >= 3c20f72f9108b2fcf30ec63… Fixed in: Linux 3c5e5fccc4138c072d99be4ebe6b16df6a70a40c, Linux 63fbe0e6413279d5ea5842e2423e351ded547683, Linux 719fcdf29051f7471d5d433475af76219019d33d, Linux 1aa319e0f12d2d761a31556b82a5852c98eb0bea Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/3c5e5fccc4138c072d99be4ebe6b16df6a70a40c
- https://git.kernel.org/stable/c/63fbe0e6413279d5ea5842e2423e351ded547683
- https://git.kernel.org/stable/c/719fcdf29051f7471d5d433475af76219019d33d
- https://git.kernel.org/stable/c/1aa319e0f12d2d761a31556b82a5852c98eb0bea
- https://git.kernel.org/stable/c/ee0aace5f844ef59335148875d05bec8764e71e8
FAQ
Is CVE-2025-40337 being exploited?
There is no confirmed exploitation: CVE-2025-40337 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.71% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-40337?
High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2025-40337?
Linux >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 3c5e5fccc4138c072d99be4ebe6b16df6a70a40c; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 63fbe0e6413279d5ea5842e2423e351ded547683; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 719fcdf29051f7471d5d433475af76219019d33d; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 1aa319e0f12d2d761a31556b82a5852c98eb0bea; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < ee0aace5f844ef59335148875d05bec8764e71e8; Linux 3.2.
Is there a fix for CVE-2025-40337?
Yes. Fixed in Linux 3c5e5fccc4138c072d99be4ebe6b16df6a70a40c, Linux 63fbe0e6413279d5ea5842e2423e351ded547683, Linux 719fcdf29051f7471d5d433475af76219019d33d, Linux 1aa319e0f12d2d761a31556b82a5852c98eb0bea. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-40337?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.