[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <385f9b15d528a678333b4d008a8dbacc513f2408.camel@gmail.com>
Date: Sun, 28 Mar 2021 11:49:40 +0300
From: Pavel Skripkin <paskripkin@...il.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: jirislaby@...nel.org, linux-kernel@...r.kernel.org,
syzbot+bcc922b19ccc64240b42@...kaller.appspotmail.com
Subject: Re: [PATCH] tty: fix memory leak in vc_deallocate
Hi!
On Sun, 2021-03-28 at 10:45 +0200, Greg KH wrote:
> On Sun, Mar 28, 2021 at 12:44:43AM +0300, Pavel Skripkin wrote:
> > syzbot reported memory leak in tty/vt.
> > The problem was in VT_DISALLOCATE ioctl cmd.
> > After allocating unimap with PIO_UNIMAP it wasn't
> > freed via VT_DISALLOCATE, but vc_cons[currcons].d was
> > zeroed.
> >
> > Signed-off-by: Pavel Skripkin <paskripkin@...il.com>
> > Reported-by: syzbot+bcc922b19ccc64240b42@...kaller.appspotmail.com
> > ---
> > drivers/tty/vt/vt.c | 1 +
> > 1 file changed, 1 insertion(+)
>
> Is this patch tested by syzbot to fix the problem?
>
Yeah, it's tested.
https://syzkaller.appspot.com/bug?id=083cb8bd8468537151a57339ae72d505bb5bded0
> thanks,
>
> greg k-h
--
With regards,
Pavel Skripkin
Powered by blists - more mailing lists