CVE-2025-40337: Linux kernel · net: stmmac: Correctly handle Rx checksum offload errors
Source GCVE Database
Not known to be exploited · CVSS 8.2 High.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:LExploitation evidence
Disclosed: evidence found.
CVE published 9 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
A patch has been applied to the Linux kernel to correct the checksum offload error handling in the stmmac driver. Users should update to a kernel version that includes this fix. Since no explicit patch links or vendor advisories are provided, verify with the official Linux kernel release notes or vendor updates for the fixed version.
Description
A vulnerability in the Linux kernel's stmmac network driver caused it to incorrectly handle Rx checksum offload errors. The affected function, stmmac_rx, would mark packets as having valid checksums even when hardware reported checksum errors, potentially allowing corrupt packets to be processed by the network stack. This flaw has been corrected by ensuring the kernel checks the hardware status flag indicating checksum errors and forces software validation of such packets.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40337 (opens in a new tab)
- git.kernel.org/stable/c/1aa319e0f12d2d761a31556b82a5852c98eb0bea (opens in a new tab)
- git.kernel.org/stable/c/63fbe0e6413279d5ea5842e2423e351ded547683 (opens in a new tab)
- git.kernel.org/stable/c/719fcdf29051f7471d5d433475af76219019d33d (opens in a new tab)
- git.kernel.org/stable/c/ee0aace5f844ef59335148875d05bec8764e71e8 (opens in a new tab)