syzbot


INFO: task hung in hub_port_init (2)

Status: fixed on 2023/02/24 13:50
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+76629376e06e2c2ad626@syzkaller.appspotmail.com
Fix commit: 26fbe9772b8c USB: core: Fix hang in usb_kill_urb by adding memory barriers
First crash: 1126d, last: 659d
Cause bisection: failed (error log, bisect log)
  
Discussions (11)
Title Replies (including bot) Last reply
[syzbot] INFO: task hung in hub_port_init (2) 0 (3) 2022/09/19 01:54
[PATCH 4.9 00/48] 4.9.300-rc1 review 57 (57) 2022/06/04 10:54
[PATCH 5.16 000/200] 5.16.5-rc1 review 218 (218) 2022/02/14 15:34
[PATCH 4.19 00/86] 4.19.228-rc1 review 94 (94) 2022/02/09 19:07
[PATCH 4.14 00/69] 4.14.265-rc1 review 73 (73) 2022/02/08 09:58
[PATCH 5.10 000/100] 5.10.96-rc1 review 113 (113) 2022/02/03 20:59
[PATCH 4.4 00/25] 4.4.302-rc1 review 33 (33) 2022/02/02 12:18
[PATCH 5.15 000/171] 5.15.19-rc1 review 181 (181) 2022/02/02 00:26
[PATCH 5.4 00/64] 5.4.176-rc1 review 72 (72) 2022/02/01 15:39
[PATCH] USB: core: Fix hang in usb_kill_urb by adding memory barriers 1 (1) 2022/01/24 20:23
Re: [syzbot] INFO: task hung in hub_port_init (2) 1 (2) 2022/01/20 17:55
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in hub_port_init C done 15888 1127d 1526d 20/28 fixed on 2021/11/10 00:50
linux-5.15 INFO: task hung in hub_port_init origin:upstream C error 49 40d 609d 0/3 upstream: reported C repro on 2023/04/11 08:33
upstream INFO: task hung in hub_port_init (3) usb C error 661 9d18h 623d 0/28 upstream: reported C repro on 2023/03/28 12:23
linux-4.14 INFO: task hung in hub_port_init C error 6032 766d 1529d 0/1 upstream: reported C repro on 2020/10/03 08:19
linux-4.19 INFO: task hung in hub_port_init C 4279 651d 1529d 0/1 upstream: reported C repro on 2020/10/03 09:24
linux-6.1 INFO: task hung in hub_port_init origin:upstream C error 52 36d 640d 0/3 upstream: reported C repro on 2023/03/11 21:39
Last patch testing requests (3)
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 (486):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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] ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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] ci-upstream-gce-arm64 INFO: task hung in hub_port_init
2022/01/19 20:15 linux-next 6f59bc242877 0620189b .config console log report syz ci-upstream-linux-next-kasan-gce-root INFO: task hung in hub_port_init
2023/02/14 03:56 upstream b408817d4884 93ae7e0a .config console log report info ci-upstream-kasan-gce INFO: task hung in hub_port_init
2023/02/08 21:10 upstream 0983f6bf2bfc fc9c934e .config console log report info ci-upstream-kasan-gce-root INFO: task hung in hub_port_init
2023/02/05 22:08 upstream 837c07cf68fe be607b78 .config console log report info ci-upstream-kasan-gce INFO: task hung in hub_port_init
2023/02/03 03:35 upstream 9f266ccaa2f5 16d19e30 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in hub_port_init
2023/02/01 13:54 upstream c0b67534c95c 9dfcf09c .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in hub_port_init
2023/01/29 20:40 upstream c96618275234 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in hub_port_init
2023/01/26 14:29 upstream 7c46948a6e9c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in hub_port_init
2023/01/26 00:41 upstream 948ef7bb70c4 9dfcf09c .config console log report info ci-upstream-kasan-gce INFO: task hung in hub_port_init
2023/01/24 09:51 upstream 7bf70dbb1882 9dfcf09c .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in hub_port_init
2023/01/07 02:08 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in hub_port_init
2023/01/03 08:57 upstream 69b41ac87e4a ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in hub_port_init
2023/01/02 05:25 upstream 150aae354b81 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in hub_port_init
2022/11/30 13:48 upstream 01f856ae6d0c 4c2a66e8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in hub_port_init
2022/11/28 18:38 upstream b7b275e60bcd 247de55b .config console log report info ci-upstream-kasan-gce INFO: task hung in hub_port_init
2022/11/22 14:46 upstream eb7081409f94 1c576c23 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in hub_port_init
2022/11/07 07:44 upstream 089d1c31224e 6d752409 .config console log report info ci-upstream-kasan-gce INFO: task hung in hub_port_init
2022/10/29 17:06 upstream b229b6ca5abb 899d812a .config console log report info ci-upstream-kasan-gce-root INFO: task hung in hub_port_init
2022/10/22 03:41 upstream e35184f32151 4bfd3c27 .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce-root INFO: task hung in hub_port_init
2022/10/13 18:00 upstream 55be6084c8e0 adf90437 .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce-smack-root INFO: task hung in hub_port_init
2022/10/06 19:32 upstream 833477fce7a1 131b38ac .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in hub_port_init
2022/10/05 08:32 upstream a5088ee7251e eab8f949 .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce-root INFO: task hung in hub_port_init
2022/09/19 22:37 upstream 521a547ced64 dd9a85ff .config console log report info ci-upstream-kasan-gce-root INFO: task hung in hub_port_init
2022/09/18 08:52 upstream a335366bad13 dd9a85ff .config console log report info ci-upstream-kasan-gce-root INFO: task hung in hub_port_init
2021/11/15 23:19 upstream 8ab774587903 83f5c9b5 .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in hub_port_init
2021/11/12 02:35 upstream 5833291ab6de 75b04091 .config console log report info ci-upstream-kasan-gce-root INFO: task hung in hub_port_init
2021/11/10 05:44 upstream cb690f5238d7 55fa030c .config console log report info ci-upstream-kasan-gce INFO: task hung in hub_port_init
2022/12/01 06:29 upstream ef4d3ea40565 4c2a66e8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: task hung in hub_port_init
2022/09/14 23:28 upstream 3245cb65fd91 b884348d .config console log report info ci-upstream-kasan-gce-386 INFO: task hung in hub_port_init
2022/12/05 03:23 linux-next 9e46a7996732 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in hub_port_init
2023/02/21 04:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a9b06ec42c0f 4f5f5209 .config console log report info ci-upstream-gce-arm64 INFO: task hung in hub_port_init
2023/02/15 19:38 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2d3827b3f393 6be0f1f5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in hub_port_init
2023/02/09 14:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci eaed33698e35 14a312c8 .config console log report info ci-upstream-gce-arm64 INFO: task hung in hub_port_init
2023/02/08 17:31 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci eaed33698e35 fc9c934e .config console log report info ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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] ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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] ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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] ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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 ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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] ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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] ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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] ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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] ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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] ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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 ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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] ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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] ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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] ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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] ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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] ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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] ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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] ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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 ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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] ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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] ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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 ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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 ci-upstream-gce-arm64 INFO: task hung in hub_port_init
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 ci-upstream-gce-arm64 INFO: task hung in hub_port_init
* Struck through repros no longer work on HEAD.