{"id":"CVE-2025-68187","aliases":["CVE-2025-68187"],"related":[],"kind":"vulnerability","state":"published","title":"net: mdio: Check regmap pointer returned by device_node_to_regmap()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnet: mdio: Verificar puntero regmap devuelto por device_node_to_regmap()\n\nLa llamada a device_node_to_regmap() en airoha_mdio_probe() puede devolver un ERR_PTR() si la inicialización de regmap falla. Actualmente, el controlador almacena el puntero sin validación, lo que podría provocar un fallo si se desreferencia posteriormente.\n\nAñadir una comprobación IS_ERR() y devolver el código de error correspondiente para hacer que la ruta de sondeo sea más robusta.","source":"nvd"}],"published":"2025-12-16T13:43:04.691Z","modified":"2026-10-14T13:10:00.187Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"67e3ba978361cb262f8f8981ab88ccb97f1e2bda","fixed":"dc8ed3823473bb38ba43cfb34f1e1c1baa22f975","status":"affected"},{"type":"git","introduced":"67e3ba978361cb262f8f8981ab88ccb97f1e2bda","fixed":"b2b526c2cf57d14ee269e012ed179081871f45a1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.17","status":"unaffected"},{"type":"semver","introduced":"6.17.8","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/dc8ed3823473bb38ba43cfb34f1e1c1baa22f975","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b2b526c2cf57d14ee269e012ed179081871f45a1","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68187","url":"https://www.cve.org/CVERecord?id=CVE-2025-68187","licence":"CVE Terms of Use","modified":"2026-05-11T21:48:20.681Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68187","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68187","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:09.484Z","epss":{"score":0.00198,"percentile":0.10068,"date":"2026-12-01T12:00:22.000Z"}}