Re: [syzbot] [bcachefs] KASAN: use-after-free Read in scatterwalk_copychunks

From: syzbot
Date: Sat May 04 2024 - 20:35:18 EST


syzbot has bisected this issue to:

commit dc6f2eb000d76ac8f93f4d59a8012ddfccca927a
Author: Kent Overstreet <kent.overstreet@xxxxxxxxx>
Date: Wed Apr 17 05:26:02 2024 +0000

bcachefs: make btree read errors silent during scan

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=16629450980000
start commit: 9221b2819b8a Add linux-next specific files for 20240503
git tree: linux-next
final oops: https://syzkaller.appspot.com/x/report.txt?x=15629450980000
console output: https://syzkaller.appspot.com/x/log.txt?x=11629450980000
kernel config: https://syzkaller.appspot.com/x/.config?x=8ab537f51a6a0d98
dashboard link: https://syzkaller.appspot.com/bug?extid=8c4acf719c3fc41e8439
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=111abc97180000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10059004980000

Reported-by: syzbot+8c4acf719c3fc41e8439@xxxxxxxxxxxxxxxxxxxxxxxxx
Fixes: dc6f2eb000d7 ("bcachefs: make btree read errors silent during scan")

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