Skip to main content
← All vulnerabilities
CVE-2025-38125

net: stmmac: make sure that ptp_rate is not 0 before configuring EST

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.15.199, 6.1.162, 6.6.120, 6.12.34, 6.15.3
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 8572aec3d0dc43045254fd1bf581fb980bfdbc4b · fixed in b15c9a21950e1af6d440ce5a8edfa8a94b9acb9b; From 8572aec3d0dc43045254fd1bf581fb980bfdbc4b · fixed in d6b0f7ed3e9b6c5e2e3a006c8f72c95aa4ac4b74; From 8572aec3d0dc43045254fd1bf581fb980bfdbc4b · fixed in b92ec4a848728460f181def33735605f154d438f; From 8572aec3d0dc43045254fd1bf581fb980bfdbc4b · fixed in 451ee661d0f6272017fa012f99617101aa8ddf2c; From 8572aec3d0dc43045254fd1bf581fb980bfdbc4b · fixed in d5e3bfdba0dc419499b801937128957f77503761; From 8572aec3d0dc43045254fd1bf581fb980bfdbc4b · fixed in cbefe2ffa7784525ec5d008ba87c7add19ec631a

  • Linux Linux

    5.6

  • KernelLinux

    From 5.6.0 · fixed in 5.15.199; From 5.16.0 · fixed in 6.1.162; From 6.2.0 · fixed in 6.6.120; From 6.7.0 · fixed in 6.12.34; From 6.13.0 · fixed in 6.15.3

References 6

git.kernel.org