← CVE Intelligence

CVE-2023-53019

net: mdio: validate parameter addr in mdiobus_get_phy() PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 7f854420fbfe9d49afe2ffb1df052cfe8e215541 before 1d80c259dfbadefa61b7ea334dfce5cb57f8c72f; affected 7f854420fbfe9d49afe2ffb1df052cfe8e215541 before c431a3d642593bbdb99e8a9e3eed608b730db6f8; affected 7f854420fbfe9d49afe2ffb1df052cfe8e215541 before 8a7b9560a3a8eb8724888c426e05926752f73aa0; affected 7f854420fbfe9d49afe2ffb1df052cfe8e215541 before 4bc5f1f6bc94e695dfd912122af96e7115a0ddb8; affected 7f854420fbfe9d49afe2ffb1df052cfe8e215541 before ad67de330d83e8078372b52af18ffe8d39e26c85; affected 7f854420fbfe9d49afe2ffb1df052cfe8e215541 before 7879626296e6ffd838ae0f2af1ab49ee46354973; affected 7f854420fbfe9d49afe2ffb1df052cfe8e215541 before 867dbe784c5010a466f00a7d1467c1c5ea569c75
Linux / Linuxaffected 4.5; unaffected 0 before 4.5; unaffected 4.14.305 through 4.14.*; unaffected 4.19.272 through 4.19.*; unaffected 5.4.231 through 5.4.*; unaffected 5.10.166 through 5.10.*; unaffected 5.15.91 through 5.15.*; unaffected 6.1.9 through 6.1.*; unaffected 6.2 through *

CWE

No CWE identifiers supplied.

References