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