# CVE-2022-50622: ext4: fix potential memory leak in ext4_fc_record_modified_inode()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 13% of CVEs (2026-11-30)
- Published: 2025-12-08T01:16:35.924Z
- Modified: 2026-11-11T23:10:00.263Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 before c9ce7766dc4e88e624c62a68221a3bbe8f06e856; from 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 before 9b5eb368a86f97eb9831f5b53b8e43ec69bc7cd4; from 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 before c0be17635f039f864b1108efec0015c73736e414; from 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 before 24d39affc6be1acf6df86a8c3e2413b8a73749c7; from 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 before 9305721a309fa1bd7c194e0d4a2335bf3b29dca4; 5.10 (not affected: before 5.10; from 5.10.150 up to 5.10.*; from 5.15.75 up to 5.15.*; from 5.19.17 up to 5.19.*; from 6.0.3 up to 6.0.*; from 6.1 up to *)

## References

- <https://git.kernel.org/stable/c/c9ce7766dc4e88e624c62a68221a3bbe8f06e856>
- <https://git.kernel.org/stable/c/9b5eb368a86f97eb9831f5b53b8e43ec69bc7cd4>
- <https://git.kernel.org/stable/c/c0be17635f039f864b1108efec0015c73736e414>
- <https://git.kernel.org/stable/c/24d39affc6be1acf6df86a8c3e2413b8a73749c7>
- <https://git.kernel.org/stable/c/9305721a309fa1bd7c194e0d4a2335bf3b29dca4>

## Sources

- CVE List: [CVE-2022-50622](https://www.cve.org/CVERecord?id=CVE-2022-50622), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50622](https://nvd.nist.gov/vuln/detail/CVE-2022-50622), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2022-50622 · Whole record: https://cve.day/CVE-2022-50622.json · Rebuilt by cve.day 2026-11-25T22:58:21.291Z
