CVE-2022-50622

ext4: fix potential memory leak in ext4_fc_record_modified_inode()

State
Published
Severity
Not scored
Published
Dec 8, 2025
Updated
May 11, 2026
Reserved
Dec 8, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 to before c9ce7766dc4e88e624c62a68221a3bbe8f06e856Affected
  • 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 to before 9b5eb368a86f97eb9831f5b53b8e43ec69bc7cd4Affected
  • 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 to before c0be17635f039f864b1108efec0015c73736e414Affected
  • 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 to before 24d39affc6be1acf6df86a8c3e2413b8a73749c7Affected
  • 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 to before 9305721a309fa1bd7c194e0d4a2335bf3b29dca4Affected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 5.10.150 through 5.10.*Not affected
  • 5.15.75 through 5.15.*Not affected
  • 5.19.17 through 5.19.*Not affected
  • 6.0.3 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.