CVE-2022-50512Missing 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
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

NVDlinux/linux_kernel5.105.10.150+3
Debianlinux/linux_kernel< 5.10.158-1+3
CVEListV5linux/linux8016e29f4362e285f0f7e38fadc61a5b7bdfdfa22cfb769d60a2a57eb3566765428b6131cd16dcfe+5
debiandebian/linux< linux 6.0.3-1 (bookworm)

Patches

🔴Vulnerability Details

3
VulDB
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 return2025-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 retu2025-10-07

📋Vendor Advisories

2
Red Hat
kernel: ext4: fix potential memory leak in ext4_fc_record_regions()2025-10-07
Debian
CVE-2022-50512: linux - In the Linux kernel, the following vulnerability has been resolved: ext4: fix p...2022