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.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50512.json"
}