CVE-2022-50622

Source
https://cve.org/CVERecord?id=CVE-2022-50622
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50622.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50622
Downstream
Related
Published
2025-12-08T01:16:35.924Z
Modified
2026-03-20T11:47:32.470345Z
Summary
ext4: fix potential memory leak in ext4_fc_record_modified_inode()
Details

In the Linux kernel, the following vulnerability has been resolved:

ext4: fix potential memory leak in ext4fcrecordmodifiedinode()

As krealloc may return NULL, in this case 'state->fcmodifiedinodes' may not be freed by krealloc, but 'state->fcmodifiedinodes' already set NULL. Then will lead to 'state->fcmodifiedinodes' memory leak.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50622.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2
Fixed
c9ce7766dc4e88e624c62a68221a3bbe8f06e856
Fixed
9b5eb368a86f97eb9831f5b53b8e43ec69bc7cd4
Fixed
c0be17635f039f864b1108efec0015c73736e414
Fixed
24d39affc6be1acf6df86a8c3e2413b8a73749c7
Fixed
9305721a309fa1bd7c194e0d4a2335bf3b29dca4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50622.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.10.0
Fixed
5.10.150
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.75
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.19.17
Type
ECOSYSTEM
Events
Introduced
5.20.0
Fixed
6.0.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50622.json"