syzbot


INFO: task hung in hub_port_init (2)

Status: upstream: reported C repro on 2021/11/16 02:47
Reported-by: syzbot+76629376e06e2c2ad626@syzkaller.appspotmail.com
Fix commit: 26fbe9772b8c USB: core: Fix hang in usb_kill_urb by adding memory barriers
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 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-fs ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu2-riscv64]
First crash: 454d, last: 1d21h

Cause bisection: failed (bisect log)
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in hub_port_init C done 15888 454d 854d 22/24 fixed on 2021/11/10 00:50
linux-4.14 INFO: task hung in hub_port_init C error 6032 93d 857d 0/1 upstream: reported C repro on 2020/10/03 08:19
linux-4.19 INFO: task hung in hub_port_init C 4272 4h49m 857d 0/1 upstream: reported C repro on 2020/10/03 09:24
Last patch testing requests:
Created Duration User Patch Repo Result
2022/09/19 11:10 12m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git a6b443748715 report log
2022/01/20 17:28 9m stern@rowland.harvard.edu patch https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/ 6f59bc24 OK
2022/01/20 08:00 10m hdanton@sina.com patch git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 6f59bc242877 OK

Sample crash report:
INFO: task kworker/1:1:23 blocked for more than 143 seconds.
      Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:1     state:D stack:    0 pid:   23 ppid:     2 flags:0x00000008
Workqueue: usb_hub_wq hub_event
Call trace:
 __switch_to+0x180/0x298 arch/arm64/kernel/process.c:557
 context_switch kernel/sched/core.c:5182 [inline]
 __schedule+0x414/0x5a0 kernel/sched/core.c:6494
 schedule+0x64/0xa4 kernel/sched/core.c:6570
 usb_kill_urb+0xe0/0x1c8 drivers/usb/core/urb.c:726
 usb_start_wait_urb+0xf8/0x1ec drivers/usb/core/message.c:64
 usb_internal_control_msg drivers/usb/core/message.c:102 [inline]
 usb_control_msg+0xd8/0x17c drivers/usb/core/message.c:153
 hub_port_init+0x534/0x1064 drivers/usb/core/hub.c:4825
 hub_port_connect+0x528/0xe30 drivers/usb/core/hub.c:5282
 hub_port_connect_change+0x3d8/0x70c drivers/usb/core/hub.c:5497
 port_event+0x780/0x930 drivers/usb/core/hub.c:5653
 hub_event+0x2f0/0x658 drivers/usb/core/hub.c:5735
 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289
 worker_thread+0x340/0x610 kernel/workqueue.c:2436
 kthread+0x12c/0x158 kernel/kthread.c:376
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860
INFO: task kworker/0:2:917 blocked for more than 143 seconds.
      Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:2     state:D stack:    0 pid:  917 ppid:     2 flags:0x00000008
Workqueue: usb_hub_wq hub_event
Call trace:
 __switch_to+0x180/0x298 arch/arm64/kernel/process.c:557
 context_switch kernel/sched/core.c:5182 [inline]
 __schedule+0x414/0x5a0 kernel/sched/core.c:6494
 schedule+0x64/0xa4 kernel/sched/core.c:6570
 usb_kill_urb+0xe0/0x1c8 drivers/usb/core/urb.c:726
 usb_start_wait_urb+0xf8/0x1ec drivers/usb/core/message.c:64
 usb_internal_control_msg drivers/usb/core/message.c:102 [inline]
 usb_control_msg+0xd8/0x17c drivers/usb/core/message.c:153
 hub_port_init+0x534/0x1064 drivers/usb/core/hub.c:4825
 hub_port_connect+0x528/0xe30 drivers/usb/core/hub.c:5282
 hub_port_connect_change+0x3d8/0x70c drivers/usb/core/hub.c:5497
 port_event+0x780/0x930 drivers/usb/core/hub.c:5653
 hub_event+0x2f0/0x658 drivers/usb/core/hub.c:5735
 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289
 worker_thread+0x340/0x610 kernel/workqueue.c:2436
 kthread+0x12c/0x158 kernel/kthread.c:376
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860
INFO: task kworker/0:0:3088 blocked for more than 143 seconds.
      Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:0     state:D stack:    0 pid: 3088 ppid:     2 flags:0x00000008
Workqueue: usb_hub_wq hub_event
Call trace:
 __switch_to+0x180/0x298 arch/arm64/kernel/process.c:557
 context_switch kernel/sched/core.c:5182 [inline]
 __schedule+0x414/0x5a0 kernel/sched/core.c:6494
 schedule+0x64/0xa4 kernel/sched/core.c:6570
 usb_kill_urb+0xe0/0x1c8 drivers/usb/core/urb.c:726
 usb_start_wait_urb+0xf8/0x1ec drivers/usb/core/message.c:64
 usb_internal_control_msg drivers/usb/core/message.c:102 [inline]
 usb_control_msg+0xd8/0x17c drivers/usb/core/message.c:153
 hub_port_init+0x534/0x1064 drivers/usb/core/hub.c:4825
 hub_port_connect+0x528/0xe30 drivers/usb/core/hub.c:5282
 hub_port_connect_change+0x3d8/0x70c drivers/usb/core/hub.c:5497
 port_event+0x780/0x930 drivers/usb/core/hub.c:5653
 hub_event+0x2f0/0x658 drivers/usb/core/hub.c:5735
 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289
 worker_thread+0x340/0x610 kernel/workqueue.c:2436
 kthread+0x12c/0x158 kernel/kthread.c:376
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860
INFO: task kworker/1:0:3090 blocked for more than 143 seconds.
      Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:0     state:D stack:    0 pid: 3090 ppid:     2 flags:0x00000008
Workqueue: usb_hub_wq hub_event
Call trace:
 __switch_to+0x180/0x298 arch/arm64/kernel/process.c:557
 context_switch kernel/sched/core.c:5182 [inline]
 __schedule+0x414/0x5a0 kernel/sched/core.c:6494
 schedule+0x64/0xa4 kernel/sched/core.c:6570
 usb_kill_urb+0xe0/0x1c8 drivers/usb/core/urb.c:726
 usb_start_wait_urb+0xf8/0x1ec drivers/usb/core/message.c:64
 usb_internal_control_msg drivers/usb/core/message.c:102 [inline]
 usb_control_msg+0xd8/0x17c drivers/usb/core/message.c:153
 hub_port_init+0x534/0x1064 drivers/usb/core/hub.c:4825
 hub_port_connect+0x528/0xe30 drivers/usb/core/hub.c:5282
 hub_port_connect_change+0x3d8/0x70c drivers/usb/core/hub.c:5497
 port_event+0x780/0x930 drivers/usb/core/hub.c:5653
 hub_event+0x2f0/0x658 drivers/usb/core/hub.c:5735
 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289
 worker_thread+0x340/0x610 kernel/workqueue.c:2436
 kthread+0x12c/0x158 kernel/kthread.c:376
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860
INFO: task syz-executor102:3093 blocked for more than 143 seconds.
      Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor102 state:D stack:    0 pid: 3093 ppid:  3084 flags:0x00000001
Call trace:
 __switch_to+0x180/0x298 arch/arm64/kernel/process.c:557
 context_switch kernel/sched/core.c:5182 [inline]
 __schedule+0x414/0x5a0 kernel/sched/core.c:6494
 schedule+0x64/0xa4 kernel/sched/core.c:6570
 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6629
 __mutex_lock_common+0x788/0xca8 kernel/locking/mutex.c:679
 __mutex_lock kernel/locking/mutex.c:747 [inline]
 mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799
 device_lock include/linux/device.h:835 [inline]
 usbdev_release+0x40/0x3b8 drivers/usb/core/devio.c:1087
 __fput+0x198/0x3dc fs/file_table.c:320
 ____fput+0x20/0x30 fs/file_table.c:353
 task_work_run+0xc4/0x14c kernel/task_work.c:177
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 do_notify_resume+0x174/0x1f0 arch/arm64/kernel/signal.c:1127
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline]
 el0_svc+0x9c/0x150 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581
INFO: task syz-executor102:3102 blocked for more than 143 seconds.
      Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor102 state:D stack:    0 pid: 3102 ppid:  3079 flags:0x00000001
Call trace:
 __switch_to+0x180/0x298 arch/arm64/kernel/process.c:557
 context_switch kernel/sched/core.c:5182 [inline]
 __schedule+0x414/0x5a0 kernel/sched/core.c:6494
 schedule+0x64/0xa4 kernel/sched/core.c:6570
 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6629
 __mutex_lock_common+0x788/0xca8 kernel/locking/mutex.c:679
 __mutex_lock kernel/locking/mutex.c:747 [inline]
 mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799
 device_lock include/linux/device.h:835 [inline]
 usbdev_release+0x40/0x3b8 drivers/usb/core/devio.c:1087
 __fput+0x198/0x3dc fs/file_table.c:320
 ____fput+0x20/0x30 fs/file_table.c:353
 task_work_run+0xc4/0x14c kernel/task_work.c:177
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 do_notify_resume+0x174/0x1f0 arch/arm64/kernel/signal.c:1127
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline]
 el0_svc+0x9c/0x150 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581
INFO: task syz-executor102:3105 blocked for more than 143 seconds.
      Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor102 state:D stack:    0 pid: 3105 ppid:  3083 flags:0x00000001
Call trace:
 __switch_to+0x180/0x298 arch/arm64/kernel/process.c:557
 context_switch kernel/sched/core.c:5182 [inline]
 __schedule+0x414/0x5a0 kernel/sched/core.c:6494
 schedule+0x64/0xa4 kernel/sched/core.c:6570
 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6629
 __mutex_lock_common+0x788/0xca8 kernel/locking/mutex.c:679
 __mutex_lock kernel/locking/mutex.c:747 [inline]
 mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799
 device_lock include/linux/device.h:835 [inline]
 usbdev_release+0x40/0x3b8 drivers/usb/core/devio.c:1087
 __fput+0x198/0x3dc fs/file_table.c:320
 ____fput+0x20/0x30 fs/file_table.c:353
 task_work_run+0xc4/0x14c kernel/task_work.c:177
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 do_notify_resume+0x174/0x1f0 arch/arm64/kernel/signal.c:1127
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline]
 el0_svc+0x9c/0x150 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581
INFO: task syz-executor102:3107 blocked for more than 143 seconds.
      Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor102 state:D stack:    0 pid: 3107 ppid:  3076 flags:0x00000001
Call trace:
 __switch_to+0x180/0x298 arch/arm64/kernel/process.c:557
 context_switch kernel/sched/core.c:5182 [inline]
 __schedule+0x414/0x5a0 kernel/sched/core.c:6494
 schedule+0x64/0xa4 kernel/sched/core.c:6570
 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6629
 __mutex_lock_common+0x788/0xca8 kernel/locking/mutex.c:679
 __mutex_lock kernel/locking/mutex.c:747 [inline]
 mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799
 device_lock include/linux/device.h:835 [inline]
 usbdev_release+0x40/0x3b8 drivers/usb/core/devio.c:1087
 __fput+0x198/0x3dc fs/file_table.c:320
 ____fput+0x20/0x30 fs/file_table.c:353
 task_work_run+0xc4/0x14c kernel/task_work.c:177
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 do_notify_resume+0x174/0x1f0 arch/arm64/kernel/signal.c:1127
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline]
 el0_svc+0x9c/0x150 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581
INFO: task syz-executor102:3111 blocked for more than 143 seconds.
      Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor102 state:D stack:    0 pid: 3111 ppid:  3082 flags:0x00000001
Call trace:
 __switch_to+0x180/0x298 arch/arm64/kernel/process.c:557
 context_switch kernel/sched/core.c:5182 [inline]
 __schedule+0x414/0x5a0 kernel/sched/core.c:6494
 schedule+0x64/0xa4 kernel/sched/core.c:6570
 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6629
 __mutex_lock_common+0x788/0xca8 kernel/locking/mutex.c:679
 __mutex_lock kernel/locking/mutex.c:747 [inline]
 mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799
 device_lock include/linux/device.h:835 [inline]
 usbdev_open+0xb0/0x370 drivers/usb/core/devio.c:1042
 chrdev_open+0x2b4/0x2e8 fs/char_dev.c:414
 do_dentry_open+0x330/0x6d0 fs/open.c:880
 vfs_open+0x38/0x48 fs/open.c:1016
 do_open fs/namei.c:3557 [inline]
 path_openat+0xe34/0x11c4 fs/namei.c:3691
 do_filp_open+0xdc/0x1b8 fs/namei.c:3718
 do_sys_openat2+0xb8/0x22c fs/open.c:1313
 do_sys_open fs/open.c:1329 [inline]
 __do_sys_openat fs/open.c:1345 [inline]
 __se_sys_openat fs/open.c:1340 [inline]
 __arm64_sys_openat+0xb0/0xe0 fs/open.c:1340
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall arch/arm64/kernel/syscall.c:52 [inline]
 el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581
INFO: task syz-executor102:3112 blocked for more than 143 seconds.
      Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor102 state:D stack:    0 pid: 3112 ppid:  3081 flags:0x00000001
Call trace:
 __switch_to+0x180/0x298 arch/arm64/kernel/process.c:557
 context_switch kernel/sched/core.c:5182 [inline]
 __schedule+0x414/0x5a0 kernel/sched/core.c:6494
 schedule+0x64/0xa4 kernel/sched/core.c:6570
 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6629
 __mutex_lock_common+0x788/0xca8 kernel/locking/mutex.c:679
 __mutex_lock kernel/locking/mutex.c:747 [inline]
 mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799
 device_lock include/linux/device.h:835 [inline]
 usbdev_open+0xb0/0x370 drivers/usb/core/devio.c:1042
 chrdev_open+0x2b4/0x2e8 fs/char_dev.c:414
 do_dentry_open+0x330/0x6d0 fs/open.c:880
 vfs_open+0x38/0x48 fs/open.c:1016
 do_open fs/namei.c:3557 [inline]
 path_openat+0xe34/0x11c4 fs/namei.c:3691
 do_filp_open+0xdc/0x1b8 fs/namei.c:3718
 do_sys_openat2+0xb8/0x22c fs/open.c:1313
 do_sys_open fs/open.c:1329 [inline]
 __do_sys_openat fs/open.c:1345 [inline]
 __se_sys_openat fs/open.c:1340 [inline]
 __arm64_sys_openat+0xb0/0xe0 fs/open.c:1340
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall arch/arm64/kernel/syscall.c:52 [inline]
 el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581

Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/11:
 #0: ffff80000d433568 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x3c/0x450 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/12:
 #0: ffff80000d433bb8 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x3c/0x450 kernel/rcu/tasks.h:507
5 locks held by kworker/1:1/23:
 #0: ffff0000c0c12138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x270/0x504 kernel/workqueue.c:2262
 #1: ffff80000f27bd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x29c/0x504 kernel/workqueue.c:2264
 #2: ffff0000c6a1f990 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline]
 #2: ffff0000c6a1f990 (&dev->mutex){....}-{3:3}, at: hub_event+0x8c/0x658 drivers/usb/core/hub.c:5681
 #3: ffff0000c6a01508 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3103 [inline]
 #3: ffff0000c6a01508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect+0x33c/0xe30 drivers/usb/core/hub.c:5249
 #4: ffff0000c6663768 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect+0x348/0xe30 drivers/usb/core/hub.c:5250
1 lock held by khungtaskd/27:
 #0: ffff80000d433440 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:279
5 locks held by kworker/0:2/917:
 #0: ffff0000c0c12138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x270/0x504 kernel/workqueue.c:2262
 #1: ffff800013c9bd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x29c/0x504 kernel/workqueue.c:2264
 #2: ffff0000c6441190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline]
 #2: ffff0000c6441190 (&dev->mutex){....}-{3:3}, at: hub_event+0x8c/0x658 drivers/usb/core/hub.c:5681
 #3: ffff0000c6443508 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3103 [inline]
 #3: ffff0000c6443508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect+0x33c/0xe30 drivers/usb/core/hub.c:5249
 #4: ffff0000c6675e68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect+0x348/0xe30 drivers/usb/core/hub.c:5250
1 lock held by klogd/2550:
 #0: ffff0001fefeec58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2c/0x44 kernel/sched/core.c:544
2 locks held by getty/2711:
 #0: ffff0000c794c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x28/0x58 drivers/tty/tty_ldisc.c:244
 #1: ffff80000f6162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x19c/0x89c drivers/tty/n_tty.c:2177
5 locks held by kworker/0:0/3088:
 #0: ffff0000c0c12138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x270/0x504 kernel/workqueue.c:2262
 #1: ffff800012763d80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x29c/0x504 kernel/workqueue.c:2264
 #2: ffff0000c695b990 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline]
 #2: ffff0000c695b990 (&dev->mutex){....}-{3:3}, at: hub_event+0x8c/0x658 drivers/usb/core/hub.c:5681
 #3: ffff0000c695d508 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3103 [inline]
 #3: ffff0000c695d508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect+0x33c/0xe30 drivers/usb/core/hub.c:5249
 #4: ffff0000c6618768 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect+0x348/0xe30 drivers/usb/core/hub.c:5250
5 locks held by kworker/1:0/3090:
 #0: ffff0000c0c12138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x270/0x504 kernel/workqueue.c:2262
 #1: ffff800012783d80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x29c/0x504 kernel/workqueue.c:2264
 #2: ffff0000c69fd990 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline]
 #2: ffff0000c69fd990 (&dev->mutex){....}-{3:3}, at: hub_event+0x8c/0x658 drivers/usb/core/hub.c:5681
 #3: ffff0000c69ff508 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3103 [inline]
 #3: ffff0000c69ff508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect+0x33c/0xe30 drivers/usb/core/hub.c:5249
 #4: ffff0000c6663168 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect+0x348/0xe30 drivers/usb/core/hub.c:5250
1 lock held by syz-executor102/3093:
 #0: ffff0000c6a1f990 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline]
 #0: ffff0000c6a1f990 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x40/0x3b8 drivers/usb/core/devio.c:1087
1 lock held by syz-executor102/3102:
 #0: ffff0000c6a1f990 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline]
 #0: ffff0000c6a1f990 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x40/0x3b8 drivers/usb/core/devio.c:1087
1 lock held by syz-executor102/3105:
 #0: ffff0000c6a1f990 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline]
 #0: ffff0000c6a1f990 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x40/0x3b8 drivers/usb/core/devio.c:1087
1 lock held by syz-executor102/3107:
 #0: ffff0000c6a1f990 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline]
 #0: ffff0000c6a1f990 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x40/0x3b8 drivers/usb/core/devio.c:1087
1 lock held by syz-executor102/3111:
 #0: ffff0000c6a1f990 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline]
 #0: ffff0000c6a1f990 (&dev->mutex){....}-{3:3}, at: usbdev_open+0xb0/0x370 drivers/usb/core/devio.c:1042
1 lock held by syz-executor102/3112:
 #0: ffff0000c6a1f990 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline]
 #0: ffff0000c6a1f990 (&dev->mutex){....}-{3:3}, at: usbdev_open+0xb0/0x370 drivers/usb/core/devio.c:1042

=============================================


Crashes (480):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-gce-arm64 2022/10/04 03:04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 feb56351 .config console log report syz C [disk image] [vmlinux] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2022/09/19 01:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 dd9a85ff .config console log report syz C [disk image] [vmlinux] INFO: task hung in hub_port_init
ci-upstream-linux-next-kasan-gce-root 2022/01/19 20:15 linux-next 6f59bc242877 0620189b .config console log report syz INFO: task hung in hub_port_init
ci-upstream-kasan-gce 2023/02/05 22:08 upstream 837c07cf68fe be607b78 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-kasan-gce-selinux-root 2023/02/03 03:35 upstream 9f266ccaa2f5 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-kasan-gce-selinux-root 2023/02/01 13:54 upstream c0b67534c95c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-kasan-gce 2023/01/29 20:40 upstream c96618275234 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-kasan-gce-root 2023/01/26 14:29 upstream 7c46948a6e9c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-kasan-gce 2023/01/26 00:41 upstream 948ef7bb70c4 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-kasan-gce-smack-root 2023/01/24 09:51 upstream 7bf70dbb1882 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-kasan-gce-selinux-root 2023/01/07 02:08 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-kasan-gce 2023/01/03 08:57 upstream 69b41ac87e4a ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-kasan-gce-selinux-root 2023/01/02 05:25 upstream 150aae354b81 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-kasan-gce 2022/11/30 13:48 upstream 01f856ae6d0c 4c2a66e8 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-kasan-gce 2022/11/28 18:38 upstream b7b275e60bcd 247de55b .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-kasan-gce-root 2022/11/22 14:46 upstream eb7081409f94 1c576c23 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-kasan-gce 2022/11/07 07:44 upstream 089d1c31224e 6d752409 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-kasan-gce-root 2022/10/29 17:06 upstream b229b6ca5abb 899d812a .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-kasan-gce-root 2022/10/22 03:41 upstream e35184f32151 4bfd3c27 .config console log report info [disk image] [vmlinux] INFO: task hung in hub_port_init
ci-upstream-kasan-gce-smack-root 2022/10/13 18:00 upstream 55be6084c8e0 adf90437 .config console log report info [disk image] [vmlinux] INFO: task hung in hub_port_init
ci-upstream-kasan-gce-smack-root 2022/10/06 19:32 upstream 833477fce7a1 131b38ac .config console log report info [disk image] [vmlinux] INFO: task hung in hub_port_init
ci-upstream-kasan-gce-root 2022/10/05 08:32 upstream a5088ee7251e eab8f949 .config console log report info [disk image] [vmlinux] INFO: task hung in hub_port_init
ci-upstream-kasan-gce-root 2022/09/19 22:37 upstream 521a547ced64 dd9a85ff .config console log report info INFO: task hung in hub_port_init
ci-upstream-kasan-gce-root 2022/09/18 08:52 upstream a335366bad13 dd9a85ff .config console log report info INFO: task hung in hub_port_init
ci-upstream-kasan-gce 2022/08/25 23:06 upstream 3f5c20055a64 9b5bf4cd .config console log report info INFO: task hung in hub_port_init
ci-upstream-kasan-gce-smack-root 2022/08/20 21:37 upstream 50cd95ac4654 26a13b38 .config console log report info INFO: task hung in hub_port_init
ci-upstream-kasan-gce 2022/08/19 09:57 upstream 3b06a2755758 26a13b38 .config console log report info INFO: task hung in hub_port_init
ci-upstream-kasan-gce 2022/08/14 10:06 upstream 7ebfc85e2cd7 8dfcaa3d .config console log report info INFO: task hung in hub_port_init
ci-upstream-kasan-gce-root 2022/07/23 18:44 upstream 70664fc10c0d 22343af4 .config console log report info INFO: task hung in hub_port_init
ci-upstream-kasan-gce 2022/07/14 04:19 upstream 4a57a8400075 5d921b08 .config console log report info INFO: task hung in hub_port_init
ci-upstream-kasan-gce-smack-root 2021/11/15 23:19 upstream 8ab774587903 83f5c9b5 .config console log report info INFO: task hung in hub_port_init
ci-upstream-kasan-gce-root 2021/11/12 02:35 upstream 5833291ab6de 75b04091 .config console log report info INFO: task hung in hub_port_init
ci-upstream-kasan-gce 2021/11/10 05:44 upstream cb690f5238d7 55fa030c .config console log report info INFO: task hung in hub_port_init
ci-upstream-kasan-gce-386 2022/12/01 06:29 upstream ef4d3ea40565 4c2a66e8 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-kasan-gce-386 2022/09/14 23:28 upstream 3245cb65fd91 b884348d .config console log report info INFO: task hung in hub_port_init
ci-upstream-kasan-gce-386 2022/08/07 19:03 upstream 200e340f2196 88e3a122 .config console log report info INFO: task hung in hub_port_init
ci-upstream-linux-next-kasan-gce-root 2022/12/05 03:23 linux-next 9e46a7996732 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-linux-next-kasan-gce-root 2022/08/10 09:08 linux-next 6c8f479764eb c2a623d6 .config console log report info INFO: task hung in hub_port_init
ci-upstream-linux-next-kasan-gce-root 2022/07/14 17:01 linux-next cb71b93c2dc3 5d921b08 .config console log report info INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2023/01/27 14:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1dc22be1f91f 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2023/01/23 01:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci edb2f0dc90f2 559a440a .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2023/01/14 04:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 529798b0 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2023/01/13 03:31 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 96166539 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2023/01/11 01:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 358a161a6a9e 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2023/01/04 21:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2022/12/27 02:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2022/12/20 21:33 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 d3e76707 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2022/12/18 03:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2022/12/16 18:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 79e1d513 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2022/12/15 01:26 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 b18f0a64 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2022/12/05 05:17 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e3cb714fb489 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2022/11/19 06:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2022/11/15 04:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9e4ce762f0e7 943f4cb8 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2022/11/11 05:33 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2022/11/09 15:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 56751c56c2a2 5fa28208 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2022/11/01 23:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 edac4fd1 .config console log report info [disk image] [vmlinux] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2022/10/21 09:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 63e790dd .config console log report info [disk image] [vmlinux] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2022/10/05 06:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 eab8f949 .config console log report info [disk image] [vmlinux] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2022/09/24 21:37 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c194837ebb57 0042f2b4 .config console log report info [disk image] [vmlinux] INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2022/09/07 23:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 25050c56fa3c c5b7bc57 .config console log report info INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2022/09/07 05:25 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 25050c56fa3c 5fc30c37 .config console log report info INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2022/08/28 21:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a41a877bc12d 07177916 .config console log report info INFO: task hung in hub_port_init
ci-upstream-gce-arm64 2022/08/20 03:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 680fb5b009e8 26a13b38 .config console log report info INFO: task hung in hub_port_init
* Struck through repros no longer work on HEAD.