« List of all CVEs

CVE-2022-50020

ext4: avoid resizing to a partial cluster size

Published: 6/18/2025 Last updated: 12/23/2025 Reserved: 6/18/2025

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.

CNA assigner: Linux (416baaa9-dc9f-4396-8d5f-8c081fb06d67) Requested by: n/a

Opam packages affected (28)

albatross cdrom conf-bpftool conf-libbpf conf-linux-libc-dev core core_unix hvsock mirage-block-unix mm ocaml-probes orun rawlink rawlink-eio rawlink-lwt restricted shell solo5 solo5-bindings-hvt solo5-bindings-spt solo5-cross-aarch64 solo5-kernel-ukvm tracy-client tuntap uring vhd-format vhd-format-lwt xapi-stdext-unix

Products affected (4)

Product Vendor Version
Linux Linux < feabdac2057e863d0e140a2adf3d232eb4882db4
Linux Linux < b183b915beef818a25e3154d719ca015a1ae0770
Linux Linux 10 for 32-bit Systems
Linux Linux < 10.0.17763.2803

References (12)