{"id":"CVE-2025-68187","summary":"net: mdio: Check regmap pointer returned by device_node_to_regmap()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mdio: Check regmap pointer returned by device_node_to_regmap()\n\nThe call to device_node_to_regmap() in airoha_mdio_probe() can return\nan ERR_PTR() if regmap initialization fails. Currently, the driver\nstores the pointer without validation, which could lead to a crash\nif it is later dereferenced.\n\nAdd an IS_ERR() check and return the corresponding error code to make\nthe probe path more robust.","modified":"2026-04-02T13:03:20.443695Z","published":"2025-12-16T13:43:04.691Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68187.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/b2b526c2cf57d14ee269e012ed179081871f45a1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dc8ed3823473bb38ba43cfb34f1e1c1baa22f975"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68187.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68187"},{"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":"67e3ba978361cb262f8f8981ab88ccb97f1e2bda"},{"fixed":"dc8ed3823473bb38ba43cfb34f1e1c1baa22f975"},{"fixed":"b2b526c2cf57d14ee269e012ed179081871f45a1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68187.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.17.0"},{"fixed":"6.17.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68187.json"}}],"schema_version":"1.7.5"}