diff options
author | Shuah Khan <skhan@linuxfoundation.org> | 2021-03-24 17:06:54 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-07 12:48:50 +0200 |
commit | 22191cd9e65566eb71eb84fd7a24a42db5c421f5 (patch) | |
tree | 7a4b4f10fa0bf745404bfd1be06db29d808b26e5 /drivers/usb/class/cdc-acm.c | |
parent | 89a2c28a3b67c7d918218f57e4bb7b591f7e5d0f (diff) |
usbip: vhci_hcd fix shift out-of-bounds in vhci_hub_control()
commit 1cc5ed25bdade86de2650a82b2730108a76de20c upstream.
Fix shift out-of-bounds in vhci_hub_control() SetPortFeature handling.
UBSAN: shift-out-of-bounds in drivers/usb/usbip/vhci_hcd.c:605:42
shift exponent 768 is too large for 32-bit type 'int'
Reported-by: syzbot+3dea30b047f41084de66@syzkaller.appspotmail.com
Cc: stable@vger.kernel.org
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20210324230654.34798-1-skhan@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions