Critical Vulnerability in Linux Kernel: MDIO Bus PM Operations

linux Updated 02 Oct 2025

Summary

20/05/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-37945: In the Linux kernel, the following vulnerability has been resolved: net: phy: allow MDIO bus PM ops to start/stop state machine for phylink-controlled PHY DSA has 2 kinds of drivers: 1. Affects linux versions < 6.12.25-1. Fixed in 6.12.25-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is a core component of the operating system that manages hardware and system resources. It provides essential services for all applications and is known for its stability and performance. This vulnerability affects the Linux kernel versions in Debian 13 and 14, specifically related to the management of PHY (Physical Layer) devices in networking. The issue arises from improper handling of power management operations, which can lead to unexpected behavior in network devices.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the handling of power management operations for MDIO bus-controlled PHY devices. The issue stems from the failure to stop the PHY state machine during suspend operations, leading to potential warnings and undefined behavior when resuming. This can affect any MAC driver using phylink and MDIO-bus-managed PHY PM operations, resulting in network instability and crashes. The vulnerability is particularly concerning for drivers that do not implement MAC-managed power management, as they may not handle PHY state transitions correctly.

How To Fix

Minimum fixed version

6.12.25-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can manually manage the PHY state transitions by ensuring that the PHY state machine is stopped before entering suspend mode. This can be done by invoking the phy_stop_machine() function in the driver code before suspending the device.

Conclusion

The identified vulnerability in the Linux kernel regarding MDIO bus power management operations poses significant risks to network stability. It is crucial for users to update their systems to the patched version to mitigate these risks. Additionally, utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability can lead to network instability, crashes, and unexpected behavior in devices that rely on MDIO bus-controlled PHY operations.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.

Yes, a patch is available in the form of the Linux package version 6.12.25-1. Updating to this version will resolve the vulnerability.

If immediate updates are not possible, consider implementing the workaround by managing PHY state transitions manually in your driver code.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.25-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback