CVE-2022-50622
JSON

Not scored

ext4: fix potential memory leak in ext4_fc_record_modified_inode()

Severity
Not scored
Exploit likelihood
0.28% (higher than 13% of CVEs)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ext4: corrección de una posible fuga de memoria en ext4_fc_record_modified_inode() Dado que krealloc puede devolver NULL, en este caso ’state -> fc_modified_inodes’ puede no ser liberado por krealloc, pero ’state -> fc_modified_inodes’ ya se estableció en NULL. Esto conducirá a una fuga de memoria de ’state -> fc_modified_inodes’.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-50622 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-50622 changed 2026-11-11Public domain