CVE-2025-40337
Last modified
CVE-2025-40337 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. 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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 63fbe0e6413279d5ea5842e2423e351ded547683; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 719fcdf29051f7471d5d433475af76219019d33d; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < 1aa319e0f12d2d761a31556b82a5852c98eb0bea; >= 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, < ee0aace5f844ef59335148875d05bec8764e71e8 |
| Linux | Linux | 3.2 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-40337?
How severe is CVE-2025-40337?
How do I fix CVE-2025-40337?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-40331In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40332In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40333In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40334In the Linux kernel, the following vulnerability has been re…7.3
- CVE-2025-40335In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40336In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2025-40338In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40339In the Linux kernel, the following vulnerability has been re…
- CVE-2025-4034A vulnerability classified as critical was found in projectw…9.8
- CVE-2025-40340In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40341In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40342In the Linux kernel, the following vulnerability has been re…8.8
Are you affected by CVE-2025-40337?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
