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