# CVE-2025-38135: serial: Fix potential null-ptr-deref in mlb_usio_probe()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-07-03T08:35:38.295Z
- Modified: 2026-06-17T09:16:07.530Z
- Weaknesses: CWE-476
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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; 5.2 (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.*; from 6.12.34 up to 6.12.*; from 6.15.3 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 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.3
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/a05ebe384c7ca75476453f3070c67d9cf1d1a89f> (patch)
- <https://git.kernel.org/stable/c/81159a6b064142b993f2f39828b77e199c77872a> (patch)
- <https://git.kernel.org/stable/c/19fd9f5a69363d33079097d866eb6082d61bf31d> (patch)
- <https://git.kernel.org/stable/c/548b0e81b9a0902a8bc8259430ed965663baadfc> (patch)
- <https://git.kernel.org/stable/c/a6c7c365734cd0fa1c5aa225a6294fdf80cad2ea> (patch)
- <https://git.kernel.org/stable/c/c23d87b43f7dba5eb12820f6cf21a1cd4f63eb3d> (patch)
- <https://git.kernel.org/stable/c/e1b144aebe6fb898d96ced8c990d7aa38fda4a7a> (patch)
- <https://git.kernel.org/stable/c/86bcae88c9209e334b2f8c252f4cc66beb261886> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-38135](https://www.cve.org/CVERecord?id=CVE-2025-38135), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-38135](https://nvd.nist.gov/vuln/detail/CVE-2025-38135), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-38135 · Whole record: https://cve.day/CVE-2025-38135.json · Rebuilt by cve.day 2026-11-25T22:59:00.532Z
