CVE-2025-38125

published 3 Jul 2025 · updated 12 Nov 2026

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

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d6b0f7ed3e9b6c5e2e3a006c8f72c95aa4ac4b74, Kernel 6.15.3, Kernel b15c9a21950e1af6d440ce5a8edfa8a94b9acb9b and 8 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=8572aec3d0dc43045254fd1bf581fb980bfdbc4b <d6b0f7ed3e9b6c5e2e3a006c8f72c95aa4ac4b74, >=6.13 <6.15.3, >=8572aec3d0dc43045254fd1bf581fb980bfdbc4b <b15c9a21950e1af6d440ce5a8edfa8a94b9acb9b, >=8572aec3d0dc43045254fd1bf581fb980bfdbc4b <b92ec4a848728460f181def33735605f154d438f, >=8572aec3d0dc43045254fd1bf581fb980bfdbc4b <cbefe2ffa7784525ec5d008ba87c7add19ec631a, >=8572aec3d0dc43045254fd1bf581fb980bfdbc4b <d5e3bfdba0dc419499b801937128957f77503761, >=5.6 <6.12.34, =5.6, >=8572aec3d0dc43045254fd1bf581fb980bfdbc4b <451ee661d0f6272017fa012f99617101aa8ddf2cd6b0f7ed3e9b6c5e2e3a006c8f72c95aa4ac4b74, 6.15.3, b15c9a21950e1af6d440ce5a8edfa8a94b9acb9b, b92ec4a848728460f181def33735605f154d438f, cbefe2ffa7784525ec5d008ba87c7add19ec631a, d5e3bfdba0dc419499b801937128957f77503761, 6.12.34, 451ee661d0f6272017fa012f99617101aa8ddf2c
linux-kernel: Kernel>=5.16.0 <6.1.162, >=5.6.0 <5.15.199, >=6.13.0 <6.15.3, >=6.2.0 <6.6.120, >=6.7.0 <6.12.346.1.162, 5.15.199, 6.15.3, 6.6.120, 6.12.34

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38125 severity on Zeptric[![CVE-2025-38125](https://zeptric.io/badge/cve/CVE-2025-38125.svg)](https://zeptric.io/cve/CVE-2025-38125)