Re: [syzbot] [xfs?] KASAN: stack-out-of-bounds Read in xfs_buf_lock

From: syzbot
Date: Sat Jan 21 2023 - 15:19:47 EST


syzbot has bisected this issue to:

commit 679a99495b8fda800037b25af8cd990eb7dd72c9
Author: Christoph Hellwig <hch@xxxxxx>
Date: Mon Nov 29 10:21:41 2021 +0000

xfs: factor out a xfs_setup_dax_always helper

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=17708805480000
start commit: 7dd4b804e080 Merge tag 'nfsd-6.2-3' of git://git.kernel.or..
git tree: upstream
final oops: https://syzkaller.appspot.com/x/report.txt?x=14f08805480000
console output: https://syzkaller.appspot.com/x/log.txt?x=10f08805480000
kernel config: https://syzkaller.appspot.com/x/.config?x=2b6ecad960fc703e
dashboard link: https://syzkaller.appspot.com/bug?extid=0bc698a422b5e4ac988c
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10c58bd2480000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11cc664a480000

Reported-by: syzbot+0bc698a422b5e4ac988c@xxxxxxxxxxxxxxxxxxxxxxxxx
Fixes: 679a99495b8f ("xfs: factor out a xfs_setup_dax_always helper")

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