[PATCH 5.0 110/346] rsi: Fix NULL pointer dereference in kmalloc