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

From: syzbot
Date: Wed Aug 02 2023 - 10:35:39 EST


syzbot has bisected this issue to:

commit b19c98f237cd76981aaded52c258ce93f7daa8cb
Author: Josef Bacik <josef@xxxxxxxxxxxxxx>
Date: Fri Jun 23 05:05:41 2023 +0000

btrfs: fix race between balance and cancel/pause

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=12223eb9a80000
start commit: 5d0c230f1de8 Linux 6.5-rc4
git tree: upstream
final oops: https://syzkaller.appspot.com/x/report.txt?x=11223eb9a80000
console output: https://syzkaller.appspot.com/x/log.txt?x=16223eb9a80000
kernel config: https://syzkaller.appspot.com/x/.config?x=1e3d5175079af5a4
dashboard link: https://syzkaller.appspot.com/bug?extid=d6443e1f040e8d616e7b
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1167e711a80000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16a90161a80000

Reported-by: syzbot+d6443e1f040e8d616e7b@xxxxxxxxxxxxxxxxxxxxxxxxx
Fixes: b19c98f237cd ("btrfs: fix race between balance and cancel/pause")

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