CVE-2025-68187
net: mdio: Check regmap pointer returned by device_node_to_regmap()
- State
- Published
- Severity
- Not scored
- Published
- Dec 16, 2025
- Updated
- May 11, 2026
- Reserved
- Dec 16, 2025
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.