Re: KASAN: use-after-free Read in delete_partition

From: Dmitry Vyukov
Date: Wed Nov 11 2020 - 06:13:27 EST


On Thu, Oct 8, 2020 at 5:38 AM syzbot
<syzbot+b8639c8dcb5ec4483d4f@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> syzbot suspects this issue was fixed by commit:
>
> commit 08fc1ab6d748ab1a690fd483f41e2938984ce353
> Author: Christoph Hellwig <hch@xxxxxx>
> Date: Tue Sep 1 09:59:41 2020 +0000
>
> block: fix locking in bdev_del_partition
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1259b1e7900000
> start commit: f75aef39 Linux 5.9-rc3
> git tree: upstream
> kernel config: https://syzkaller.appspot.com/x/.config?x=3c5f6ce8d5b68299
> dashboard link: https://syzkaller.appspot.com/bug?extid=b8639c8dcb5ec4483d4f
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15c43c79900000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=173dfa1e900000
>
> If the result looks correct, please mark the issue as fixed by replying with:
>
> #syz fix: block: fix locking in bdev_del_partition
>
> For information about bisection process see: https://goo.gl/tpsmEJ#bisection

#syz fix: block: fix locking in bdev_del_partition