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