CVE-2025-68187
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 67e3ba978361cb262f8f8981ab88ccb97f1e2bda < dc8ed3823473bb38ba43cfb34f1e1c1baa22f975 | affected |
| Linux | Linux | 67e3ba978361cb262f8f8981ab88ccb97f1e2bda < b2b526c2cf57d14ee269e012ed179081871f45a1 | affected |
| Linux | Linux | 6.17 | affected |
| Linux | Linux | 0 < 6.17 | unaffected |
| Linux | Linux | 6.17.8 <= 6.17.* | unaffected |
| Linux | Linux | 6.18 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/dc8ed3823473bb38ba43cfb34f1e1c1baa22f975
- https://git.kernel.org/stable/c/b2b526c2cf57d14ee269e012ed179081871f45a1
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.