Re: [syzbot] KASAN: slab-out-of-bounds Read in hfs_cat_keycmp

From: Dmitry Vyukov
Date: Wed Feb 01 2023 - 02:57:20 EST


On Mon, 30 Jan 2023 at 22:20, syzbot
<syzbot+883fa6a25abf9dd035ef@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> syzbot suspects this issue was fixed by commit:
>
> commit c53ed55cb275344086e32a7080a6b19cb183650b
> Author: ZhangPeng <zhangpeng362@xxxxxxxxxx>
> Date: Fri Dec 2 03:00:38 2022 +0000
>
> hfs: Fix OOB Write in hfs_asc2mac
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=13294485480000
> start commit: 3a28c2c89f4b Merge tag 'unsigned-char-6.2-for-linus' of gi..
> git tree: upstream
> kernel config: https://syzkaller.appspot.com/x/.config?x=f3de84cba2ef4a23
> dashboard link: https://syzkaller.appspot.com/bug?extid=883fa6a25abf9dd035ef
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1261813b880000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=114306af880000
>
> If the result looks correct, please mark the issue as fixed by replying with:
>
> #syz fix: hfs: Fix OOB Write in hfs_asc2mac
>
> For information about bisection process see: https://goo.gl/tpsmEJ#bisection

Hard to say if it's the fix or not, bisection diverged due to an
unrelated kernel bug. But this bug is probably fixed as well, so
without having a better candidate, let's close the report:

#syz fix: hfs: Fix OOB Write in hfs_asc2mac