CVE-2022-50622Published Dec 8, 2025 · Dec 8Updated 6d ago
ext4: fix potential memory leak in ext4_fc_record_modified_inode()
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The ext4 function ext4_fc_record_modified_inode() can leak memory if krealloc returns NULL. The input does not establish how an attacker could trigger this or specify network access, authentication, or user-interaction requirements.
Engineers running the Linux kernel should check their versions; affected versions are not specified.