Re: [syzbot] [ntfs?] KASAN: use-after-free Read in ntfs_test_inode

From: Christian Brauner
Date: Mon Sep 25 2023 - 09:14:42 EST


On Sun, Sep 24, 2023 at 06:15:29PM -0700, syzbot wrote:
> syzbot has bisected this issue to:
>
> commit 78a06688a4d40d9bb6138e2b9ad3353d7bf0157a
> Author: Christian Brauner <brauner@xxxxxxxxxx>
> Date: Thu Sep 7 16:03:40 2023 +0000
>
> ntfs3: drop inode references in ntfs_put_super()
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1674a5c1680000
> start commit: 3aba70aed91f Merge tag 'gpio-fixes-for-v6.6-rc3' of git://..
> git tree: upstream
> final oops: https://syzkaller.appspot.com/x/report.txt?x=1574a5c1680000
> console output: https://syzkaller.appspot.com/x/log.txt?x=1174a5c1680000
> kernel config: https://syzkaller.appspot.com/x/.config?x=e4ca82a1bedd37e4
> dashboard link: https://syzkaller.appspot.com/bug?extid=2751da923b5eb8307b0b
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=136b4412680000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11aec0dc680000
>
> Reported-by: syzbot+2751da923b5eb8307b0b@xxxxxxxxxxxxxxxxxxxxxxxxx
> Fixes: 78a06688a4d4 ("ntfs3: drop inode references in ntfs_put_super()")
>
> For information about bisection process see: https://goo.gl/tpsmEJ#bisection

#syz test: https://gitlab.com/brauner/linux.git 493c71926c20309226b6d73f6b661a9813de5f0b