Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-38125

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

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 8572aec3d0dc43045254fd1bf581fb980bfdbc4b to < b15c9a21950e1af6d440ce5a8edfa8a94b9acb9baffected
  • 8572aec3d0dc43045254fd1bf581fb980bfdbc4b to < d6b0f7ed3e9b6c5e2e3a006c8f72c95aa4ac4b74affected
  • 8572aec3d0dc43045254fd1bf581fb980bfdbc4b to < b92ec4a848728460f181def33735605f154d438faffected
  • 8572aec3d0dc43045254fd1bf581fb980bfdbc4b to < 451ee661d0f6272017fa012f99617101aa8ddf2caffected
  • 8572aec3d0dc43045254fd1bf581fb980bfdbc4b to < d5e3bfdba0dc419499b801937128957f77503761affected
  • 8572aec3d0dc43045254fd1bf581fb980bfdbc4b to < cbefe2ffa7784525ec5d008ba87c7add19ec631aaffected

Linux Linux

Default version status: affected

  • 5.6affected
  • 0 to < 5.6unaffected
  • 5.15.199 to ≤ 5.15.*unaffected
  • 6.1.162 to ≤ 6.1.*unaffected
  • 6.6.120 to ≤ 6.6.*unaffected
  • 6.12.34 to ≤ 6.12.*unaffected
  • 6.15.3 to ≤ 6.15.*unaffected
  • 6.16 to ≤ *unaffected

References