CVE-2025-38125

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux8572aec3d0dc43045254fd1bf581fb980bfdbc4b < b15c9a21950e1af6d440ce5a8edfa8a94b9acb9baffected
LinuxLinux8572aec3d0dc43045254fd1bf581fb980bfdbc4b < d6b0f7ed3e9b6c5e2e3a006c8f72c95aa4ac4b74affected
LinuxLinux8572aec3d0dc43045254fd1bf581fb980bfdbc4b < b92ec4a848728460f181def33735605f154d438faffected
LinuxLinux8572aec3d0dc43045254fd1bf581fb980bfdbc4b < 451ee661d0f6272017fa012f99617101aa8ddf2caffected
LinuxLinux8572aec3d0dc43045254fd1bf581fb980bfdbc4b < d5e3bfdba0dc419499b801937128957f77503761affected
LinuxLinux8572aec3d0dc43045254fd1bf581fb980bfdbc4b < cbefe2ffa7784525ec5d008ba87c7add19ec631aaffected
LinuxLinux5.6affected
LinuxLinux0 < 5.6unaffected
LinuxLinux5.15.199 <= 5.15.*unaffected
LinuxLinux6.1.162 <= 6.1.*unaffected
LinuxLinux6.6.120 <= 6.6.*unaffected
LinuxLinux6.12.34 <= 6.12.*unaffected
LinuxLinux6.15.3 <= 6.15.*unaffected
LinuxLinux6.16 <= *unaffected

Weaknesses

References