kernel_samsung_a53x/drivers/usb
Edward Adam Davis d3fd52ffc5 USB: usbtmc: prevent kernel-usb-infoleak
commit 625fa77151f00c1bd00d34d60d6f2e710b3f9aad upstream.

The syzbot reported a kernel-usb-infoleak in usbtmc_write,
we need to clear the structure before filling fields.

Fixes: 4ddc645f40e9 ("usb: usbtmc: Add ioctl for vendor specific write")
Reported-and-tested-by: syzbot+9d34f80f841e948c3fdb@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=9d34f80f841e948c3fdb
Signed-off-by: Edward Adam Davis <eadavis@qq.com>
Cc: stable <stable@kernel.org>
Link: https://lore.kernel.org/r/tencent_9649AA6EC56EDECCA8A7D106C792D1C66B06@qq.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:21:16 +01:00
..
atm usb: atm: cxacru: fix endpoint checking in cxacru_bind() 2024-11-19 14:19:34 +01:00
c67x00
cdns3 usb: cdns3: fix memory double free when handle zero packet 2024-11-18 22:25:39 +01:00
chipidea
class USB: usbtmc: prevent kernel-usb-infoleak 2024-11-23 23:21:16 +01:00
common
core usb: core: sysfs: Unmerge @usb3_hardware_lpm_attr_group in remove_power_attributes() 2024-11-23 23:20:55 +01:00
dwc2 usb: dwc2: host: Fix dereference issue in DDMA completion flow. 2024-11-19 11:32:23 +01:00
dwc3 usb: dwc3: Fix a typo in field name 2024-11-23 23:21:16 +01:00
early
gadget usb: gadget: fsl: Increase size of name buffer for endpoints 2024-11-23 23:20:46 +01:00
host xhci: Fix Panther point NULL pointer deref at full-speed re-enumeration 2024-11-23 23:20:42 +01:00
image
isp1760
misc usb: misc: uss720: check for incompatible versions of the Belkin F5U002 2024-11-19 14:19:07 +01:00
mon
mtu3
musb usb: musb: da8xx: fix a resource leak in probe() 2024-11-19 14:19:33 +01:00
notify
notify_lsi
phy Revert "usb: phy: generic: Get the vbus supply" 2024-11-19 09:22:49 +01:00
renesas_usbhs
roles usb: roles: don't get/set_role() when usb_role_switch is unregistered 2024-11-18 22:25:39 +01:00
serial USB: serial: pl2303: add device id for Macrosilicon MS3020 2024-11-23 23:21:16 +01:00
storage usb: uas: set host status byte on data completion error 2024-11-23 23:21:03 +01:00
typec usb: typec: ucsi: Fix null pointer dereference in trace 2024-11-23 23:20:58 +01:00
usbip usbip: Don't submit special requests twice 2024-11-23 23:20:58 +01:00
Kconfig
Kconfig.variant1
Makefile
Makefile.variant1
usb-skeleton.c