Re: [syzbot] [btrfs?] KASAN: slab-use-after-free Read in btrfs_open_devices

From: syzbot
Date: Mon Aug 07 2023 - 23:27:26 EST


syzbot has bisected this issue to:

commit 066d64b26a21a5b5c500a30f27f3e4b1959aac9e
Author: Christoph Hellwig <hch@xxxxxx>
Date: Wed Aug 2 15:41:23 2023 +0000

btrfs: open block devices after superblock creation

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=15493371a80000
start commit: f7dc24b34138 Add linux-next specific files for 20230807
git tree: linux-next
final oops: https://syzkaller.appspot.com/x/report.txt?x=17493371a80000
console output: https://syzkaller.appspot.com/x/log.txt?x=13493371a80000
kernel config: https://syzkaller.appspot.com/x/.config?x=d7847c9dca13d6c5
dashboard link: https://syzkaller.appspot.com/bug?extid=26860029a4d562566231
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=179704c9a80000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17868ba9a80000

Reported-by: syzbot+26860029a4d562566231@xxxxxxxxxxxxxxxxxxxxxxxxx
Fixes: 066d64b26a21 ("btrfs: open block devices after superblock creation")

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