From: Pavel Skripkin <paskripkin@gmail.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: jirislaby@kernel.org, linux-kernel@vger.kernel.org,
syzbot+bcc922b19ccc64240b42@syzkaller.appspotmail.com
Subject: Re: [PATCH] tty: fix memory leak in vc_deallocate
Date: Sun, 28 Mar 2021 11:49:40 +0300 [thread overview]
Message-ID: <385f9b15d528a678333b4d008a8dbacc513f2408.camel@gmail.com> (raw)
In-Reply-To: <YGBCKBtrirh5GmVP@kroah.com>
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@gmail.com>
> > Reported-by: syzbot+bcc922b19ccc64240b42@syzkaller.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
prev parent reply other threads:[~2021-03-28 8:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-27 21:44 Pavel Skripkin
2021-03-28 8:45 ` Greg KH
2021-03-28 8:49 ` Pavel Skripkin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=385f9b15d528a678333b4d008a8dbacc513f2408.camel@gmail.com \
--to=paskripkin@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+bcc922b19ccc64240b42@syzkaller.appspotmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®