All reports
Low

kernel: ext4: fix potential memory leak in ext4_fc_record_regions()

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-50512

Probability of exploitation in the next 30 days: 0.16%

FIRST EPSS · 2026-11-18

Description

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