VDB

CVE-2025-40337

CVE-2025-40337 PUBLISHED CVSS 8.2 HIGH

net: stmmac: Correctly handle Rx checksum offload errors

Reported by linux · Published December 9, 2025

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.

EPSS 0.52% · 44.8th percentile

Risk scores

CVSS 3.1
8.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
EPSS Score
0.52%
44.8th percentile

Affected products

VendorProductVersions
LinuxLinux3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0
LinuxLinux3.2, 0, 6.1.191
linuxlinux_kernel3.2, 3.2, 3.2
LinuxLinux3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0, 3c20f72f9108b2fcf30ec63d8a4203736c01ccd0

Timeline

  • Dec 8, 2025 CVE Published
  • Dec 9, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (114 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (117 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score
  • Jul 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-40337
vulnetix vdb fixes CVE-2025-40337

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40337/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›