CVE-2024-26771: dmaengine: ti: edma: Add some null pointer checks to the edma_probe

Description

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.

Classification

CVE ID: CVE-2024-26771

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 5.08% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://git.kernel.org/stable/c/c432094aa7c9970f2fa10d2305d550d3810657ce
https://git.kernel.org/stable/c/4fe4e5adc7d29d214c59b59f61db73dec505ca3d
https://git.kernel.org/stable/c/9d508c897153ae8dd79303f7f035f078139f6b49
https://git.kernel.org/stable/c/7b24760f3a3c7ae1a176d343136b6c25174b7b27
https://git.kernel.org/stable/c/f2a5e30d1e9a629de6179fa23923a318d5feb29e
https://git.kernel.org/stable/c/6e2276203ac9ff10fc76917ec9813c660f627369

Timeline