What’s Vulnerable › Vulnerabilities
CVE-2025-38125: net: stmmac: make sure that ptp_rate is not 0 before configuring EST
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-03 · updated 2026-10-15
Description
In the Linux kernel, the following vulnerability has been resolved: net: stmmac: make sure that ptp_rate is not 0 before configuring EST If the ptp_rate recorded earlier in the driver happens to be 0, this bogus value will propagate up to EST configuration, where it will trigger a division by 0. Prevent this division by 0 by adding the corresponding check and error code.
Affected products
- Linux kernel: from 5.6 before 6.12.34; from 6.13 before 6.15.3 — fixed in 6.12.34, 6.15.3
How to fix
Upgrade to a fixed version: Linux kernel 6.12.34, 6.15.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/451ee661d0f6272017fa012f99617101aa8ddf2c
- https://git.kernel.org/stable/c/b15c9a21950e1af6d440ce5a8edfa8a94b9acb9b
- https://git.kernel.org/stable/c/b92ec4a848728460f181def33735605f154d438f
- https://git.kernel.org/stable/c/cbefe2ffa7784525ec5d008ba87c7add19ec631a
- https://git.kernel.org/stable/c/d5e3bfdba0dc419499b801937128957f77503761
- https://git.kernel.org/stable/c/d6b0f7ed3e9b6c5e2e3a006c8f72c95aa4ac4b74
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
Get alerted when CVE-2025-38125 or the next vulnerability affects your stack