CVE-2025-38125

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38125
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38125.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-38125
Downstream
Related
Published
2025-07-03T09:15:26Z
Modified
2025-08-09T19:01:27Z
Summary
[none]
Details

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.

References

Affected packages