[PATCH openEuler-5.10-LTS 004/168] lkdtm/bugs: Check for the NULL pointer after calling kmalloc