In the Linux kernel, the following vulnerability has been resolved:
staging: vchiq_arm: Fix possible NPR of keep-alive thread
In case vchiqplatformconnstatechanged() is never called or fails before driver removal, kathread won't be a valid pointer to a taskstruct. So do the necessary checks before calling kthread_stop to avoid a crash.