{"id":"CVE-2025-38125","aliases":["CVE-2025-38125"],"related":[],"kind":"vulnerability","state":"published","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 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: stmmac: asegúrese de que ptp_rate no sea 0 antes de configurar EST Si el ptp_rate registrado anteriormente en el controlador resulta ser 0, este valor falso se propagará hasta la configuración de EST, donde activará una división por 0. Evite esta división por 0 agregando el código de verificación y error correspondiente.","source":"nvd"}],"published":"2025-07-03T08:35:31.176Z","modified":"2026-11-10T13:17:45.677Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8572aec3d0dc43045254fd1bf581fb980bfdbc4b","fixed":"b15c9a21950e1af6d440ce5a8edfa8a94b9acb9b","status":"affected"},{"type":"git","introduced":"8572aec3d0dc43045254fd1bf581fb980bfdbc4b","fixed":"d6b0f7ed3e9b6c5e2e3a006c8f72c95aa4ac4b74","status":"affected"},{"type":"git","introduced":"8572aec3d0dc43045254fd1bf581fb980bfdbc4b","fixed":"b92ec4a848728460f181def33735605f154d438f","status":"affected"},{"type":"git","introduced":"8572aec3d0dc43045254fd1bf581fb980bfdbc4b","fixed":"451ee661d0f6272017fa012f99617101aa8ddf2c","status":"affected"},{"type":"git","introduced":"8572aec3d0dc43045254fd1bf581fb980bfdbc4b","fixed":"d5e3bfdba0dc419499b801937128957f77503761","status":"affected"},{"type":"git","introduced":"8572aec3d0dc43045254fd1bf581fb980bfdbc4b","fixed":"cbefe2ffa7784525ec5d008ba87c7add19ec631a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.15.199","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.162","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.120","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.34","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.3","lastAffected":"6.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.16","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.6","fixed":"6.12.34"},{"status":"affected","introduced":"6.13","fixed":"6.15.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b15c9a21950e1af6d440ce5a8edfa8a94b9acb9b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d6b0f7ed3e9b6c5e2e3a006c8f72c95aa4ac4b74","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b92ec4a848728460f181def33735605f154d438f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/451ee661d0f6272017fa012f99617101aa8ddf2c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d5e3bfdba0dc419499b801937128957f77503761","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cbefe2ffa7784525ec5d008ba87c7add19ec631a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:50:00.476Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38125","url":"https://www.cve.org/CVERecord?id=CVE-2025-38125","licence":"CVE Terms of Use","modified":"2026-11-10T12:36:13.238Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38125","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38125","licence":"Public domain","modified":"2026-11-10T13:17:45.677Z"}],"updatedAt":"2026-11-25T22:59:00.523Z","epss":{"score":0.00244,"percentile":0.16661,"date":"2026-12-01T12:00:22.000Z"}}