← CVE Intelligence

CVE-2022-50020

ext4: avoid resizing to a partial cluster size PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected d77147ff443b255d82c907a632c825b2cc610b10 before 7bdfb01fc5f6b3696728aeb527c50386e0ee09a1; affected d77147ff443b255d82c907a632c825b2cc610b10 before a6805b3dcf5cd41f2ae3a03dca43411135b99849; affected d77147ff443b255d82c907a632c825b2cc610b10 before 80288883294c5b4ed18bae0d8bd9c4a12f297074; affected d77147ff443b255d82c907a632c825b2cc610b10 before 72b850a2a996f72541172e7cf686d54a2b29bcd8; affected d77147ff443b255d82c907a632c825b2cc610b10 before 0082e99a9074ff88eff729c70c93454c8588d8e1; affected d77147ff443b255d82c907a632c825b2cc610b10 before 69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd
Linux / Linuxaffected 4.15; unaffected 0 before 4.15; unaffected 4.19.256 through 4.19.*; unaffected 5.4.211 through 5.4.*; unaffected 5.10.138 through 5.10.*; unaffected 5.15.63 through 5.15.*; unaffected 5.19.4 through 5.19.*; unaffected 6.0 through *

CWE

No CWE identifiers supplied.

References