syzbot


UBSAN: shift-out-of-bounds in vhci_hub_control (2)
Status: upstream: reported C repro on 2021/03/24 17:36
Reported-by: syzbot+3dea30b047f41084de66@syzkaller.appspotmail.com
Fix commit: 1cc5ed25bdad usbip: vhci_hcd fix shift out-of-bounds in vhci_hub_control()
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386 ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu2-arm32]
First crash: 131d, last: 119d

Cause bisection: introduced by (bisect log) [release commit]:
commit 4d856f72c10ecb060868ed10ff1b1453943fc6c8
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Sun Sep 15 21:19:32 2019 +0000

  Linux 5.3

Crash: UBSAN: undefined-behaviour in vhci_hub_control (log)
Repro: C syz .config
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream UBSAN: shift-out-of-bounds in vhci_hub_control C unreliable 4 182d 219d 21/22 fixed on 2021/03/10 01:48
Patch testing requests:
Created Duration User Patch Repo Result
2021/03/24 20:05 16m musamaanjum@gmail.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 84196390 OK

Sample crash report:

Crashes (5):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2021/03/23 03:57 upstream 84196390620a 8092f30d .config log report syz C UBSAN: shift-out-of-bounds in vhci_hub_control
ci-upstream-kasan-gce 2021/04/02 07:46 upstream ffd9fb546d49 6a81331a .config log report info UBSAN: shift-out-of-bounds in vhci_hub_control
ci-upstream-kasan-gce 2021/03/28 14:33 upstream 0f4498cef9f5 a8529b82 .config log report info UBSAN: shift-out-of-bounds in vhci_hub_control
ci-upstream-kasan-gce 2021/03/23 03:43 upstream 84196390620a 8092f30d .config log report info UBSAN: shift-out-of-bounds in vhci_hub_control
ci-upstream-kasan-gce 2021/03/20 17:33 upstream 1c273e10bc0c 17810eae .config log report info UBSAN: shift-out-of-bounds in vhci_hub_control