Re: [syzbot] [f2fs?] UBSAN: array-index-out-of-bounds in read_inline_xattr

From: syzbot
Date: Mon Dec 23 2024 - 16:30:14 EST


Hello,

syzbot tried to test the proposed patch but the build/boot failed:

fs/f2fs/segment.c:5541:6: error: call to undeclared function 'unlike'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]


Tested on:

commit: 7d46ca6d f2fs: fix to avoid return invalid mtime from ..
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git wip
kernel config: https://syzkaller.appspot.com/x/.config?x=1234f097ee657d8b
dashboard link: https://syzkaller.appspot.com/bug?extid=69f5379a1717a0b982a1
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40

Note: no patches were applied.