CVE-2025-37945
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-37945 is a vulnerability discovered in the Linux kernel, specifically affecting the MDIO bus power management operations for phylink-controlled PHY. The issue was published on May 20, 2025, and primarily impacts the handling of state machines in DSA (Distributed Switch Architecture) drivers (NVD, Wiz).

Technical details

The vulnerability involves two categories of DSA drivers: those that call dsaswitchsuspend() and dsaswitchresume() from their device PM ops (like qca8k-8xxx, bcmsf2, microchip ksz), and those that don't. For the second category of drivers without MAC managed PM, mdiobusphysuspend() and mdiobusphyresume() should run in full. The issue occurs because mdiobusphysuspend() fails to call phystopmachine() since the phydev->adjust_link function pointer is NULL in phylink configurations (NVD, Wiz).

Impact

When triggered, the vulnerability causes the PHY state machine to remain running when it should be stopped, leading to a warning from mdiobusphy_resume() due to unexpected PHY states. This affects not only DSA drivers but potentially any MAC driver with phylink and MDIO-bus-managed PHY PM ops (Wiz).

Mitigation and workarounds

The vulnerability has been resolved by making the existing conditions dependent on the PHY device having a phydev->phylinkchange() implementation equal to the default phylinkchange() provided by phylib. For cases where phydev->phylinkchange() is absent, the system will now properly handle the PHY state machine during suspend/resume operations (Wiz).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40000CRITICAL9.8
  • Linux KernelLinux Kernel
  • kernel-rt-modules-partner
NoNoOct 15, 2025
CVE-2025-39996CRITICAL9.8
  • Linux KernelLinux Kernel
  • linux-xilinx-zynqmp
NoNoOct 15, 2025
CVE-2025-39998HIGH7.8
  • Linux KernelLinux Kernel
  • kernel-modules-partner
NoNoOct 15, 2025
CVE-2025-39999N/AN/A
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoNoOct 15, 2025
CVE-2025-39997N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules
NoNoOct 15, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management