CVE-2025-38125

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

No CVSS score yet EPSS 0.24%

Published 3 Jul 2025 Updated 10 Nov 2026 CNA: Linux

Check your servers for CVE-2025-38125

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38125 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.6% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 8572aec3d0dc43045254fd1bf581fb980bfdbc4b, before b15c9a21950e1af6d440ce5a8edfa8a94b9acb9b
affected from 8572aec3d0dc43045254fd1bf581fb980bfdbc4b, before d6b0f7ed3e9b6c5e2e3a006c8f72c95aa4ac4b74
affected from 8572aec3d0dc43045254fd1bf581fb980bfdbc4b, before b92ec4a848728460f181def33735605f154d438f
affected from 8572aec3d0dc43045254fd1bf581fb980bfdbc4b, before 451ee661d0f6272017fa012f99617101aa8ddf2c
affected from 8572aec3d0dc43045254fd1bf581fb980bfdbc4b, before d5e3bfdba0dc419499b801937128957f77503761
affected from 8572aec3d0dc43045254fd1bf581fb980bfdbc4b, before cbefe2ffa7784525ec5d008ba87c7add19ec631a
Other versions: unaffected
Linux
affected 5.6
unaffected before 5.6
unaffected from 5.15.199 up to and including 5.15.*
unaffected from 6.1.162 up to and including 6.1.*
unaffected from 6.6.120 up to and including 6.6.*
unaffected from 6.12.34 up to and including 6.12.*
unaffected from 6.15.3 up to and including 6.15.*
unaffected 6.16 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38125 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38125

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-38125
trivy image --scanners vuln IMAGE | grep CVE-2025-38125

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-38125 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.