Re: [syzbot] [ntfs3?] KASAN: use-after-free Read in hdr_find_e

From: Dmitry Vyukov
Date: Thu Feb 02 2023 - 02:01:17 EST


On Wed, 1 Feb 2023 at 15:55, syzbot
<syzbot+c986d2a447ac6fb27b02@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> syzbot suspects this issue was fixed by commit:
>
> commit 0e8235d28f3a0e9eda9f02ff67ee566d5f42b66b
> Author: Konstantin Komarov <almaz.alexandrovich@xxxxxxxxxxxxxxxxxxxx>
> Date: Mon Oct 10 10:15:33 2022 +0000
>
> fs/ntfs3: Check fields while reading
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1268739e480000
> start commit: 55be6084c8e0 Merge tag 'timers-core-2022-10-05' of git://g..
> git tree: upstream
> kernel config: https://syzkaller.appspot.com/x/.config?x=df75278aabf0681a
> dashboard link: https://syzkaller.appspot.com/bug?extid=c986d2a447ac6fb27b02
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=164e92a4880000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=126f7ac6880000
>
> If the result looks correct, please mark the issue as fixed by replying with:
>
> #syz fix: fs/ntfs3: Check fields while reading
>
> For information about bisection process see: https://goo.gl/tpsmEJ#bisection

Looks reasonable:

#syz fix: fs/ntfs3: Check fields while reading