net: usb: asix_devices: Fix PHY address mask in MDIO bus initialization
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 4faff70959d51078f9ee8372f8cff0d7045e4114 · < 24ef2f53c07f273bad99173e27ee88d44d135b1c| No fix yet |
| Linux Linux |
| No fix yet |
In the Linux kernel, the following vulnerability has been resolved:
net: usb: asix_devices: Fix PHY address mask in MDIO bus initialization
Syzbot reported shift-out-of-bounds exception on MDIO bus initialization.
The PHY address should be masked to 5 bits (0-31). Without this mask, invalid PHY addresses could be used, potentially causing issues with MDIO bus operations.
Fix this by masking the PHY address with 0x1f (31 decimal) to ensure it stays within the valid range.
From the CVE record · Linux
The Linux kernel's USB ASIX driver does not mask PHY addresses to the valid 0–31 range during MDIO bus initialization. This can cause an out-of-bounds shift exception and may disrupt MDIO bus operations. The input does not specify how an attacker could trigger the issue or whether access or user interaction is required.
Engineers running Linux kernels with the USB ASIX driver should check their systems; affected versions were not provided.