In the Linux kernel, the following vulnerability has been resolved:
bus: fsl-mc: Check return value of platformgetresource()
platformgetresource() returns NULL in case of failure, so check its return value and propagate the error in order to prevent NULL pointer dereference.