diff options
| author | Edward Adam Davis <[email protected]> | 2024-09-08 09:17:41 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-09-11 13:34:17 +0000 |
| commit | 625fa77151f00c1bd00d34d60d6f2e710b3f9aad (patch) | |
| tree | e3a748cbb04ba19a4c79725f6bcf99a3bb07567c /drivers/usb/common/common.c | |
| parent | tools: usb: p9_fwd: wrap USBG shell command examples in literal code blocks (diff) | |
| download | kernel-625fa77151f00c1bd00d34d60d6f2e710b3f9aad.tar.gz kernel-625fa77151f00c1bd00d34d60d6f2e710b3f9aad.zip | |
USB: usbtmc: prevent kernel-usb-infoleak
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: [email protected]
Closes: https://syzkaller.appspot.com/bug?extid=9d34f80f841e948c3fdb
Signed-off-by: Edward Adam Davis <[email protected]>
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/common/common.c')
0 files changed, 0 insertions, 0 deletions
