In the Linux kernel, the following vulnerability has been resolved: ext4: fix potential memory leak in ext4fcrecordmodifiedinode() As krealloc may return NULL, in this case 'state->fcmodifiedinodes' may not be freed by krealloc, but 'state->fcmodifiedinodes' already set NULL. Then will lead to 'state->fcmodifiedinodes' memory leak.