syzbot


INFO: task hung in usb_remote_wakeup (2)
Status: upstream: reported syz repro on 2021/02/02 19:58
Reported-by: syzbot+85439002c78b774488d8@syzkaller.appspotmail.com
Fix commit: 363eaa3a450a usbip: synchronize event handler with sysfs code paths
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: 294d, last: 51d

Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: INFO: task hung in usb_get_descriptor (log)
Repro: syz .config

Fix bisection: fixed by (bisect log) :
commit 363eaa3a450abb4e63bd6e3ad79d1f7a0f717814
Author: Shuah Khan <skhan@linuxfoundation.org>
Date: Tue Mar 30 01:36:51 2021 +0000

  usbip: synchronize event handler with sysfs code paths

similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in usb_remote_wakeup 1 229d 229d 0/1 auto-closed as invalid on 2021/04/07 18:31
upstream INFO: task hung in usb_remote_wakeup 7 638d 824d 0/22 auto-closed as invalid on 2020/01/24 14:16
linux-4.14 INFO: task hung in usb_remote_wakeup 1 289d 289d 0/1 auto-closed as invalid on 2021/02/06 13:01

Sample crash report:

Crashes (8):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2021/01/29 19:51 upstream bec4c2968fce 6593fd32 .config log report syz INFO: task hung in usb_remote_wakeup
ci-upstream-kasan-gce 2021/06/04 16:44 upstream f88cd3fb9df2 966a236b .config log report info INFO: task hung in usb_remote_wakeup
ci-upstream-kasan-gce 2021/02/16 01:25 upstream f40ddce88593 98682e5e .config log report info INFO: task hung in usb_remote_wakeup
ci2-upstream-usb 2021/02/10 23:43 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 1ebe718bb482 a52ee10a .config log report info INFO: task hung in usb_remote_wakeup
ci-upstream-kasan-gce-smack-root 2020/11/14 20:13 upstream f01c30de86f1 1bf9a662 .config log report info
ci-upstream-kasan-gce-root 2020/10/04 07:04 upstream 22fbc037cd32 1a3f9408 .config log report info
ci-upstream-kasan-gce-386 2020/11/04 10:35 upstream 4ef8451b3326 cba33199 .config log report info
ci-upstream-linux-next-kasan-gce-root 2021/01/06 20:51 linux-next 7e4525a4232f c104d4a3 .config log report info