[PATCH 5.18 007/339] lkdtm/bugs: Check for the NULL pointer after calling kmalloc