Bug 2422656 (CVE-2025-68187) - CVE-2025-68187 kernel: net: mdio: Check regmap pointer returned by device_node_to_regmap()
Summary: CVE-2025-68187 kernel: net: mdio: Check regmap pointer returned by device_nod...
Keywords:
Status: NEW
Alias: CVE-2025-68187
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-16 14:01 UTC by OSIDB Bzimport
Modified: 2026-06-29 18:09 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-16 14:01:19 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.