CVE-2025-38125 Information

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.

Reference

https://git.kernel.org/stable/c/451ee661d0f6272017fa012f99617101aa8ddf2c https://git.kernel.org/stable/c/cbefe2ffa7784525ec5d008ba87c7add19ec631a https://git.kernel.org/stable/c/d5e3bfdba0dc419499b801937128957f77503761

CNNVD-202507-209 (Published: 2025-07-03)

Share on: