5.5medium
net: usb: asix_devices: add phy_mask for ax88772 mdio bus
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: net: usb: asix_devices: add phy_mask for ax88772 mdio bus Without setting phy_mask 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 phy_polling_mode() in phy_state_machine() 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 phy_mask for ax88772 mdio bus to workarnoud the issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from e532a096be0e5e570b383e71d4560e7f04384e0f before 75947d3200de98a9ded9ad8972e02f1a177097fe, from e532a096be0e5e570b383e71d4560e7f04384e0f before 59ed6fbdb1bc03316e09493ffde7066f031c7524, from e532a096be0e5e570b383e71d4560e7f04384e0f before ccef5ee4adf56472aa26bdd1f821a6d0cd06089a, from e532a096be0e5e570b383e71d4560e7f04384e0f before ee2cd40b0bb46056949a2319084a729d95389386, from e532a096be0e5e570b383e71d4560e7f04384e0f before a754ab53993b1585132e871c5d811167ad3c52ff, from e532a096be0e5e570b383e71d4560e7f04384e0f before ad1f8313aeec0115f9978bd2d002ef4a8d96c773, from e532a096be0e5e570b383e71d4560e7f04384e0f before 4faff70959d51078f9ee8372f8cff0d7045e4114, 5.14 Not affected: before 5.14, from 5.15.190 up to 5.15.*, from 6.1.149 up to 6.1.*, from 6.6.103 up to 6.6.*, from 6.12.43 up to 6.12.*, from 6.15.11 up to 6.15.* | CVE List |
| linux linux_kernel | from 5.14 before 5.15.190, from 5.16 before 6.1.149, from 6.2 before 6.6.103, from 6.7 before 6.12.43, from 6.13 before 6.15.11, from 6.16 before 6.16.2, 6.17 | NVD |
| debian debian_linux | 11.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: net: usb: asix_devices: add phy_mask for ax88772 mdio bus Without setting phy_mask 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 phy_polling_mode() in phy_state_machine() 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 phy_mask for ax88772 mdio bus to workarnoud the issue.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: usb: asix_devices: añadir phy_mask para el bus mdio ax88772 Sin establecer phy_mask para el bus mdio ax88772, el controlador actual puede crear como máximo 32 dispositivos phy mdio con un rango de direcciones phy de 0x00 ~ 0x1f. DLink DUB-E100 H/W Ver B1 es uno de esos dispositivos. Sin embargo, solo un dispositivo phy principal se vinculará al controlador phy de red. Esto está creando un problema durante la suspensión/reanudación del sistema, ya que phy_polling_mode() en phy_state_machine() desreferenciará directamente un miembro de phydev->drv para dispositivos phy no principales. Entonces ocurrirá el problema de desreferencia de puntero NULL. Debido a que solo es necesario un phy externo o un phy interno, se añade phy_mask para el bus mdio ax88772 para solucionar el problema.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-38725 changed 2026-11-10 | CVE Terms of Use |
| NVD | CVE-2025-38725 changed 2026-11-10 | Public domain |