Not scored
net: mdio: Check regmap pointer returned by device_node_to_regmap()
- Severity
- Not scored
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: net: mdio: Check regmap pointer returned by device_node_to_regmap() The call to device_node_to_regmap() in airoha_mdio_probe() can return an ERR_PTR() if regmap initialization fails. Currently, the driver stores the pointer without validation, which could lead to a crash if it is later dereferenced. Add an IS_ERR() check and return the corresponding error code to make the probe path more robust.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 67e3ba978361cb262f8f8981ab88ccb97f1e2bda before dc8ed3823473bb38ba43cfb34f1e1c1baa22f975, from 67e3ba978361cb262f8f8981ab88ccb97f1e2bda before b2b526c2cf57d14ee269e012ed179081871f45a1, 6.17 Not affected: before 6.17, from 6.17.8 up to 6.17.*, from 6.18 up to * | CVE List |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: net: mdio: Check regmap pointer returned by device_node_to_regmap() The call to device_node_to_regmap() in airoha_mdio_probe() can return an ERR_PTR() if regmap initialization fails. Currently, the driver stores the pointer without validation, which could lead to a crash if it is later dereferenced. Add an IS_ERR() check and return the corresponding error code to make the probe path more robust.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: mdio: Verificar puntero regmap devuelto por device_node_to_regmap() La 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. Añ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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-68187 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-68187 changed 2026-10-14 | Public domain |