linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Pavel Skripkin <paskripkin@gmail.com>
Cc: steve.glendinning@shawell.net, davem@davemloft.net,
	kuba@kernel.org, netdev@vger.kernel.org,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	stable@kernel.vger.org,
	syzbot+b558506ba8165425fee2@syzkaller.appspotmail.com
Subject: Re: [PATCH] net: usb: fix memory leak in smsc75xx_bind
Date: Mon, 24 May 2021 21:30:10 +0000	[thread overview]
Message-ID: <162189181021.16512.10408929378825905994.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20210524200208.31621-1-paskripkin@gmail.com>

Hello:

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

On Mon, 24 May 2021 23:02:08 +0300 you wrote:
> Syzbot reported memory leak in smsc75xx_bind().
> The problem was is non-freed memory in case of
> errors after memory allocation.
> 
> backtrace:
>   [<ffffffff84245b62>] kmalloc include/linux/slab.h:556 [inline]
>   [<ffffffff84245b62>] kzalloc include/linux/slab.h:686 [inline]
>   [<ffffffff84245b62>] smsc75xx_bind+0x7a/0x334 drivers/net/usb/smsc75xx.c:1460
>   [<ffffffff82b5b2e6>] usbnet_probe+0x3b6/0xc30 drivers/net/usb/usbnet.c:1728
> 
> [...]

Here is the summary with links:
  - net: usb: fix memory leak in smsc75xx_bind
    https://git.kernel.org/netdev/net/c/46a8b29c6306

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



      reply	other threads:[~2021-05-24 21:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-24 20:02 [PATCH] net: usb: fix memory leak in smsc75xx_bind Pavel Skripkin
2021-05-24 21: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=162189181021.16512.10408929378825905994.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=paskripkin@gmail.com \
    --cc=stable@kernel.vger.org \
    --cc=steve.glendinning@shawell.net \
    --cc=syzbot+b558506ba8165425fee2@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).