Re: [PATCH] net: usb: fix memory leak in smsc75xx_bind

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux