CVE-2022-50020

ext4: avoid resizing to a partial cluster size

No CVSS score yet EPSS 0.22%

Published 18 Jun 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2022-50020

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-50020 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.

Check my servers

Description

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

ext4: avoid resizing to a partial cluster size

This patch avoids an attempt to resize the filesystem to an unaligned cluster boundary. An online resize to a size that is not integral to cluster size results in the last iteration attempting to grow the fs by a negative amount, which trips a BUG_ON and leaves the fs with a corrupted in-memory superblock.

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 13.3% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from d77147ff443b255d82c907a632c825b2cc610b10, before 7bdfb01fc5f6b3696728aeb527c50386e0ee09a1
affected from d77147ff443b255d82c907a632c825b2cc610b10, before a6805b3dcf5cd41f2ae3a03dca43411135b99849
affected from d77147ff443b255d82c907a632c825b2cc610b10, before 80288883294c5b4ed18bae0d8bd9c4a12f297074
affected from d77147ff443b255d82c907a632c825b2cc610b10, before 72b850a2a996f72541172e7cf686d54a2b29bcd8
affected from d77147ff443b255d82c907a632c825b2cc610b10, before 0082e99a9074ff88eff729c70c93454c8588d8e1
affected from d77147ff443b255d82c907a632c825b2cc610b10, before 69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd
Other versions: unaffected
Linux
affected 4.15
unaffected before 4.15
unaffected from 4.19.256 up to and including 4.19.*
unaffected from 5.4.211 up to and including 5.4.*
unaffected from 5.10.138 up to and including 5.10.*
unaffected from 5.15.63 up to and including 5.15.*
unaffected from 5.19.4 up to and including 5.19.*
unaffected 6.0 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-50020 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50020

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-50020
trivy image --scanners vuln IMAGE | grep CVE-2022-50020

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

Source: the record CVE-2022-50020 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.