5.5medium
dmaengine: ti: Add NULL check in udma_probe()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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.* | CVE List |
| 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 | NVD |
| debian debian_linux | 11.0 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: dmaengine: ti: Añadir comprobación de valores NULL en udma_probe(). Devm_kasprintf() devuelve NULL cuando falla la asignación de memoria. Actualmente, udma_probe() no comprueba este caso, lo que provoca una desreferencia de puntero NULL. Añadir comprobación de valores NULL después de devm_kasprintf() para evitar este problema.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-38138 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-38138 changed 2026-06-17 | Public domain |