diff options
author | Edward Adam Davis <[email protected]> | 2024-09-08 17:17:41 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-09-11 15:34:17 +0200 |
commit | 625fa77151f00c1bd00d34d60d6f2e710b3f9aad (patch) | |
tree | e3a748cbb04ba19a4c79725f6bcf99a3bb07567c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 0088d7581b12c6b310fb57a25b7c07622655c23d (diff) |
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions