What’s Vulnerable › Vulnerabilities

CVE-2023-53019: net: mdio: validate parameter addr in mdiobus_get_phy()

Description

In the Linux kernel, the following vulnerability has been resolved: net: mdio: validate parameter addr in mdiobus_get_phy() The caller may pass any value as addr, what may result in an out-of-bounds access to array mdio_map. One existing case is stmmac_init_phy() that may pass -1 as addr. Therefore validate addr before using it.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.305, 4.19.272, 5.10.166, 5.15.91. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-53019 or the next vulnerability affects your stack