[<prev] [next>] [day] [month] [year] [list]
Message-ID: <00000000000036d5100619f62aba@google.com>
Date: Sun, 02 Jun 2024 23:08:41 -0700
From: syzbot <syzbot+b2cfdac9ae5278d4b621@...kaller.appspotmail.com>
To: nightu.pwn@...il.com
Cc: nightu.pwn@...il.com, linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [squashfs?] VFS: Close: file count is zero (use-after-free)
> please test file uaf in udmabuf_create
>
> #syz test https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
want either no args or 2 args (repo, branch), got 1
> 0e1980c40b6e
>
>
> ---
> drivers/dma-buf/udmabuf.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/dma-buf/udmabuf.c b/drivers/dma-buf/udmabuf.c
> index afa8bfd2a2a9..53035c601e92 100644
> --- a/drivers/dma-buf/udmabuf.c
> +++ b/drivers/dma-buf/udmabuf.c
> @@ -382,6 +382,7 @@ static long udmabuf_create(struct miscdevice *device,
>
> kfree(folios);
> fput(memfd);
> + memfd = NULL;
> }
>
> flags = head->flags & UDMABUF_FLAGS_CLOEXEC ? O_CLOEXEC : 0;
> --
Powered by blists - more mailing lists