Re: [PATCH] drivers: net: fix memory leak in atusb_probe

2021-04-01 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Thu, 1 Apr 2021 07:46:24 +0300 you wrote: > syzbot reported memory leak in atusb_probe()[1]. > The problem was in atusb_alloc_urbs(). > Since urb is anchored, we need to release the reference > to correctly free the urb > >

[PATCH] drivers: net: fix memory leak in atusb_probe

2021-03-31 Thread Pavel Skripkin
syzbot reported memory leak in atusb_probe()[1]. The problem was in atusb_alloc_urbs(). Since urb is anchored, we need to release the reference to correctly free the urb backtrace: [] kmalloc include/linux/slab.h:559 [inline] [] usb_alloc_urb+0x66/0xe0 drivers/usb/core/urb.c:74 [] atus