CVE-2025-38725: net: usb: asix_devices: add phy_mask for ax88772 mdio bus
In the Linux kernel, the following vulnerability has been resolved:
net: usb: asixdevices: add phymask for ax88772 mdio bus
Without setting phymask for ax88772 mdio bus, current driver may create at most 32 mdio phy devices with phy address range from 0x00 ~ 0x1f. DLink DUB-E100 H/W Ver B1 is such a device. However, only one main phy device will bind to net phy driver. This is creating issue during system suspend/resume since phypollingmode() in phystatemachine() will directly deference member of phydev->drv for non-main phy devices. Then NULL pointer dereference issue will occur. Due to only external phy or internal phy is necessary, add phymask for ax88772 mdio bus to workarnoud the issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
In the driver code path referenced by “net: usb: asix_devices: add phy_mask for ax88772 mdio bus”, set/define phy_mask for the ax88772 MDIO bus so that the driver does not bind non-main/internal PHYs to the net phy driver and does not dereference phydev->drv for non-main PHY devices (workaround to avoid the NULL pointer dereference issue during system suspend/resume).
Linux kernel ax88772 mdio bus (net: usb: asix_devices) phy_mask = set phy_mask for ax88772 mdio bus
Event History
Frequently Asked Questions
What is the severity of CVE-2025-38725?
CVE-2025-38725 is classified as a medium severity vulnerability.
How do I fix CVE-2025-38725?
To fix CVE-2025-38725, you should update to the latest version of the Linux kernel that includes the fix.
What software is affected by CVE-2025-38725?
CVE-2025-38725 affects the Linux kernel, specifically pertaining to the handling of the mdio bus for certain USB devices.
What type of vulnerability is CVE-2025-38725?
CVE-2025-38725 is a driver vulnerability related to the configuration of mdio phy devices in the Linux kernel.
When was CVE-2025-38725 published?
CVE-2025-38725 was published on October 12, 2025.