# CVE-2025-38138: dmaengine: ti: Add NULL check in udma_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.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2025-07-03T08:35:40.499Z
- Modified: 2026-06-17T09:16:07.917Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

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

dmaengine: ti: Add NULL check in udma_probe()

devm_kasprintf() returns NULL when memory allocation fails. Currently,
udma_probe() does not check for this case, which results in a NULL
pointer dereference.

Add NULL check after devm_kasprintf() to prevent this issue.

(As written by CVE List.)

## Affected

- Linux Linux: from 25dcb5dd7b7ce5587c1df18f584ff78f51a68a94 before ec1ea394c40523835bbedd8fc4934b77b461b6fe; from 25dcb5dd7b7ce5587c1df18f584ff78f51a68a94 before 9f133e04c62246353b8b1f0a679535c65161ebcf; from 25dcb5dd7b7ce5587c1df18f584ff78f51a68a94 before d61d5ba5bd5b0e39e30b34dcd92946e084bca0d0; from 25dcb5dd7b7ce5587c1df18f584ff78f51a68a94 before b79e10050d9d1e200541d25751dd5cb8ec58483c; from 25dcb5dd7b7ce5587c1df18f584ff78f51a68a94 before bc6ddff79835f71310a21645d8fcf08ec473e969; from 25dcb5dd7b7ce5587c1df18f584ff78f51a68a94 before 643db430f4cbd91dd2b63c49d62d0abb6debc13b; from 25dcb5dd7b7ce5587c1df18f584ff78f51a68a94 before fd447415e74bccd7362f760d4ea727f8e1ebfe91; 5.6 (not affected: before 5.6; 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.6 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/ec1ea394c40523835bbedd8fc4934b77b461b6fe> (patch)
- <https://git.kernel.org/stable/c/9f133e04c62246353b8b1f0a679535c65161ebcf> (patch)
- <https://git.kernel.org/stable/c/d61d5ba5bd5b0e39e30b34dcd92946e084bca0d0> (patch)
- <https://git.kernel.org/stable/c/b79e10050d9d1e200541d25751dd5cb8ec58483c> (patch)
- <https://git.kernel.org/stable/c/bc6ddff79835f71310a21645d8fcf08ec473e969> (patch)
- <https://git.kernel.org/stable/c/643db430f4cbd91dd2b63c49d62d0abb6debc13b> (patch)
- <https://git.kernel.org/stable/c/fd447415e74bccd7362f760d4ea727f8e1ebfe91> (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-38138](https://www.cve.org/CVERecord?id=CVE-2025-38138), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-38138](https://nvd.nist.gov/vuln/detail/CVE-2025-38138), Public domain, modified 2026-06-17

---

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