# net: stmmac: make sure that ptp_rate is not 0 before configuring EST

CVE record · `CVE-2025-38125`

- **Identifiers:** `CVE-2025-38125`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 3 Jul 2025
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 3 Jul 2025, 08:35 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: `8572aec3d0dc43045254fd1bf581fb980bfdbc4b to before b15c9a21950e1af6d440ce5a8edfa8a94b9acb9b` (git)
  - affected: `8572aec3d0dc43045254fd1bf581fb980bfdbc4b to before d6b0f7ed3e9b6c5e2e3a006c8f72c95aa4ac4b74` (git)
  - affected: `8572aec3d0dc43045254fd1bf581fb980bfdbc4b to before b92ec4a848728460f181def33735605f154d438f` (git)
  - affected: `8572aec3d0dc43045254fd1bf581fb980bfdbc4b to before 451ee661d0f6272017fa012f99617101aa8ddf2c` (git)
  - affected: `8572aec3d0dc43045254fd1bf581fb980bfdbc4b to before d5e3bfdba0dc419499b801937128957f77503761` (git)
  - affected: `8572aec3d0dc43045254fd1bf581fb980bfdbc4b to before cbefe2ffa7784525ec5d008ba87c7add19ec631a` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.6`
  - unaffected: `before 5.6` (semver)
  - unaffected: `5.15.199 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.162 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.120 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.34 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.3 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16 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 is affected from commit 8572aec3d0dc before the fixes listed for each stable branch, and from version 5.6 onward until fixed. If the recorded PTP clock rate is 0, the Enhanced Scheduled Traffic (EST) configuration path performs a division by zero. The source gives few details about who can trigger this or what the resulting impact is. Upgrade to a fixed Linux kernel release for your branch, as listed in the advisory.

Written 16 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

No source has published a CVSS score for this record yet.

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

## Timeline

- 3 Jul 2025, 08:35 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-38125)
- 3 Jul 2025, 09:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-38125)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/b15c9a21950e1af6d440ce5a8edfa8a94b9acb9b>
- <https://git.kernel.org/stable/c/d6b0f7ed3e9b6c5e2e3a006c8f72c95aa4ac4b74>
- <https://git.kernel.org/stable/c/b92ec4a848728460f181def33735605f154d438f>
- <https://git.kernel.org/stable/c/451ee661d0f6272017fa012f99617101aa8ddf2c>
- <https://git.kernel.org/stable/c/d5e3bfdba0dc419499b801937128957f77503761>
- <https://git.kernel.org/stable/c/cbefe2ffa7784525ec5d008ba87c7add19ec631a>

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-38125>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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