In the Linux kernel, the following vulnerability has been resolved:
net: ti: icssgprueth: Fix NULL pointer dereference in pruethprobe()
In the pruethprobe() function, if one of the calls to emacphyconnect() fails due to ofphyconnect() returning NULL, then the subsequent call to phyattached_info() will dereference a NULL pointer.
Check the return code of emacphyconnect and fail cleanly if there is an error.