Bug 2376088 (CVE-2025-38125) - CVE-2025-38125 kernel: net: stmmac: make sure that ptp_rate is not 0 before configuring EST
Summary: CVE-2025-38125 kernel: net: stmmac: make sure that ptp_rate is not 0 before c...
Keywords:
Status: NEW
Alias: CVE-2025-38125
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-03 09:04 UTC by OSIDB Bzimport
Modified: 2025-07-07 11:34 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-07-03 09:04:27 UTC
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.

Comment 1 Avinash Hanwate 2025-07-03 15:05:57 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025070328-CVE-2025-38125-8a6b@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.