Re: [syzbot] [btrfs?] possible deadlock in btrfs_search_slot

From: syzbot
Date: Tue Aug 01 2023 - 12:08:42 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=13015709a80000
start commit: eb7081409f94 Linux 6.1-rc6
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=8d01b6e3197974dd
dashboard link: https://syzkaller.appspot.com/bug?extid=c06034aecf9f5eab1ac1
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=124fc309880000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=126dfde5880000

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