In the Linux kernel, the following vulnerability has been resolved: f2fs: initialize locks earlier in f2fs_fill_super() syzbot is reporting lockdep warning at f2fs_handle_error() [1], for spin_lock(&sbi->error_lock) is called before spin_lock_init() is called. For safe locking in error handling, move initialization of locks (and obvious structures) in f2fs_fill_super() to immediately after memory allocation.
Product | Vendor | Version |
---|---|---|
Linux | Linux | n/a |
Linux | Linux | < 2021 |
Linux | Linux | 19.10.17 |
Linux | Linux | < 11.0.1 |