[PATCH 5.1 123/405] rsi: Fix NULL pointer dereference in kmalloc