CVE-2022-50020

ext4: avoid resizing to a partial cluster size

State
Published
Severity
Not scored
Published
Jun 18, 2025
Updated
May 11, 2026
Reserved
Jun 18, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d77147ff443b255d82c907a632c825b2cc610b10 to before 7bdfb01fc5f6b3696728aeb527c50386e0ee09a1Affected
  • d77147ff443b255d82c907a632c825b2cc610b10 to before a6805b3dcf5cd41f2ae3a03dca43411135b99849Affected
  • d77147ff443b255d82c907a632c825b2cc610b10 to before 80288883294c5b4ed18bae0d8bd9c4a12f297074Affected
  • d77147ff443b255d82c907a632c825b2cc610b10 to before 72b850a2a996f72541172e7cf686d54a2b29bcd8Affected
  • d77147ff443b255d82c907a632c825b2cc610b10 to before 0082e99a9074ff88eff729c70c93454c8588d8e1Affected
  • d77147ff443b255d82c907a632c825b2cc610b10 to before 69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bdAffected
LinuxLinux
  • 4.15Affected
  • before 4.15Not affected
  • 4.19.256 through 4.19.*Not affected
  • 5.4.211 through 5.4.*Not affected
  • 5.10.138 through 5.10.*Not affected
  • 5.15.63 through 5.15.*Not affected
  • 5.19.4 through 5.19.*Not affected
  • 6.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.