dmaengine: ti: edma: Add some null pointer checks to the edma_probe
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d4cb7f404247173e2c760a01bf06fd1016a8b0d4 · < 6e2276203ac9ff10fc76917ec9813c660f627369| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: ti: edma: Add some null pointer checks to the edma_probe
devm_kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Ensure the allocation was successful by checking the pointer validity.
From the CVE record · Linux
The Linux kernel’s TI EDMA probe did not check whether devm_kasprintf() returned NULL after an allocation failure. This could lead to a null pointer dereference; the input does not specify whether an attacker can trigger it or what access or interaction would be required.
Engineers running Linux kernels that include the TI EDMA driver should check their versions against the vendor advisory; affected versions were not provided.