Searched hist:"501 e38a5" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/usb/gadget/legacy/ |
H A D | inode.c | 501e38a5 Fri Dec 31 11:21:38 CST 2021 Hangyu Hua <hbh25y@gmail.com> usb: gadget: clear related members when goto fail
dev->config and dev->hs_config and dev->dev need to be cleaned if dev_config fails to avoid UAF.
Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Hangyu Hua <hbh25y@gmail.com> Link: https://lore.kernel.org/r/20211231172138.7993-3-hbh25y@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|