syzbot


UBSAN: shift-out-of-bounds in dummy_hub_control
Status: fixed on 2021/03/10 01:48
Reported-by: syzbot+5925509f78293baa7331@syzkaller.appspotmail.com
Fix commit: c318840f USB: Gadget: dummy-hcd: Fix shift-out-of-bounds bug
First crash: 113d, last: 111d

Cause bisection: introduced by (bisect log) :
commit 8442b02bf3c6770e0d7e7ea17be36c30e95987b6
Author: Andrey Konovalov <andreyknvl@google.com>
Date: Mon Oct 21 14:20:58 2019 +0000

  USB: dummy-hcd: increase max number of devices to 32

Crash: UBSAN: undefined-behaviour in dummy_hub_control (log)
Repro: C syz .config
Patch testing requests:
Created Duration User Patch Repo Result
2020/12/29 16:43 16m stern@rowland.harvard.edu patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git e37b12e4 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 2020/12/21 20:17 upstream e37b12e4 04201c06 .config log report syz C
ci-upstream-kasan-gce 2020/12/23 08:52 upstream 614cb589 04201c06 .config log report info
ci-upstream-kasan-gce 2020/12/22 00:24 upstream e37b12e4 04201c06 .config log report info
ci-upstream-kasan-gce 2020/12/21 20:00 upstream e37b12e4 04201c06 .config log report info
ci-upstream-kasan-gce-386 2020/12/22 00:28 upstream e37b12e4 04201c06 .config log report info