In the Linux kernel, the following vulnerability has been resolved:
soc: ti: tiscipmdomains: Check for null return of devmkcalloc
The allocation funciton devmkcalloc may fail and return a null pointer, which would cause a null-pointer dereference later. It might be better to check it and directly return -ENOMEM just like the usage of devmkcalloc in previous code.