aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/phy/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorHangyu Hua <hbh25y@gmail.com>2022-01-01 01:21:38 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-03 14:35:18 +0100
commit501e38a5531efbd77d5c73c0ba838a889bfc1d74 (patch)
tree0073563c0f545334f19548610230eb723fd2aedf /include/linux/phy/git:/ssh:/git@git.zx2c4.com
parentusb: gadget: don't release an existing dev->buf (diff)
downloadlinux-dev-501e38a5531efbd77d5c73c0ba838a889bfc1d74.tar.xz
linux-dev-501e38a5531efbd77d5c73c0ba838a889bfc1d74.zip
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>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions