+7
−9
+7
−0
+10
−0
Loading
write_special_inodes() function iterate through the log->sb_list and access the sbi fields, which can be set to NULL concurrently by umount. Fix concurrency issue by holding LOG_LOCK and checking for NULL. Reported-by:<syzbot+e14b1036481911ae4d77@syzkaller.appspotmail.com> Closes: https://syzkaller.appspot.com/bug?extid=e14b1036481911ae4d77 Signed-off-by:
Helen Koike <koike@igalia.com> Signed-off-by:
Dave Kleikamp <dave.kleikamp@oracle.com>