CVE-2025-68187

Source
https://cve.org/CVERecord?id=CVE-2025-68187
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68187.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-68187
Downstream
Published
2025-12-16T13:43:04.691Z
Modified
2025-12-16T20:22:18.126401Z
Summary
net: mdio: Check regmap pointer returned by device_node_to_regmap()
Details

In the Linux kernel, the following vulnerability has been resolved:

net: mdio: Check regmap pointer returned by devicenodeto_regmap()

The call to devicenodetoregmap() in airohamdioprobe() can return an ERRPTR() 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68187.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
67e3ba978361cb262f8f8981ab88ccb97f1e2bda
Fixed
dc8ed3823473bb38ba43cfb34f1e1c1baa22f975
Fixed
b2b526c2cf57d14ee269e012ed179081871f45a1

Affected versions

v6.*
v6.16
v6.16-rc4
v6.16-rc5
v6.16-rc6
v6.16-rc7
v6.17
v6.17-rc1
v6.17-rc2
v6.17-rc3
v6.17-rc4
v6.17-rc5
v6.17-rc6
v6.17-rc7
v6.17.1
v6.17.2
v6.17.3
v6.17.4
v6.17.5
v6.17.6
v6.17.7
v6.18-rc1
v6.18-rc2
v6.18-rc3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68187.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.17.0
Fixed
6.17.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68187.json"