Linux
net: usb: asix_devices: Fix PHY address mask in MDIO bus initialization
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 75947d3200de98a9ded9ad8972e02f1a177097fe, < fcb4ce9f729c1d08e53abf9d449340e24c3edee6
- >= 59ed6fbdb1bc03316e09493ffde7066f031c7524, < 8f141f2a4f2ef8ca865d5921574c3d6535e00a49
- >= ccef5ee4adf56472aa26bdd1f821a6d0cd06089a, < 748da80831221ae24b4bc8d7ffb22acd5712a341
- >= ee2cd40b0bb46056949a2319084a729d95389386, < 22042ffedd8c2c6db08ccdd6d4273068eddd3c5c
- >= ad1f8313aeec0115f9978bd2d002ef4a8d96c773, < 523eab02fce458fa6d3c51de5bb055800986953e
- >= 4faff70959d51078f9ee8372f8cff0d7045e4114, < 24ef2f53c07f273bad99173e27ee88d44d135b1c
- a754ab53993b1585132e871c5d811167ad3c52ff
- >= 6.15.11, < 6.16
Fixed in fcb4ce9f729c1d08e53abf9d449340e24c3edee6, 8f141f2a4f2ef8ca865d5921574c3d6535e00a49, 748da80831221ae24b4bc8d7ffb22acd5712a341, 22042ffedd8c2c6db08ccdd6d4273068eddd3c5c, 523eab02fce458fa6d3c51de5bb055800986953e, 24ef2f53c07f273bad99173e27ee88d44d135b1c, 6.16
- >= 6.12.43, < 6.12.44
- >= 6.16.2, < 6.16.4
Fixed in 6.12.44, 6.16.4
Mitigation
Upgrade Linux to fcb4ce9f729c1d08e53abf9d449340e24c3edee6 or 8f141f2a4f2ef8ca865d5921574c3d6535e00a49 or 748da80831221ae24b4bc8d7ffb22acd5712a341 or 22042ffedd8c2c6db08ccdd6d4273068eddd3c5c or 523eab02fce458fa6d3c51de5bb055800986953e or 24ef2f53c07f273bad99173e27ee88d44d135b1c or 6.16 or later.
Upgrade Linux to 6.12.44 or 6.16.4 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.