[PATCH OLK-5.10 v7 08/20] sched: fix dereference NULL pointers