Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-50020

ext4: avoid resizing to a partial cluster size

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • d77147ff443b255d82c907a632c825b2cc610b10 to < 7bdfb01fc5f6b3696728aeb527c50386e0ee09a1affected
  • d77147ff443b255d82c907a632c825b2cc610b10 to < a6805b3dcf5cd41f2ae3a03dca43411135b99849affected
  • d77147ff443b255d82c907a632c825b2cc610b10 to < 80288883294c5b4ed18bae0d8bd9c4a12f297074affected
  • d77147ff443b255d82c907a632c825b2cc610b10 to < 72b850a2a996f72541172e7cf686d54a2b29bcd8affected
  • d77147ff443b255d82c907a632c825b2cc610b10 to < 0082e99a9074ff88eff729c70c93454c8588d8e1affected
  • d77147ff443b255d82c907a632c825b2cc610b10 to < 69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bdaffected

Linux Linux

Default version status: affected

  • 4.15affected
  • 0 to < 4.15unaffected
  • 4.19.256 to ≤ 4.19.*unaffected
  • 5.4.211 to ≤ 5.4.*unaffected
  • 5.10.138 to ≤ 5.10.*unaffected
  • 5.15.63 to ≤ 5.15.*unaffected
  • 5.19.4 to ≤ 5.19.*unaffected
  • 6.0 to ≤ *unaffected

References