CVE-2025-38135: serial: Fix potential null-ptr-deref in mlb_usio_probe()
In the Linux kernel, the following vulnerability has been resolved:
serial: Fix potential null-ptr-deref in mlbusioprobe()
devmioremap() can return NULL on error. Currently, mlbusioprobe() does not check for this case, which could result in a NULL pointer dereference.
Add NULL check after devmioremap() to prevent this issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1 - Compensating control
Add a NULL check after devm_ioremap() in mlb_usio_probe() and handle the error before dereferencing the returned pointer.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-38135?
CVE-2025-38135 has not been assigned a specific severity score, but it involves a potential null pointer dereference vulnerability in the Linux kernel.
How do I fix CVE-2025-38135?
To mitigate CVE-2025-38135, ensure that the Linux kernel is updated to the latest version where the vulnerability has been addressed.
What is affected by CVE-2025-38135?
CVE-2025-38135 affects the Linux kernel, specifically the mlb_usio_probe() function.
What kind of vulnerability is CVE-2025-38135?
CVE-2025-38135 is a vulnerability related to a potential null pointer dereference due to a lack of error checking.
When was CVE-2025-38135 reported?
The details of CVE-2025-38135 were publicly disclosed as part of the ongoing Linux kernel security updates.