On Wed, 16 Oct 2024 06:32:07 +0900, Ryusuke Konishi wrote: > Syzbot reported that after nilfs2 reads a corrupted file system image > and degrades to read-only, the BUG_ON check for the buffer delay flag > in submit_bh_wbc() may fail, causing a kernel bug. > > This is because the buffer delay flag is not cleared when clearing the > buffer state flags to discard a page/folio or a buffer head. So, fix > this. > > [...] Applied to the vfs.fixes branch of the vfs/vfs.git tree. Patches in the vfs.fixes branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.fixes [1/1] nilfs2: fix kernel bug due to missing clearing of buffer delay flag https://git.kernel.org/vfs/vfs/c/6ed469df0bfb