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