CVE-2022-50622
ext4: fix potential memory leak in ext4_fc_record_modified_inode()
Check your servers for CVE-2022-50622
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50622 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.7% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2, before c9ce7766dc4e88e624c62a68221a3bbe8f06e856 affected from 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2, before 9b5eb368a86f97eb9831f5b53b8e43ec69bc7cd4 affected from 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2, before c0be17635f039f864b1108efec0015c73736e414 affected from 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2, before 24d39affc6be1acf6df86a8c3e2413b8a73749c7 affected from 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2, before 9305721a309fa1bd7c194e0d4a2335bf3b29dca4
Other versions: unaffected
|
| Linux |
affected 5.10 unaffected before 5.10 unaffected from 5.10.150 up to and including 5.10.* unaffected from 5.15.75 up to and including 5.15.* unaffected from 5.19.17 up to and including 5.19.* unaffected from 6.0.3 up to and including 6.0.* unaffected 6.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50622 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50622
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50622
trivy image --scanners vuln IMAGE | grep CVE-2022-50622
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/c9ce7766dc4e88e624c62a68221a3bbe8f06e856 git.kernel.org
- https://git.kernel.org/stable/c/9b5eb368a86f97eb9831f5b53b8e43ec69bc7cd4 git.kernel.org
- https://git.kernel.org/stable/c/c0be17635f039f864b1108efec0015c73736e414 git.kernel.org
- https://git.kernel.org/stable/c/24d39affc6be1acf6df86a8c3e2413b8a73749c7 git.kernel.org
- https://git.kernel.org/stable/c/9305721a309fa1bd7c194e0d4a2335bf3b29dca4 git.kernel.org
Source: the record CVE-2022-50622 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse