From: Greg KH <gregkh@linuxfoundation.org>
To: Pavel Skripkin <paskripkin@gmail.com>
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 10:45:28 +0200 [thread overview]
Message-ID: <YGBCKBtrirh5GmVP@kroah.com> (raw)
In-Reply-To: <20210327214443.21548-1-paskripkin@gmail.com>
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?
thanks,
greg k-h
next prev parent reply other threads:[~2021-03-28 8:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-27 21:44 [PATCH] tty: fix memory leak in vc_deallocate Pavel Skripkin
2021-03-28 8:45 ` Greg KH [this message]
2021-03-28 8:49 ` Pavel Skripkin
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=YGBCKBtrirh5GmVP@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paskripkin@gmail.com \
--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