dmaengine: ti: Add NULL check in udma_probe()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 25dcb5dd7b7ce5587c1df18f584ff78f51a68a94 · < 643db430f4cbd91dd2b63c49d62d0abb6debc13b| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's TI DMA engine udma_probe() function can dereference a NULL pointer if devm_kasprintf() fails to allocate memory. The input does not establish whether an attacker can trigger the failure or specify network access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the TI DMA engine should check their versions; affected versions were not provided.