CVE-2022-50512 Details
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.
A memory leak vulnerability has been identified in the Linux kernel's ext4 file system, specifically within the fast commit feature. The issue arises in the 'ext4_fc_record_regions' function, where the 'krealloc' function may return NULL. If this occurs, the 'fc_regions' pointer is not properly freed, leading to a memory leak. This vulnerability affects several versions of the Linux kernel.
Users can upgrade to the latest stable version of the Linux kernel, where this vulnerability has been addressed. Instructions for downloading the latest kernel version can be found on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2cfb769d60a2a57eb3566765428b6131cd16dcfe | kernel.org | Patch |
| https://git.kernel.org/stable/c/417b0455a0b6d0f60a2930592731d1f8340e24be | kernel.org | Patch |
| https://git.kernel.org/stable/c/518566e71ad86b7c2f1bf6d9caee9588bb7ac158 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7069d105c1f15c442b68af43f7fde784f3126739 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a4058b869e6c5e517c79e30532a350d0f3115c3e | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.10, < 5.10.150 >= 5.11, < 5.15.75 >= 5.16, < 5.19.17 >= 6.0, < 6.0.3 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Mar 17, 2026 | Modified Analysis | [email protected] |
| Feb 5, 2026 | Initial Analysis | [email protected] |
| Oct 7, 2025 | New CVE Received | kernel.org |