# CVE-2025-68187: net: mdio: Check regmap pointer returned by device_node_to_regmap()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-12-16T13:43:04.691Z
- Modified: 2026-10-14T13:10:00.187Z
- 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.

(As written by CVE List.)

## Affected

- 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 *)

## References

- <https://git.kernel.org/stable/c/dc8ed3823473bb38ba43cfb34f1e1c1baa22f975>
- <https://git.kernel.org/stable/c/b2b526c2cf57d14ee269e012ed179081871f45a1>

## Sources

- CVE List: [CVE-2025-68187](https://www.cve.org/CVERecord?id=CVE-2025-68187), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-68187](https://nvd.nist.gov/vuln/detail/CVE-2025-68187), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-68187 · Whole record: https://cve.day/CVE-2025-68187.json · Rebuilt by cve.day 2026-11-25T22:59:09.484Z
