CVE-2022-50512 — Missing Release of Memory after Effective Lifetime in Linux
Severity
5.5MEDIUMNVD
EPSS
0.0%
top 97.14%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedOct 7
Latest updateApr 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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6
Affected Packages4 packages
▶CVEListV5linux/linux8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 — 2cfb769d60a2a57eb3566765428b6131cd16dcfe+5
Patches
🔴Vulnerability Details
3VulDB▶
Linux Kernel up to 5.10.149/5.15.74/5.19.16/6.0.2 ext4_fc_record_regions memory leak (WID-SEC-2025-2229)↗2026-04-18
OSV▶
CVE-2022-50512: In the Linux kernel, the following vulnerability has been resolved: ext4: fix potential memory leak in ext4_fc_record_regions() As krealloc may return↗2025-10-07
GHSA▶
GHSA-6f74-35r6-2p5x: In the Linux kernel, the following vulnerability has been resolved:
ext4: fix potential memory leak in ext4_fc_record_regions()
As krealloc may retu↗2025-10-07