Re: [syzbot] possible deadlock in btrfs_dirty_inode

From: syzbot
Date: Sun Jan 29 2023 - 10:26:24 EST


syzbot suspects this issue was fixed by commit:

commit b740d806166979488e798e41743aaec051f2443f
Author: Josef Bacik <josef@xxxxxxxxxxxxxx>
Date: Mon Nov 7 16:44:51 2022 +0000

btrfs: free btrfs_path before copying root refs to userspace

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=10cf123e480000
start commit: 77c51ba552a1 Merge tag 'scsi-fixes' of git://git.kernel.or..
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=6f9416d398342c83
dashboard link: https://syzkaller.appspot.com/bug?extid=37edf86c9b60581e523f
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=148fcd31880000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=167bfb31880000

If the result looks correct, please mark the issue as fixed by replying with:

#syz fix: btrfs: free btrfs_path before copying root refs to userspace

For information about bisection process see: https://goo.gl/tpsmEJ#bisection