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