[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162369900404.32080.4499446872810247187.git-patchwork-notify@kernel.org>
Date: Mon, 14 Jun 2021 19:30:04 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Pavel Skripkin <paskripkin@...il.com>
Cc: davem@...emloft.net, kuba@...nel.org, gregkh@...uxfoundation.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
syzbot+f303e045423e617d2cad@...kaller.appspotmail.com
Subject: Re: [PATCH] net: caif: fix memory leak in ldisc_open
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
Powered by blists - more mailing lists