{"id":"CVE-2025-38125","title":"net: stmmac: make sure that ptp_rate is not 0 before configuring EST","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: stmmac: make sure that ptp_rate is not 0 before configuring EST\n\nIf the ptp_rate recorded earlier in the driver happens to be 0, this\nbogus value will propagate up…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 8572aec3d0dc43045254fd1bf581fb980bfdbc4b < b15c9a21950e1af6d440ce5a8edfa8a94b9acb9b","Linux >= 8572aec3d0dc43045254fd1bf581fb980bfdbc4b < d6b0f7ed3e9b6c5e2e3a006c8f72c95aa4ac4b74","Linux >= 8572aec3d0dc43045254fd1bf581fb980bfdbc4b < b92ec4a848728460f181def33735605f154d438f","Linux >= 8572aec3d0dc43045254fd1bf581fb980bfdbc4b < 451ee661d0f6272017fa012f99617101aa8ddf2c","Linux >= 8572aec3d0dc43045254fd1bf581fb980bfdbc4b < d5e3bfdba0dc419499b801937128957f77503761","Linux >= 8572aec3d0dc43045254fd1bf581fb980bfdbc4b < cbefe2ffa7784525ec5d008ba87c7add19ec631a","Linux 5.6"],"published":"2025-07-03","updated":"2026-09-08","sourceUpdated":"2026-09-08T08:41:43.127Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-38125","references":[{"url":"https://git.kernel.org/stable/c/b15c9a21950e1af6d440ce5a8edfa8a94b9acb9b"},{"url":"https://git.kernel.org/stable/c/d6b0f7ed3e9b6c5e2e3a006c8f72c95aa4ac4b74"},{"url":"https://git.kernel.org/stable/c/b92ec4a848728460f181def33735605f154d438f"},{"url":"https://git.kernel.org/stable/c/451ee661d0f6272017fa012f99617101aa8ddf2c"},{"url":"https://git.kernel.org/stable/c/d5e3bfdba0dc419499b801937128957f77503761"},{"url":"https://git.kernel.org/stable/c/cbefe2ffa7784525ec5d008ba87c7add19ec631a"}],"tags":["cve.org"],"epss":0.00178,"epssPercentile":0.07631,"ingestedAt":"2026-09-08T15:33:26.997Z","slug":"CVE-2025-38125","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nnet: stmmac: make sure that ptp_rate is not 0 before configuring EST\n\nIf the ptp_rate recorded earlier in the driver happens to be 0, this\nbogus value will propagate up to EST configuration, where it will\ntrigger a division by 0.\n\nPrevent this division by 0 by adding the corresponding check and error\ncode.\n\n## Affected\n\n- `Linux >= 8572aec3d0dc43045254fd1bf581fb980bfdbc4b < b15c9a21950e1af6d440ce5a8edfa8a94b9acb9b`\n- `Linux >= 8572aec3d0dc43045254fd1bf581fb980bfdbc4b < d6b0f7ed3e9b6c5e2e3a006c8f72c95aa4ac4b74`\n- `Linux >= 8572aec3d0dc43045254fd1bf581fb980bfdbc4b < b92ec4a848728460f181def33735605f154d438f`\n- `Linux >= 8572aec3d0dc43045254fd1bf581fb980bfdbc4b < 451ee661d0f6272017fa012f99617101aa8ddf2c`\n- `Linux >= 8572aec3d0dc43045254fd1bf581fb980bfdbc4b < d5e3bfdba0dc419499b801937128957f77503761`\n- `Linux >= 8572aec3d0dc43045254fd1bf581fb980bfdbc4b < cbefe2ffa7784525ec5d008ba87c7add19ec631a`\n- `Linux 5.6`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}