[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1025314: linux: ext4 checksum errors after resizing



Package: linux-image-6.0.0-0.deb11.2-cloud-amd64
Version: 6.0.3-1~bpo11+1

The bullseye-backports 6.0.3 kernel contains an ext4 bug that causes
the filesystem to become corrupted after resizing the filesystem. See
https://www.spinics.net/lists/linux-ext4/msg85795.html for details and
a reproducer.

This is particularly problematic on systems that resize the root
filesystem during boot using systemd-growfs or similar. ext4 remounts
the filesystem read only after the checksum fails and the system
becomes unbootable. This happens on the EC2 cloud images, for example.

The fix at https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/fs/ext4?h=linux-6.0.y&id=2f8d9b94176d48d733a461e13bb4f6589653ba05
is in 6.0.8. Some further fixes are identified at
https://www.spinics.net/lists/linux-ext4/msg86163.html but those
haven't been merged yet. I haven't tested either, but I presume the
fix already on 6.0.8 is enough and the remaining fixes are more for
correctness.

--
Dan Nicholson  |  Endless OS Foundation


Reply to: