---
id: CVE-2025-68187
title: |-
  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 initia…
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 initia…
severity: none
published: '2025-12-16'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T13:10:00.187'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-68187'
references:
  - url: 'https://git.kernel.org/stable/c/b2b526c2cf57d14ee269e012ed179081871f45a1'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/dc8ed3823473bb38ba43cfb34f1e1c1baa22f975'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00185
epssPercentile: 0.07489
ingestedAt: '2026-10-14T13:30:58.448Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
