On 01/12, Eric Biggers wrote: > On Fri, Jan 12, 2024 at 05:28:31PM -0800, Jaegeuk Kim wrote: > > On 01/12, Eric Biggers wrote: > > > On Fri, Jan 12, 2024 at 04:57:47PM -0800, Eric Biggers wrote: > > > > From: Eric Biggers <ebiggers@xxxxxxxxxx> > > > > > > > > kill_f2fs_super() is called even if f2fs_fill_super() fails. > > > > f2fs_fill_super() frees the struct f2fs_sb_info, so it must set > > > > sb->s_fs_info to NULL to prevent it from being freed again. > > > > > > > > Fixes: 275dca4630c1 ("f2fs: move release of block devices to after kill_block_super()") > > > > Reported-by: syzbot+8f477ac014ff5b32d81f@xxxxxxxxxxxxxxxxxxxxxxxxx > > > > Closes: https://lore.kernel.org/r/0000000000006cb174060ec34502@xxxxxxxxxx > > > > Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx> > > > > > > Jaegeuk, I'd be glad to take this through the fscrypt tree since that's where my > > > > Ok, are you heading to push this in -rc1? > > > > > broken commit came from. But let me know if you want to just take this through > > > the f2fs tree. > > > > > Yes, we should get this into -rc1. Ok, please do so. > > - Eric