CVE-2025-38126
kernel: Linux kernel: Denial of Service in stmmac network driver due to division by zero during PTP timestamping configuration
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 3, 2025
Updated · June 30, 2026
Description
A flaw was found in the Linux kernel's stmmac network driver. This vulnerability occurs when the clk_ptp_rate value is zero during the configuration of Precision Time Protocol (PTP) timestamping, leading to a division-by-zero error. A local attacker with low privileges could exploit this condition by bringing up a network interface, causing a kernel panic and resulting in a Denial of Service (DoS) for the system.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-369 · Divide By Zero