There is a problem in multiple stable kernel releases that is causing data corruption in ext4 filesystems. It is caused by a problematic commit that is in multiple stable kernels: The commit got merged in 6.5-rc1 so all stable kernels that have 91562895f803 ("ext4: properly sync file size update after O_SYNC direct IO") before 6.5 are corrupting data - I've noticed at least 6.1 is still carrying the problematic commit. More information can be found in a Debian bug report. It has also delayed the release of Debian 12.3 images. ""Please do not upgrade any systems at this time, we urge caution for users with UnattendeUpgrades configured."" https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057843 https://lore.kernel.org/stable/20231205122122.dfhhoaswsfscuhc3@quack3/
It's probably useful to have a bug for discussion but FWIW, we're all done here, I think. Fixed kernels are stabled, bad ones have been cleaned up, and we've masked the affected ones too.
commit 866d1ca2c40dc6725f81bea276fbc451dd5ac4da Author: Sam James <sam@gentoo.org> Date: Sat Dec 9 22:10:49 2023 +0000 profiles: fixup ext4 mask dwfreed pointed out that the 5.10/5.15 bits got caught before release. Also, fix a typo in the other versions. Fixes: 512caa31a15438aae68016ff721df42899a7cb2b Signed-off-by: Sam James <sam@gentoo.org> commit 512caa31a15438aae68016ff721df42899a7cb2b Author: Sam James <sam@gentoo.org> Date: Sat Dec 9 22:03:46 2023 +0000 profiles: mask kernels affected by ext4 corruption bug See https://lore.kernel.org/stable/20231205122122.dfhhoaswsfscuhc3@quack3/. Signed-off-by: Sam James <sam@gentoo.org>
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0277472824e0c09b82e3f8f2ca4c3d0dd12cf0c commit c0277472824e0c09b82e3f8f2ca4c3d0dd12cf0c Author: Sam James <sam@gentoo.org> AuthorDate: 2023-12-10 09:55:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-10 09:55:40 +0000 profiles: add bug ref to mask (Bug didn't exist at the time.) Bug: https://bugs.gentoo.org/919675 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks, glad we're safe!