Re: [syzbot] [xfs?] UBSAN: array-index-out-of-bounds in xfs_attr3_leaf_add_work

From: syzbot
Date: Sat Sep 30 2023 - 13:57:44 EST


syzbot suspects this issue was fixed by commit:

commit a49bbce58ea90b14d4cb1d00681023a8606955f2
Author: Darrick J. Wong <djwong@xxxxxxxxxx>
Date: Mon Jul 10 16:12:20 2023 +0000

xfs: convert flex-array declarations in xfs attr leaf blocks

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=12eef28a680000
start commit: f8566aa4f176 Merge tag 'x86-urgent-2023-07-01' of git://gi..
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=3f27fb02fc20d955
dashboard link: https://syzkaller.appspot.com/bug?extid=510dcbdc6befa1e6b2f6
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1652938f280000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=14c10c40a80000

If the result looks correct, please mark the issue as fixed by replying with:

#syz fix: xfs: convert flex-array declarations in xfs attr leaf blocks

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