# CVE-2022-50020: ext4: avoid resizing to a partial cluster size

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-06-18T11:01:24.227Z
- Modified: 2026-11-05T20:17:20.763Z
- Weaknesses: CWE-1284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from d77147ff443b255d82c907a632c825b2cc610b10 before 7bdfb01fc5f6b3696728aeb527c50386e0ee09a1; from d77147ff443b255d82c907a632c825b2cc610b10 before a6805b3dcf5cd41f2ae3a03dca43411135b99849; from d77147ff443b255d82c907a632c825b2cc610b10 before 80288883294c5b4ed18bae0d8bd9c4a12f297074; from d77147ff443b255d82c907a632c825b2cc610b10 before 72b850a2a996f72541172e7cf686d54a2b29bcd8; from d77147ff443b255d82c907a632c825b2cc610b10 before 0082e99a9074ff88eff729c70c93454c8588d8e1; from d77147ff443b255d82c907a632c825b2cc610b10 before 69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd; 4.15 (not affected: before 4.15; from 4.19.256 up to 4.19.*; from 5.4.211 up to 5.4.*; from 5.10.138 up to 5.10.*; from 5.15.63 up to 5.15.*; from 5.19.4 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: before 4.9.326; from 4.10 before 4.14.291; from 4.15 before 4.19.256; from 4.20 before 5.4.211; from 5.5 before 5.10.138; from 5.11 before 5.15.63; from 5.16 before 5.19.4

## References

- <https://git.kernel.org/stable/c/7bdfb01fc5f6b3696728aeb527c50386e0ee09a1> (patch)
- <https://git.kernel.org/stable/c/a6805b3dcf5cd41f2ae3a03dca43411135b99849> (patch)
- <https://git.kernel.org/stable/c/80288883294c5b4ed18bae0d8bd9c4a12f297074> (patch)
- <https://git.kernel.org/stable/c/72b850a2a996f72541172e7cf686d54a2b29bcd8> (patch)
- <https://git.kernel.org/stable/c/0082e99a9074ff88eff729c70c93454c8588d8e1> (patch)
- <https://git.kernel.org/stable/c/69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd> (patch)

## Sources

- CVE List: [CVE-2022-50020](https://www.cve.org/CVERecord?id=CVE-2022-50020), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2022-50020](https://nvd.nist.gov/vuln/detail/CVE-2022-50020), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2022-50020 · Whole record: https://cve.day/CVE-2022-50020.json · Rebuilt by cve.day 2026-11-25T22:58:21.014Z
