ext4: avoid resizing to a partial cluster size
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d77147ff443b255d82c907a632c825b2cc610b10 · < 69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s ext4 filesystem is vulnerable when an online resize targets a size that is not a multiple of the cluster size. Someone able to trigger that resize can trip a BUG_ON and leave the filesystem with a corrupted in-memory superblock. The input does not specify whether this requires authentication or other user interaction.
Anyone running Linux with ext4 should check their kernel; affected versions are not specified.