CVE-2025-38125: net: stmmac: make sure that ptp_rate is not 0 before configuring EST
Vulnerability summary
CVE-2025-38125 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 9% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 54 · Related 52Timeline
- 03-07-2025PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
9%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.19% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu133 products
- linux< 5.15.0-176.186 | < 6.8.0-100.100
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.15.0-1105.112 | < 6.8.0-1046.49
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 8572aec3d0dc43045254fd1bf581fb980bfdbc4b, < b15c9a21950e1af6d440ce5a8edfa8a94b9acb9b | ≥ 8572aec3d0dc43045254fd1bf581fb980bfdbc4b, < d6b0f7ed3e9b6c5e2e3a006c8f72c95aa4ac4b74 | ≥ 8572aec3d0dc43045254fd1bf581fb980bfdbc4b, < b92ec4a848728460f181def33735605f154d438f | ≥ 8572aec3d0dc43045254fd1bf581fb980bfdbc4b, < 451ee661d0f6272017fa012f99617101aa8ddf2c | ≥ 8572aec3d0dc43045254fd1bf581fb980bfdbc4b, < d5e3bfdba0dc419499b801937128957f77503761 | ≥ 8572aec3d0dc43045254fd1bf581fb980bfdbc4b, < cbefe2ffa7784525ec5d008ba87c7add19ec631a | 5.6
- linux_kernel≥ 5.6, < 6.12.34 | ≥ 6.13, < 6.15.3
Debian1 product
- linux< 6.1.162-1 | < 6.12.35-1
3 vendors · 136 products