Re: [syzbot] [btrfs?] kernel BUG in btrfs_ioctl_add_dev

From: David Sterba
Date: Tue Jun 06 2023 - 10:10:21 EST


On Tue, Jun 06, 2023 at 02:55:38AM -0700, syzbot wrote:
> syzbot suspects this issue was fixed by commit:
>
> commit ac868bc9d136cde6e3eb5de77019a63d57a540ff
> Author: xiaoshoukui <xiaoshoukui@xxxxxxxxx>
> Date: Thu Apr 13 09:55:07 2023 +0000
>
> btrfs: fix assertion of exclop condition when starting balance
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=12bdc3a3280000
> start commit: 04a357b1f6f0 Merge tag 'mips_6.3_1' of git://git.kernel.or..
> git tree: upstream
> kernel config: https://syzkaller.appspot.com/x/.config?x=f763d89e26d3d4c4
> dashboard link: https://syzkaller.appspot.com/bug?extid=afdee14f9fd3d20448e7
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11f043b0c80000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15d2ea9cc80000
>
> If the result looks correct, please mark the issue as fixed by replying with:

#syz fix: btrfs: fix assertion of exclop condition when starting balance