INFO: task kworker/1:7:4815 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:7 state:D stack:0 pid:4815 tgid:4815 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: usb_hub_wq hub_event Call trace: __switch_to+0x2b0/0x6e0 arch/arm64/kernel/process.c:810 (T) context_switch kernel/sched/core.c:5388 [inline] __schedule+0x1c04/0x2db8 kernel/sched/core.c:7189 __schedule_loop kernel/sched/core.c:7268 [inline] schedule+0x13c/0x20c kernel/sched/core.c:7283 usb_kill_urb+0x1b8/0x31c drivers/usb/core/urb.c:717 usb_start_wait_urb+0x1c8/0x478 drivers/usb/core/message.c:74 usb_internal_control_msg drivers/usb/core/message.c:117 [inline] usb_control_msg+0x1e8/0x378 drivers/usb/core/message.c:167 get_bMaxPacketSize0+0xb4/0x208 drivers/usb/core/hub.c:4851 hub_port_init+0xbe4/0x1c94 drivers/usb/core/hub.c:5112 hub_port_connect drivers/usb/core/hub.c:5496 [inline] hub_port_connect_change drivers/usb/core/hub.c:5707 [inline] port_event drivers/usb/core/hub.c:5871 [inline] hub_event+0x1bc0/0x39fc drivers/usb/core/hub.c:5953 process_one_work kernel/workqueue.c:3314 [inline] process_scheduled_works+0x788/0x10b8 kernel/workqueue.c:3397 worker_thread+0x798/0xbd0 kernel/workqueue.c:3478 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:842 INFO: task syz.0.282:6167 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.282 state:D stack:0 pid:6167 tgid:6166 ppid:4708 task_flags:0x400040 flags:0x00800001 Call trace: __switch_to+0x2b0/0x6e0 arch/arm64/kernel/process.c:810 (T) context_switch kernel/sched/core.c:5388 [inline] __schedule+0x1c04/0x2db8 kernel/sched/core.c:7189 __schedule_loop kernel/sched/core.c:7268 [inline] schedule+0x13c/0x20c kernel/sched/core.c:7283 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7340 __mutex_lock_common kernel/locking/mutex.c:726 [inline] __mutex_lock+0x4fc/0xed0 kernel/locking/mutex.c:820 mutex_lock_nested+0x24/0x30 kernel/locking/mutex.c:873 device_lock include/linux/device.h:1040 [inline] usbdev_open+0x138/0x674 drivers/usb/core/devio.c:1054 chrdev_open+0x398/0x3e8 fs/char_dev.c:411 do_dentry_open+0x5c4/0xfb8 fs/open.c:947 vfs_open+0x44/0x2dc fs/open.c:1079 do_open fs/namei.c:4699 [inline] path_openat+0x22d4/0x2b88 fs/namei.c:4858 do_file_open+0x1c8/0x2e8 fs/namei.c:4887 do_sys_openat2+0x114/0x1e8 fs/open.c:1364 do_sys_open+0xac/0xdc fs/open.c:1370 __do_sys_openat fs/open.c:1386 [inline] __se_sys_openat fs/open.c:1381 [inline] __arm64_sys_openat+0xa0/0xbc fs/open.c:1381 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x64/0x260 arch/arm64/kernel/entry-common.c:736 el0t_64_sync_handler+0x48/0x148 arch/arm64/kernel/entry-common.c:755 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:594 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffff800088bf70c0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #0: ffff800088bf70c0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffff800088bf70c0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x4c/0x188 kernel/locking/lockdep.c:6775 2 locks held by getty/4490: #0: ffff0000c33900a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000923ab2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x348/0xf70 drivers/tty/n_tty.c:2211 5 locks held by kworker/1:7/4815: #0: ffff0000c2b50d40 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3289 [inline] #0: ffff0000c2b50d40 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3397 #1: ffff800097d87c40 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3289 [inline] #1: ffff800097d87c40 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3397 #2: ffff0000cbf621d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1040 [inline] #2: ffff0000cbf621d8 (&dev->mutex){....}-{4:4}, at: hub_event+0x128/0x39fc drivers/usb/core/hub.c:5899 #3: ffff0000cbf67578 (&port_dev->status_lock){+.+.}-{4:4}, at: usb_lock_port drivers/usb/core/hub.c:3252 [inline] #3: ffff0000cbf67578 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_port_connect drivers/usb/core/hub.c:5464 [inline] #3: ffff0000cbf67578 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_port_connect_change drivers/usb/core/hub.c:5707 [inline] #3: ffff0000cbf67578 (&port_dev->status_lock){+.+.}-{4:4}, at: port_event drivers/usb/core/hub.c:5871 [inline] #3: ffff0000cbf67578 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_event+0x191c/0x39fc drivers/usb/core/hub.c:5953 #4: ffff0000cb54a760 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_port_connect drivers/usb/core/hub.c:5465 [inline] #4: ffff0000cb54a760 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_port_connect_change drivers/usb/core/hub.c:5707 [inline] #4: ffff0000cb54a760 (hcd->address0_mutex){+.+.}-{4:4}, at: port_event drivers/usb/core/hub.c:5871 [inline] #4: ffff0000cb54a760 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_event+0x1948/0x39fc drivers/usb/core/hub.c:5953 1 lock held by syz.0.282/6167: #0: ffff0000cbf621d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1040 [inline] #0: ffff0000cbf621d8 (&dev->mutex){....}-{4:4}, at: usbdev_open+0x138/0x674 drivers/usb/core/devio.c:1054 2 locks held by kworker/u8:22/6386: =============================================