Re: [syzbot] memory leak in kvm_dev_ioctl

From: Dmitry Vyukov
Date: Mon Jul 05 2021 - 01:55:39 EST


On Sat, Jul 3, 2021 at 9:12 AM Pavel Skripkin <paskripkin@xxxxxxxxx> wrote:
>
> On Fri, 02 Jul 2021 23:05:26 -0700
> syzbot <syzbot+c87d2efb740931ec76c7@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> > Hello,
> >
> > syzbot found the following issue on:
> >
> > HEAD commit: e058a84b Merge tag 'drm-next-2021-07-01' of
> > git://anongit... git tree: upstream
> > console output:
> > https://syzkaller.appspot.com/x/log.txt?x=171fbbdc300000 kernel
> > config: https://syzkaller.appspot.com/x/.config?x=8c46abb9076f44dc
> > dashboard link:
> > https://syzkaller.appspot.com/bug?extid=c87d2efb740931ec76c7 syz
> > repro:
> > https://syzkaller.appspot.com/x/repro.syz?x=119d1efc300000 C
> > reproducer: https://syzkaller.appspot.com/x/repro.c?x=16c58c28300000
> >
> > IMPORTANT: if you fix the issue, please add the following tag to the
> > commit: Reported-by:
> > syzbot+c87d2efb740931ec76c7@xxxxxxxxxxxxxxxxxxxxxxxxx
> >
>
> Corresponding fix was sent about 2 days ago
> https://patchwork.kernel.org/project/kvm/patch/20210701195500.27097-1-paskripkin@xxxxxxxxx/

Hi Pavel,

Thanks for checking. Let's tell syzbot about the fix:

#syz fix: kvm: debugfs: fix memory leak in kvm_create_vm_debugfs