CVE-2025-38125
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 8572aec3d0dc43045254fd1bf581fb980bfdbc4b before b15c9a21950e1af6d440ce5a8edfa8a94b9acb9b, from 8572aec3d0dc43045254fd1bf581fb980bfdbc4b before d6b0f7ed3e9b6c5e2e3a006c8f72c95aa4ac4b74, from 8572aec3d0dc43045254fd1bf581fb980bfdbc4b before b92ec4a848728460f181def33735605f154d438f, from 8572aec3d0dc43045254fd1bf581fb980bfdbc4b before 451ee661d0f6272017fa012f99617101aa8ddf2c, from 8572aec3d0dc43045254fd1bf581fb980bfdbc4b before d5e3bfdba0dc419499b801937128957f77503761, from 8572aec3d0dc43045254fd1bf581fb980bfdbc4b before cbefe2ffa7784525ec5d008ba87c7add19ec631a, 5.6
Not affected: before 5.6, from 5.15.199 up to 5.15.*, from 6.1.162 up to 6.1.*, from 6.6.120 up to 6.6.*, from 6.12.34 up to 6.12.*, from 6.15.3 up to 6.15.*
CVE List
linux linux_kernelfrom 5.6 before 6.12.34, from 6.13 before 6.15.3NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-38125 changed 2026-11-10CVE Terms of Use
NVDCVE-2025-38125 changed 2026-11-10Public domain