PT-2025-27712

CVE-2025-38126

·

Published

2025-05-29

·

Updated

2026-10-21

Description by

CVSS 2.0
6.0
Medium
MetricsAV:L/AC:H/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions: Linux kernel versions prior to 6.12.30
Description: A division by zero error can occur in the Linux kernel when the ptp rate is 0, leading to a kernel crash. This issue arises when the stmmac platform drivers do not properly handle the clk ptp rate value retrieved from the device-tree, resulting in a 0 value that propagates to PTP initialization. The error occurs in the stmmac init tstamp counter function, which is called during interface setup.
Recommendations: For Linux kernel versions prior to 6.12.30, update to a version that includes the fix for the ptp rate check to prevent division by zero errors. As a temporary workaround, consider disabling the stmmac init tstamp counter function until a patch is available. Restrict access to the stmmac module to minimize the risk of exploitation. Avoid using the clk ptp rate value in the affected kernel functions until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Weakness enumeration
Related identifiers
AZL-64484
AZL-72722
CLSA-2026-1777616064
CLSA-2026-1786824415
DLA-4328-1
DSA-5973-1
ECHO-CC03-504E-0BAC
MGASA-2025-0218
MGASA-2025-0219
SUSE-SU-2025:02846-1
SUSE-SU-2025_02846-1
SUSE-SU-2025:02853-1
SUSE-SU-2025_02853-1
SUSE-SU-2025:02923-1
SUSE-SU-2025:02969-1
SUSE-SU-2025_02969-1
SUSE-SU-2025:02996-1
SUSE-SU-2025_02996-1
SUSE-SU-2025:02997-1
SUSE-SU-2025_02997-1
SUSE-SU-2025:03011-1
SUSE-SU-2025_03011-1
SUSE-SU-2025:03023-1
SUSE-SU-2025_03023-1
SUSE-SU-2025:20577-1
SUSE-SU-2025:20586-1
SUSE-SU-2025:20601-1
SUSE-SU-2025:20602-1
USN-7769-1
USN-7769-2
USN-7769-3
USN-7770-1
USN-7771-1
USN-7789-1
USN-7789-2
USN-8028-1
USN-8028-2
USN-8028-3
USN-8028-4
USN-8028-5
USN-8028-6
USN-8028-7
USN-8028-8
USN-8031-1
USN-8031-2
USN-8031-3
USN-8052-1
USN-8052-2
USN-8074-1
USN-8074-2
USN-8126-1
Found an issue in the description? Have something to add? Feel free to write us 👾