5.5medium
ext4: avoid resizing to a partial cluster size
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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.* | CVE List |
| 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 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ext4: evitar redimensionar a un tamaño de clúster parcial. Este parche evita que se intente redimensionar el sistema de archivos a un límite de clúster no alineado. Un redimensionamiento en línea a un tamaño que no es integral al tamaño del clúster provoca que la última iteración intente aumentar el sistema de archivos en una cantidad negativa, lo que activa un BUG_ON y deja el sistema de archivos con un superbloque en memoria dañado.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-50020 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2022-50020 changed 2026-11-05 | Public domain |