kernel_samsung_a53x/drivers/usb/class
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
..
cdc-acm.c cdc-acm: Add DISABLE_ECHO quirk for GE HealthCare UI Controller 2024-11-23 23:20:55 +01:00
cdc-acm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cdc-wdm.c USB: class: cdc-wdm: Fix CPU lockup caused by excessive log messages 2024-11-19 14:19:02 +01:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usblp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usbtmc.c USB: usbtmc: prevent kernel-usb-infoleak 2024-11-23 23:21:16 +01:00