We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

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.

Reserved 2025-04-16 | Published 2025-07-03 | Updated 2025-07-03 | Assigner Linux

Product status

Default status
unaffected

8572aec3d0dc43045254fd1bf581fb980bfdbc4b before 451ee661d0f6272017fa012f99617101aa8ddf2c
affected

8572aec3d0dc43045254fd1bf581fb980bfdbc4b before d5e3bfdba0dc419499b801937128957f77503761
affected

8572aec3d0dc43045254fd1bf581fb980bfdbc4b before cbefe2ffa7784525ec5d008ba87c7add19ec631a
affected

Default status
affected

5.6
affected

Any version before 5.6
unaffected

6.12.34
unaffected

6.15.3
unaffected

6.16-rc1
unaffected

References

git.kernel.org/...c/451ee661d0f6272017fa012f99617101aa8ddf2c

git.kernel.org/...c/d5e3bfdba0dc419499b801937128957f77503761

git.kernel.org/...c/cbefe2ffa7784525ec5d008ba87c7add19ec631a

cve.org (CVE-2025-38125)

nvd.nist.gov (CVE-2025-38125)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-38125

Support options

Helpdesk Chat, Email, Knowledgebase