Re: [syzbot] [bcachefs?] KASAN: slab-out-of-bounds Read in bch2_sb_members_v1_to_text

From: syzbot
Date: Wed Jun 11 2025 - 14:25:22 EST


syzbot has bisected this issue to:

commit c5ae261c8095a37174e17eb13c5485cbd1b3bb20
Author: Kent Overstreet <kent.overstreet@xxxxxxxxx>
Date: Sun Jun 8 15:31:23 2025 +0000

bcachefs: Don't trust sb->nr_devices in members_to_text()

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=15a6ad70580000
start commit: b27cc623e01b Add linux-next specific files for 20250610
git tree: linux-next
final oops: https://syzkaller.appspot.com/x/report.txt?x=17a6ad70580000
console output: https://syzkaller.appspot.com/x/log.txt?x=13a6ad70580000
kernel config: https://syzkaller.appspot.com/x/.config?x=846e731334efc0f8
dashboard link: https://syzkaller.appspot.com/bug?extid=e577022d4fba380653be
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12a5e9d4580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1766260c580000

Reported-by: syzbot+e577022d4fba380653be@xxxxxxxxxxxxxxxxxxxxxxxxx
Fixes: c5ae261c8095 ("bcachefs: Don't trust sb->nr_devices in members_to_text()")

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