# net: stmmac: Correctly handle Rx checksum offload errors

CVE record · `CVE-2025-40337`

- **Identifiers:** `CVE-2025-40337`
- **State:** Confirmed
- **Severity:** CVSS 8.2 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 9 Dec 2025
- **Updated:** 30 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 9 Dec 2025, 04:09 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `3c20f72f9108b2fcf30ec63d8a4203736c01ccd0 to before 3c5e5fccc4138c072d99be4ebe6b16df6a70a40c` (git)
  - affected: `3c20f72f9108b2fcf30ec63d8a4203736c01ccd0 to before 63fbe0e6413279d5ea5842e2423e351ded547683` (git)
  - affected: `3c20f72f9108b2fcf30ec63d8a4203736c01ccd0 to before 719fcdf29051f7471d5d433475af76219019d33d` (git)
  - affected: `3c20f72f9108b2fcf30ec63d8a4203736c01ccd0 to before 1aa319e0f12d2d761a31556b82a5852c98eb0bea` (git)
  - affected: `3c20f72f9108b2fcf30ec63d8a4203736c01ccd0 to before ee0aace5f844ef59335148875d05bec8764e71e8` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.2`
  - unaffected: `before 3.2` (semver)
  - unaffected: `6.1.191 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.117 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.58 to 6.12.*, inclusive` (semver)
  - unaffected: `6.17.8 to 6.17.*, inclusive` (semver)
  - unaffected: `6.18 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel's stmmac network driver, affected since version 3.2, could pass packets with hardware-reported checksum errors up the network stack as valid. The source gives few details on what an attacker would need to send. Upgrade to Linux kernel 6.1.191, 6.6.117, 6.12.58, or 6.17.8, or a later release in those series.

Written 13 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 8.2 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0052, the 44th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 9 Dec 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2025-40337](https://www.cve.org/CVERecord?id=CVE-2025-40337)
- [NVD: CVE-2025-40337](https://nvd.nist.gov/vuln/detail/CVE-2025-40337)

### References from the CNA

- <https://git.kernel.org/stable/c/3c5e5fccc4138c072d99be4ebe6b16df6a70a40c>
- <https://git.kernel.org/stable/c/63fbe0e6413279d5ea5842e2423e351ded547683>
- <https://git.kernel.org/stable/c/719fcdf29051f7471d5d433475af76219019d33d>
- <https://git.kernel.org/stable/c/1aa319e0f12d2d761a31556b82a5852c98eb0bea>
- <https://git.kernel.org/stable/c/ee0aace5f844ef59335148875d05bec8764e71e8>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-40337>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-40337/>. Everything for agents: <https://agentprime.io/llms.txt>.
