CVE-2025-40337: Linux kernel · net: stmmac: Correctly handle
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 8.2 High · fixed in 6.8.0-1050.53~22.04.1 : patch Linux kernel soon.
Data as of 26 Oct 2026, 17:16 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.
- Patch
- Available – fixed in 6.8.0-1050.53~22.04.1, 6.8.0-1051.57~22.04.1, 6.8.0-1058.65~22.04.1 +38
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
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10linuxpkg:deb/ubuntu/linux?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-oraclepkg:deb/ubuntu/linux-oracle?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied to affected Linux kernel versions to correct the checksum offload error handling in the stmmac driver. The Ubuntu advisory USN-8029-1 confirms that this and other kernel vulnerabilities have been fixed. Users should update to kernel versions 6.8.0-1050.53~22.04.1 or later where this issue is resolved.
Description
A vulnerability in the Linux kernel's stmmac network driver caused corrupt packets to be treated as valid due to improper handling of hardware checksum offload errors. The stmmac_rx function incorrectly set packet checksum status without verifying if the hardware reported errors, potentially allowing corrupt packets to pass up the network stack. This issue has been fixed by correcting the checksum validation logic to properly detect and handle checksum errors.
References
- ubuntu.com/security/CVE-2025-40337 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-40337 (opens in a new tab)
- git.kernel.org/linus/ee0aace5f844ef59335148875d05bec8764e71e8 (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)
- ubuntu.com/security/notices/USN-8029-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8030-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8048-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8100-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-8125-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8126-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-5 (opens in a new tab)