CVE-2025-68187
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-12-16

Last updated on: 2025-12-18

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-16
Last Modified
2025-12-18
Generated
2026-05-07
AI Q&A
2025-12-16
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
What immediate steps should I take to mitigate this vulnerability?

Apply the updated Linux kernel patch that includes the fix for the mdio driver by adding an IS_ERR() check after the device_node_to_regmap() call in airoha_mdio_probe(). This prevents the driver from storing an invalid pointer and avoids potential crashes.


Can you explain this vulnerability to me?

This vulnerability occurs in the Linux kernel's mdio driver, specifically in the airoha_mdio_probe() function. The function calls device_node_to_regmap(), which can fail and return an error pointer (ERR_PTR()). The driver currently does not check if the pointer is an error before using it, which can lead to a crash when the pointer is dereferenced. The fix involves adding a check (IS_ERR()) to validate the pointer and handle errors properly, making the probe process more robust.


How can this vulnerability impact me? :

If exploited, this vulnerability can cause the Linux kernel to crash due to dereferencing an invalid pointer. This can lead to system instability or denial of service, affecting the reliability of systems running the vulnerable driver.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart