CVE-2022-50622

ext4: fix potential memory leak in ext4_fc_record_modified_inode()

N/A
Published: December 8, 2025 at 01:16 AM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.10 ≤ v < 5.10.1505.10 ≤ v < 5.15.755.10 ≤ v < 5.19.175.10 ≤ v < 6.0.35.10 ≤ v < 6.15.108016e29f4362e285f0f7e38fadc61a5b7bdfdfa2
Vendor states this is fixed in 24d39affc6be1acf6df86a8c3e2413b8a73749c7 (fixed)
Vendor states this is fixed in 9305721a309fa1bd7c194e0d4a2335bf3b29dca4 (fixed)
Vendor states this is fixed in 9b5eb368a86f97eb9831f5b53b8e43ec69bc7cd4 (fixed)
Vendor states this is fixed in c0be17635f039f864b1108efec0015c73736e414 (fixed)
Vendor states this is fixed in c9ce7766dc4e88e624c62a68221a3bbe8f06e856 (fixed)
Vendor states this is fixed in 5.10 (unaffected)
Vendor states this is fixed in 5.10.150 (unaffected)
Vendor states this is fixed in 5.15.75 (unaffected)
Vendor states this is fixed in 5.19.17 (unaffected)
Vendor states this is fixed in 6.0.3 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card