CVE-2022-50512

published 7 Oct 2025 · updated 11 May 2026

ext4: fix potential memory leak in ext4_fc_record_regions()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2cfb769d60a2a57eb3566765428b6131cd16dcfe, Kernel 417b0455a0b6d0f60a2930592731d1f8340e24be, Kernel 518566e71ad86b7c2f1bf6d9caee9588bb7ac158 and 2 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.10, >=8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 <2cfb769d60a2a57eb3566765428b6131cd16dcfe, >=8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 <417b0455a0b6d0f60a2930592731d1f8340e24be, >=8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 <518566e71ad86b7c2f1bf6d9caee9588bb7ac158, >=8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 <7069d105c1f15c442b68af43f7fde784f3126739, >=8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 <a4058b869e6c5e517c79e30532a350d0f3115c3e2cfb769d60a2a57eb3566765428b6131cd16dcfe, 417b0455a0b6d0f60a2930592731d1f8340e24be, 518566e71ad86b7c2f1bf6d9caee9588bb7ac158, 7069d105c1f15c442b68af43f7fde784f3126739, a4058b869e6c5e517c79e30532a350d0f3115c3e

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50512 severity on Zeptric[![CVE-2022-50512](https://zeptric.io/badge/cve/CVE-2022-50512.svg)](https://zeptric.io/cve/CVE-2022-50512)