netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Pavel Skripkin <paskripkin@gmail.com>
Cc: davem@davemloft.net, kuba@kernel.org, gregkh@linuxfoundation.org,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	syzbot+f303e045423e617d2cad@syzkaller.appspotmail.com
Subject: Re: [PATCH] net: caif: fix memory leak in ldisc_open
Date: Mon, 14 Jun 2021 19:30:04 +0000	[thread overview]
Message-ID: <162369900404.32080.4499446872810247187.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20210612145122.9354-1-paskripkin@gmail.com>

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Sat, 12 Jun 2021 17:51:22 +0300 you wrote:
> Syzbot reported memory leak in tty_init_dev().
> The problem was in unputted tty in ldisc_open()
> 
> static int ldisc_open(struct tty_struct *tty)
> {
> ...
> 	ser->tty = tty_kref_get(tty);
> ...
> 	result = register_netdevice(dev);
> 	if (result) {
> 		rtnl_unlock();
> 		free_netdev(dev);
> 		return -ENODEV;
> 	}
> ...
> }
> 
> [...]

Here is the summary with links:
  - net: caif: fix memory leak in ldisc_open
    https://git.kernel.org/netdev/net/c/58af3d3d54e8

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



      reply	other threads:[~2021-06-14 19:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-12 14:51 [PATCH] net: caif: fix memory leak in ldisc_open Pavel Skripkin
2021-06-14 19:30 ` patchwork-bot+netdevbpf [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=162369900404.32080.4499446872810247187.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=davem@davemloft.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=paskripkin@gmail.com \
    --cc=syzbot+f303e045423e617d2cad@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;
as well as URLs for NNTP newsgroup(s).