CVE-2025-40337net: stmmac: Correctly handle Rx checksum offload errors
- 8.2HighCVSS base score
- 0.52%Exploitation in 30 daysEPSS · top 56% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 8 months later
· 8 months later
Published
- 11 months later
· 11 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L |
| NVDNVD · Deferred | 3.1 | High8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L |
- EPSS (exploitation in 30 days)
- 0.52% · top 56% of all CVEs (12 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.2.
Affected products
- affected 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0 – < 3c5e5fccc4138c072d99be4ebe6b16df6a70a40c
- affected 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0 – < 63fbe0e6413279d5ea5842e2423e351ded547683
- affected 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0 – < 719fcdf29051f7471d5d433475af76219019d33d
- affected 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0 – < 1aa319e0f12d2d761a31556b82a5852c98eb0bea
- affected 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0 – < ee0aace5f844ef59335148875d05bec8764e71e8
- affected 3.2
- unaffected < 3.2
- unaffected 6.1.191 – ≤ 6.1.*
- unaffected 6.6.117 – ≤ 6.6.*
- unaffected 6.12.58 – ≤ 6.12.*
- unaffected 6.17.8 – ≤ 6.17.*
- unaffected 6.18 – ≤ *
References
References5
- https://git.kernel.org/stable/c/3c5e5fccc4138c072d99be4ebe6b16df6a70a40c (opens in a new tab)
- https://git.kernel.org/stable/c/63fbe0e6413279d5ea5842e2423e351ded547683 (opens in a new tab)
- https://git.kernel.org/stable/c/719fcdf29051f7471d5d433475af76219019d33d (opens in a new tab)
- https://git.kernel.org/stable/c/1aa319e0f12d2d761a31556b82a5852c98eb0bea (opens in a new tab)
- https://git.kernel.org/stable/c/ee0aace5f844ef59335148875d05bec8764e71e8 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-201865 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-40337)Record last updated .