CVE-2025-40337 in Kernel products
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 l...
Affects 0 products from 4 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-40337 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-259135-I |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L |
| Published | 2025-12-09 |
| Last modified | 2026-10-30 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in the stmmac_rx function of the Linux kernel could lead to incorrect handling of Rx checksum offload errors, potentially allowing for the processing of packets with incorrect checksums.
An attacker could exploit this vulnerability by sending specially crafted packets that bypass the intended checksum validation, leading to potential data integrity issues or further attacks.
Questions
What is CVE-2025-40337?
A vulnerability in the stmmac_rx function of the Linux kernel could lead to incorrect handling of Rx checksum offload errors, potentially allowing for the processing of packets with incorrect checksums.
What is the CVSS score for CVE-2025-40337?
CVE-2025-40337 has CVSS 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L. EPSS: 0.7%.
Is CVE-2025-40337 actively exploited?
No confirmed active exploitation of CVE-2025-40337 as of 2026-11-03.
How do I remediate CVE-2025-40337?
Priority: MEDIUM.
What systems are affected by CVE-2025-40337?
CVE-2025-40337 affects Kernel; Linux; Status; Valid.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Kernel","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-30.