[PATCH OLK-5.10 v4 08/19] sched: fix dereference NULL pointers