CVE-2025-38135
JSON

5.5medium

serial: Fix potential null-ptr-deref in mlb_usio_probe()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: serial: Fix potential null-ptr-deref in mlb_usio_probe() devm_ioremap() can return NULL on error. Currently, mlb_usio_probe() does not check for this case, which could result in a NULL pointer dereference. Add NULL check after devm_ioremap() to prevent this issue.

Affected

Product or packageVersionsReported by
Linux Linuxfrom ba44dc04300441b47618f9933bf36e75a280e5fe before a05ebe384c7ca75476453f3070c67d9cf1d1a89f, from ba44dc04300441b47618f9933bf36e75a280e5fe before 81159a6b064142b993f2f39828b77e199c77872a, from ba44dc04300441b47618f9933bf36e75a280e5fe before 19fd9f5a69363d33079097d866eb6082d61bf31d, from ba44dc04300441b47618f9933bf36e75a280e5fe before 548b0e81b9a0902a8bc8259430ed965663baadfc, from ba44dc04300441b47618f9933bf36e75a280e5fe before a6c7c365734cd0fa1c5aa225a6294fdf80cad2ea, from ba44dc04300441b47618f9933bf36e75a280e5fe before c23d87b43f7dba5eb12820f6cf21a1cd4f63eb3d, from ba44dc04300441b47618f9933bf36e75a280e5fe before e1b144aebe6fb898d96ced8c990d7aa38fda4a7a, from ba44dc04300441b47618f9933bf36e75a280e5fe before 86bcae88c9209e334b2f8c252f4cc66beb261886 and 1 more
Not affected: before 5.2, from 5.4.295 up to 5.4.*, from 5.10.239 up to 5.10.*, from 5.15.186 up to 5.15.*, from 6.1.142 up to 6.1.*, from 6.6.94 up to 6.6.*
CVE List
linux linux_kernelfrom 5.2 before 5.4.295, from 5.5 before 5.10.239, from 5.11 before 5.15.186, from 5.16 before 6.1.142, from 6.2 before 6.6.94, from 6.7 before 6.12.34, from 6.13 before 6.15.3NVD
debian debian_linux11.0NVD

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: serial: Fix potential null-ptr-deref in mlb_usio_probe() devm_ioremap() can return NULL on error. Currently, mlb_usio_probe() does not check for this case, which could result in a NULL pointer dereference. Add NULL check after devm_ioremap() to prevent this issue.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: serial: Se corrige la posible desreferencia de puntero nulo en mlb_usio_probe(). devm_ioremap() puede devolver NULL en caso de error. Actualmente, mlb_usio_probe() no verifica este caso, lo que podría provocar una desreferencia de puntero NULL. Agregue una comprobación de NULL después de devm_ioremap() para evitar este problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-38135 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-38135 changed 2026-06-17Public domain