In the Linux kernel, the following vulnerability has been resolved:
f2fs: initialize locks earlier in f2fsfillsuper()
syzbot is reporting lockdep warning at f2fshandleerror() [1], for spinlock(&sbi->errorlock) is called before spinlockinit() is called. For safe locking in error handling, move initialization of locks (and obvious structures) in f2fsfillsuper() to immediately after memory allocation.