CVE-2022-50622

published 8 Dec 2025 · updated 13 Nov 2026

ext4: fix potential memory leak in ext4_fc_record_modified_inode()

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 c9ce7766dc4e88e624c62a68221a3bbe8f06e856, Kernel 24d39affc6be1acf6df86a8c3e2413b8a73749c7, Kernel 9305721a309fa1bd7c194e0d4a2335bf3b29dca4 and 6 more.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 <c9ce7766dc4e88e624c62a68221a3bbe8f06e856, >=8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 <24d39affc6be1acf6df86a8c3e2413b8a73749c7, >=8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 <9305721a309fa1bd7c194e0d4a2335bf3b29dca4, >=8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 <9b5eb368a86f97eb9831f5b53b8e43ec69bc7cd4, >=8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 <c0be17635f039f864b1108efec0015c73736e414, =5.10c9ce7766dc4e88e624c62a68221a3bbe8f06e856, 24d39affc6be1acf6df86a8c3e2413b8a73749c7, 9305721a309fa1bd7c194e0d4a2335bf3b29dca4, 9b5eb368a86f97eb9831f5b53b8e43ec69bc7cd4, c0be17635f039f864b1108efec0015c73736e414
linux-kernel: Kernel>=5.11.0 <5.15.75, >=5.16.0 <5.19.17, >=5.20.0 <6.0.3, >=5.10.0 <5.10.1505.15.75, 5.19.17, 6.0.3, 5.10.150

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-50622 severity on Zeptric[![CVE-2022-50622](https://zeptric.io/badge/cve/CVE-2022-50622.svg)](https://zeptric.io/cve/CVE-2022-50622)