syzbot


INFO: task hung in hub_event (3)

Status: upstream: reported on 2023/01/14 20:19
Subsystems: usb (incorrect?)
Reported-by: syzbot+a7edecbf389d11a369d4@syzkaller.appspotmail.com
First crash: 396d, last: 5h52m
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in hub_event 19 1264d 1440d 0/24 auto-closed as invalid on 2020/01/02 20:34
linux-4.14 INFO: task hung in hub_event 5 436d 458d 0/1 auto-closed as invalid on 2022/05/10 10:19
upstream INFO: task hung in hub_event (2) 27 435d 480d 0/24 closed as invalid on 2022/02/08 09:40
linux-6.1 INFO: task hung in hub_event 1 10d 10d 0/3 upstream: reported on 2023/03/12 18:32

Sample crash report:
INFO: task kworker/0:3:5081 blocked for more than 143 seconds.
      Not tainted 6.3.0-rc3-syzkaller-00021-ga1effab7a3a3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:3     state:D stack:22776 pid:5081  ppid:2      flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5304 [inline]
 __schedule+0xc91/0x5770 kernel/sched/core.c:6622
 schedule+0xde/0x1a0 kernel/sched/core.c:6698
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6757
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
 hub_port_connect drivers/usb/core/hub.c:5304 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5551 [inline]
 port_event drivers/usb/core/hub.c:5711 [inline]
 hub_event+0x27c3/0x4e40 drivers/usb/core/hub.c:5793
 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390
 worker_thread+0x669/0x1090 kernel/workqueue.c:2537
 kthread+0x2e8/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
INFO: task kworker/0:12:6859 blocked for more than 143 seconds.
      Not tainted 6.3.0-rc3-syzkaller-00021-ga1effab7a3a3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:12    state:D stack:22752 pid:6859  ppid:2      flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5304 [inline]
 __schedule+0xc91/0x5770 kernel/sched/core.c:6622
 schedule+0xde/0x1a0 kernel/sched/core.c:6698
 usb_kill_urb.part.0+0x19a/0x220 drivers/usb/core/urb.c:728
 usb_kill_urb+0x83/0xa0 drivers/usb/core/urb.c:717
 usb_start_wait_urb+0x24a/0x4b0 drivers/usb/core/message.c:64
 usb_internal_control_msg drivers/usb/core/message.c:102 [inline]
 usb_control_msg+0x320/0x4a0 drivers/usb/core/message.c:153
 usb_get_descriptor+0xe1/0x1d0 drivers/usb/core/message.c:793
 usb_get_device_descriptor+0x85/0xf0 drivers/usb/core/message.c:1072
 hub_port_init+0x859/0x3900 drivers/usb/core/hub.c:4969
 hub_port_connect drivers/usb/core/hub.c:5336 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5551 [inline]
 port_event drivers/usb/core/hub.c:5711 [inline]
 hub_event+0x2b89/0x4e40 drivers/usb/core/hub.c:5793
 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390
 worker_thread+0x669/0x1090 kernel/workqueue.c:2537
 kthread+0x2e8/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
INFO: task kworker/0:0:16709 blocked for more than 143 seconds.
      Not tainted 6.3.0-rc3-syzkaller-00021-ga1effab7a3a3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:0     state:D stack:23632 pid:16709 ppid:2      flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5304 [inline]
 __schedule+0xc91/0x5770 kernel/sched/core.c:6622
 schedule+0xde/0x1a0 kernel/sched/core.c:6698
 usb_kill_urb.part.0+0x19a/0x220 drivers/usb/core/urb.c:728
 usb_kill_urb+0x83/0xa0 drivers/usb/core/urb.c:717
 usb_start_wait_urb+0x24a/0x4b0 drivers/usb/core/message.c:64
 usb_internal_control_msg drivers/usb/core/message.c:102 [inline]
 usb_control_msg+0x320/0x4a0 drivers/usb/core/message.c:153
 usb_get_descriptor+0xe1/0x1d0 drivers/usb/core/message.c:793
 usb_get_device_descriptor+0x85/0xf0 drivers/usb/core/message.c:1072
 hub_port_init+0x859/0x3900 drivers/usb/core/hub.c:4969
 hub_port_connect drivers/usb/core/hub.c:5336 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5551 [inline]
 port_event drivers/usb/core/hub.c:5711 [inline]
 hub_event+0x2b89/0x4e40 drivers/usb/core/hub.c:5793
 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390
 worker_thread+0x669/0x1090 kernel/workqueue.c:2537
 kthread+0x2e8/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
INFO: task kworker/0:1:17900 blocked for more than 144 seconds.
      Not tainted 6.3.0-rc3-syzkaller-00021-ga1effab7a3a3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:1     state:D stack:25032 pid:17900 ppid:2      flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5304 [inline]
 __schedule+0xc91/0x5770 kernel/sched/core.c:6622
 schedule+0xde/0x1a0 kernel/sched/core.c:6698
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6757
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
 hub_port_connect drivers/usb/core/hub.c:5304 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5551 [inline]
 port_event drivers/usb/core/hub.c:5711 [inline]
 hub_event+0x27c3/0x4e40 drivers/usb/core/hub.c:5793
 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390
 worker_thread+0x669/0x1090 kernel/workqueue.c:2537
 kthread+0x2e8/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
INFO: task kworker/1:1:18593 blocked for more than 144 seconds.
      Not tainted 6.3.0-rc3-syzkaller-00021-ga1effab7a3a3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:1     state:D stack:23400 pid:18593 ppid:2      flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5304 [inline]
 __schedule+0xc91/0x5770 kernel/sched/core.c:6622
 schedule+0xde/0x1a0 kernel/sched/core.c:6698
 usb_kill_urb.part.0+0x19a/0x220 drivers/usb/core/urb.c:728
 usb_kill_urb+0x83/0xa0 drivers/usb/core/urb.c:717
 usb_start_wait_urb+0x24a/0x4b0 drivers/usb/core/message.c:64
 usb_internal_control_msg drivers/usb/core/message.c:102 [inline]
 usb_control_msg+0x320/0x4a0 drivers/usb/core/message.c:153
 usb_get_descriptor+0xe1/0x1d0 drivers/usb/core/message.c:793
 usb_get_device_descriptor+0x85/0xf0 drivers/usb/core/message.c:1072
 hub_port_init+0x859/0x3900 drivers/usb/core/hub.c:4969
 hub_port_connect drivers/usb/core/hub.c:5336 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5551 [inline]
 port_event drivers/usb/core/hub.c:5711 [inline]
 hub_event+0x2b89/0x4e40 drivers/usb/core/hub.c:5793
 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390
 worker_thread+0x669/0x1090 kernel/workqueue.c:2537
 kthread+0x2e8/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
 #0: ffffffff8c794b70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510
1 lock held by rcu_tasks_trace/13:
 #0: ffffffff8c794870 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510
1 lock held by khungtaskd/28:
 #0: ffffffff8c7956c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6495
2 locks held by getty/4761:
 #0: ffff8880281ee098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244
 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177
5 locks held by kworker/0:3/5081:
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361
 #1: ffffc90003c3fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x15c0 kernel/workqueue.c:2365
 #2: ffff88802220e190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline]
 #2: ffff88802220e190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x4e40 drivers/usb/core/hub.c:5739
 #3: ffff88814715e4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3147 [inline]
 #3: ffff88814715e4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5303 [inline]
 #3: ffff88814715e4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5551 [inline]
 #3: ffff88814715e4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5711 [inline]
 #3: ffff88814715e4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x278e/0x4e40 drivers/usb/core/hub.c:5793
 #4: ffff888021fce268 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5304 [inline]
 #4: ffff888021fce268 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5551 [inline]
 #4: ffff888021fce268 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5711 [inline]
 #4: ffff888021fce268 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x27c3/0x4e40 drivers/usb/core/hub.c:5793
5 locks held by kworker/0:12/6859:
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361
 #1: ffffc90015157da8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x15c0 kernel/workqueue.c:2365
 #2: ffff888147100190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline]
 #2: ffff888147100190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x4e40 drivers/usb/core/hub.c:5739
 #3: ffff8881471034f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3147 [inline]
 #3: ffff8881471034f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5303 [inline]
 #3: ffff8881471034f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5551 [inline]
 #3: ffff8881471034f8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5711 [inline]
 #3: ffff8881471034f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x278e/0x4e40 drivers/usb/core/hub.c:5793
 #4: ffff8880222c4f68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5304 [inline]
 #4: ffff8880222c4f68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5551 [inline]
 #4: ffff8880222c4f68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5711 [inline]
 #4: ffff8880222c4f68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x27c3/0x4e40 drivers/usb/core/hub.c:5793
5 locks held by kworker/0:0/16709:
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361
 #1: ffffc900033dfda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x15c0 kernel/workqueue.c:2365
 #2: ffff88823bc88190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline]
 #2: ffff88823bc88190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x4e40 drivers/usb/core/hub.c:5739
 #3: ffff88814716b4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3147 [inline]
 #3: ffff88814716b4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5303 [inline]
 #3: ffff88814716b4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5551 [inline]
 #3: ffff88814716b4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5711 [inline]
 #3: ffff88814716b4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x278e/0x4e40 drivers/usb/core/hub.c:5793
 #4: ffff888021fce268 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5304 [inline]
 #4: ffff888021fce268 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5551 [inline]
 #4: ffff888021fce268 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5711 [inline]
 #4: ffff888021fce268 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x27c3/0x4e40 drivers/usb/core/hub.c:5793
5 locks held by kworker/0:1/17900:
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361
 #1: ffffc90003657da8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x15c0 kernel/workqueue.c:2365
 #2: ffff8880222a6190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline]
 #2: ffff8880222a6190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x4e40 drivers/usb/core/hub.c:5739
 #3: ffff8881471b94f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3147 [inline]
 #3: ffff8881471b94f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5303 [inline]
 #3: ffff8881471b94f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5551 [inline]
 #3: ffff8881471b94f8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5711 [inline]
 #3: ffff8881471b94f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x278e/0x4e40 drivers/usb/core/hub.c:5793
 #4: ffff8880222c4f68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5304 [inline]
 #4: ffff8880222c4f68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5551 [inline]
 #4: ffff8880222c4f68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5711 [inline]
 #4: ffff8880222c4f68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x27c3/0x4e40 drivers/usb/core/hub.c:5793
5 locks held by kworker/1:1/18593:
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline]
 #0: ffff888017cad938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361
 #1: ffffc90014d07da8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x15c0 kernel/workqueue.c:2365
 #2: ffff888147077190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline]
 #2: ffff888147077190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x4e40 drivers/usb/core/hub.c:5739
 #3: ffff88814708a4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3147 [inline]
 #3: ffff88814708a4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5303 [inline]
 #3: ffff88814708a4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5551 [inline]
 #3: ffff88814708a4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5711 [inline]
 #3: ffff88814708a4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x278e/0x4e40 drivers/usb/core/hub.c:5793
 #4: ffff888022003868 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5304 [inline]
 #4: ffff888022003868 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5551 [inline]
 #4: ffff888022003868 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5711 [inline]
 #4: ffff888022003868 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x27c3/0x4e40 drivers/usb/core/hub.c:5793
3 locks held by kworker/u4:3/20455:
1 lock held by syz-executor.0/21142:
 #0: ffff88807eb0c258 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:87 [inline]
 #0: ffff88807eb0c258 (&mm->mmap_lock){++++}-{3:3}, at: do_mprotect_pkey+0x1e9/0xbe0 mm/mprotect.c:733
1 lock held by syz-executor.0/21143:
 #0: ffff88807eb0c258 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline]
 #0: ffff88807eb0c258 (&mm->mmap_lock){++++}-{3:3}, at: do_user_addr_fault+0xa51/0x1230 arch/x86/mm/fault.c:1358

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

NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc3-syzkaller-00021-ga1effab7a3a3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x2a4/0x300 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
 watchdog+0xe16/0x1090 kernel/hung_task.c:379
 kthread+0x2e8/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 14903 Comm: kworker/u4:26 Not tainted 6.3.0-rc3-syzkaller-00021-ga1effab7a3a3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:67 [inline]
RIP: 0010:check_preemption_disabled+0x4c/0x170 lib/smp_processor_id.c:19
Code: 81 e3 ff ff ff 7f 31 ff 89 de 0f 1f 44 00 00 85 db 74 11 0f 1f 44 00 00 44 89 e0 5b 5d 41 5c 41 5d 41 5e c3 0f 1f 44 00 00 9c <5b> 81 e3 00 02 00 00 31 ff 48 89 de 0f 1f 44 00 00 48 85 db 74 d3
RSP: 0018:ffffc900050cfb88 EFLAGS: 00000046
RAX: 0000000000000007 RBX: 0000000000000000 RCX: ffffffff8164b315
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffffff8aa6aac0 R08: 0000000000000001 R09: ffffffff8e77b9d7
R10: fffffbfff1cef73a R11: 0000000000000000 R12: 0000000000000001
R13: ffffffff8a4c5bc0 R14: ffff88801b8dba80 R15: 000000000000028d
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200b5000 CR3: 000000002c2b8000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 lockdep_recursion_inc kernel/locking/lockdep.c:462 [inline]
 lock_release+0x15d/0x670 kernel/locking/lockdep.c:5688
 rcu_lock_release include/linux/rcupdate.h:332 [inline]
 rcu_read_unlock include/linux/rcupdate.h:806 [inline]
 batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline]
 batadv_nc_worker+0x86c/0xfe0 net/batman-adv/network-coding.c:719
 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390
 worker_thread+0x669/0x1090 kernel/workqueue.c:2537
 kthread+0x2e8/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (72):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce 2023/03/22 13:55 upstream a1effab7a3a3 d846e076 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/03/17 04:25 upstream 0ddc84d2dd43 18b58603 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/03/16 20:25 upstream 0ddc84d2dd43 18b58603 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/03/15 16:58 upstream 6015b1aca1a2 18b58603 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/03/13 20:21 upstream fc89d7fb499b 026e2200 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/03/13 17:42 upstream eeac8ede1755 026e2200 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/03/05 03:32 upstream b01fe98d34f3 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/03/01 07:56 upstream c0927a7a5391 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/02/27 03:36 upstream f3a2439f20d9 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/02/23 08:57 upstream d8ca6dbb8de7 9e2ebb3c .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/02/19 20:14 upstream 925cf0457d7e bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/02/17 03:05 upstream 3ac88fa4605e 851bc19a .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/02/16 22:33 upstream 3ac88fa4605e 851bc19a .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/02/15 07:35 upstream e1c04510f521 1d6b4af7 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/02/13 20:25 upstream b408817d4884 4d66ad72 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/02/13 11:00 upstream ceaa837f96ad 4d66ad72 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/02/11 01:41 upstream 38c1e0c65865 95871dcc .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/02/10 20:15 upstream 38c1e0c65865 95871dcc .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/02/07 19:35 upstream 513c1a3d3f19 15c3d445 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/02/07 13:27 upstream 05ecb680708a 7d00f0e1 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/02/07 04:02 upstream 05ecb680708a 0a9c11b6 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/02/06 07:34 upstream d2d11f342b17 be607b78 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/02/05 15:22 upstream 95078069c1e7 be607b78 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/02/03 21:35 upstream 7b753a909f42 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/02/02 23:40 upstream 9f266ccaa2f5 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/02/02 18:44 upstream 9f266ccaa2f5 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/02/02 16:12 upstream 9f266ccaa2f5 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/02/02 05:29 upstream 9f266ccaa2f5 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/01/31 22:40 upstream 58706f7fb045 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/01/30 15:54 upstream 6d796c50f84c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/01/28 16:23 upstream 5af6ce704936 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/01/28 13:09 upstream 5af6ce704936 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/01/28 00:16 upstream 83abd4d4c4be 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/01/27 03:27 upstream 7c46948a6e9c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/01/26 15:57 upstream 7c46948a6e9c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/01/25 15:06 upstream 948ef7bb70c4 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/01/24 20:32 upstream 7bf70dbb1882 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/01/24 08:27 upstream 7bf70dbb1882 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/01/22 17:10 upstream 2241ab53cbb5 559a440a .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/01/19 22:47 upstream 081edded9b38 1b826a2f .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/01/18 08:02 upstream c1649ec55708 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/01/14 13:26 upstream 97ec4d559d93 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/01/10 20:10 upstream 40c18f363a08 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce-root 2023/01/07 22:10 upstream 9b43a525db12 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/01/06 05:33 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/01/06 03:55 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce-root 2023/01/05 17:12 upstream 41c03ba9beea 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce-root 2023/01/03 23:43 upstream 69b41ac87e4a 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2023/01/03 07:18 upstream 69b41ac87e4a ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2022/12/31 00:37 upstream c8451c141e07 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2022/12/29 17:48 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2022/12/29 15:19 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2022/12/29 13:44 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce-root 2022/12/27 18:46 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2022/12/27 18:25 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2022/12/27 07:21 upstream 1b929c02afd3 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2022/12/24 18:13 upstream 72a85e2b0a1e 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2022/12/21 01:14 upstream b6bb9676f216 d3e76707 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce-root 2022/12/20 07:43 upstream 6feb57c2fd7c c52b2efb .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2022/12/19 10:13 upstream f9ff5644bcc0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2022/12/18 07:40 upstream f9ff5644bcc0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce 2022/12/05 22:12 upstream 76dcd734eca2 045cbb84 .config console log report info [disk image] [vmlinux] [kernel image] INFO: task hung in hub_event
ci-upstream-kasan-gce-root 2022/09/18 17:48 upstream a335366bad13 dd9a85ff .config console log report info INFO: task hung in hub_event
ci-upstream-kasan-gce 2022/09/07 16:33 upstream 0066f1b0e275 c5b7bc57 .config console log report info INFO: task hung in hub_event
ci-upstream-kasan-gce 2022/08/29 17:08 upstream b90cb1053190 5b44472d .config console log report info INFO: task hung in hub_event
ci-upstream-kasan-gce-root 2022/08/02 04:50 upstream 9de1f9c8ca51 fef302b1 .config console log report info INFO: task hung in hub_event
ci-upstream-kasan-gce-selinux-root 2022/07/29 05:11 upstream 33ea1340bafe fb95c74d .config console log report info INFO: task hung in hub_event
ci-upstream-kasan-gce 2022/05/15 18:41 upstream bc403203d65a 744a39e2 .config console log report info INFO: task hung in hub_event
ci-upstream-kasan-gce 2022/04/24 20:38 upstream 22da5264abf4 131df97d .config console log report info INFO: task hung in hub_event
ci-upstream-kasan-gce 2022/03/08 22:01 upstream 92f90cc9fe0e 9e8eaa75 .config console log report info INFO: task hung in hub_event
ci-upstream-kasan-gce-root 2022/02/19 06:12 upstream 7993e65fdd0f 3cd800e4 .config console log report info INFO: task hung in hub_event
ci-upstream-kasan-gce-386 2022/09/23 12:44 upstream dc164f4fb00a 0042f2b4 .config console log report info INFO: task hung in hub_event
* Struck through repros no longer work on HEAD.