diff options
author | Johan Hovold <[email protected]> | 2021-10-25 13:45:31 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-10-26 19:10:18 +0200 |
commit | 78cdfd62bd54af615fba9e3ca1ba35de39d3871d (patch) | |
tree | 165b9a66a1797d25dc779a94ea295aae1df7c3fd /drivers/usb/cdns3/cdns3-trace.c | |
parent | a23461c47482fc232ffc9b819539d1f837adf2b1 (diff) |
comedi: vmk80xx: fix bulk-buffer overflow
The driver is using endpoint-sized buffers but must not assume that the
tx and rx buffers are of equal size or a malicious device could overflow
the slab-allocated receive buffer when doing bulk transfers.
Fixes: 985cafccbf9b ("Staging: Comedi: vmk80xx: Add k8061 support")
Cc: [email protected] # 2.6.31
Signed-off-by: Johan Hovold <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions