{"id":"CVE-2023-53019","summary":"net: mdio: validate parameter addr in mdiobus_get_phy()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mdio: validate parameter addr in mdiobus_get_phy()\n\nThe caller may pass any value as addr, what may result in an out-of-bounds\naccess to array mdio_map. One existing case is stmmac_init_phy() that\nmay pass -1 as addr. Therefore validate addr before using it.","modified":"2026-04-02T09:43:33.954148Z","published":"2025-03-27T16:43:46.493Z","related":["SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1195-1","SUSE-SU-2025:1241-1","SUSE-SU-2025:1293-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53019.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1d80c259dfbadefa61b7ea334dfce5cb57f8c72f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4bc5f1f6bc94e695dfd912122af96e7115a0ddb8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7879626296e6ffd838ae0f2af1ab49ee46354973"},{"type":"WEB","url":"https://git.kernel.org/stable/c/867dbe784c5010a466f00a7d1467c1c5ea569c75"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8a7b9560a3a8eb8724888c426e05926752f73aa0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ad67de330d83e8078372b52af18ffe8d39e26c85"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c431a3d642593bbdb99e8a9e3eed608b730db6f8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53019.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53019"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7f854420fbfe9d49afe2ffb1df052cfe8e215541"},{"fixed":"1d80c259dfbadefa61b7ea334dfce5cb57f8c72f"},{"fixed":"c431a3d642593bbdb99e8a9e3eed608b730db6f8"},{"fixed":"8a7b9560a3a8eb8724888c426e05926752f73aa0"},{"fixed":"4bc5f1f6bc94e695dfd912122af96e7115a0ddb8"},{"fixed":"ad67de330d83e8078372b52af18ffe8d39e26c85"},{"fixed":"7879626296e6ffd838ae0f2af1ab49ee46354973"},{"fixed":"867dbe784c5010a466f00a7d1467c1c5ea569c75"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53019.json"}}],"schema_version":"1.7.5"}