NetSight
high7.8

CVE-2023-53019

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 ad…

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
from 4.5 before 4.14.305
from 4.15 before 4.19.272
from 4.20 before 5.4.231
from 5.5 before 5.10.166
from 5.11 before 5.15.91
from 5.16 before 6.1.9

Weakness classification

References