INFO: task kworker/0:2:726 blocked for more than 142 seconds. Not tainted 6.9.0-rc7-syzkaller-00158-g51474ab44abf #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:2 state:D stack:24576 pid:726 tgid:726 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xca6/0x3170 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 __input_unregister_device+0x136/0x450 drivers/input/input.c:2219 input_unregister_device+0xb9/0x100 drivers/input/input.c:2440 usb_cleanup+0x1ee/0x2a0 drivers/input/misc/yealink.c:825 usb_unbind_interface+0x1e8/0x970 drivers/usb/core/driver.c:461 device_remove drivers/base/dd.c:568 [inline] device_remove+0x122/0x170 drivers/base/dd.c:560 __device_release_driver drivers/base/dd.c:1270 [inline] device_release_driver_internal+0x44a/0x610 drivers/base/dd.c:1293 bus_remove_device+0x22f/0x420 drivers/base/bus.c:574 device_del+0x396/0xa10 drivers/base/core.c:3909 usb_disable_device+0x36c/0x7f0 drivers/usb/core/message.c:1418 usb_disconnect+0x2e1/0x920 drivers/usb/core/hub.c:2304 hub_port_connect drivers/usb/core/hub.c:5361 [inline] hub_port_connect_change drivers/usb/core/hub.c:5661 [inline] port_event drivers/usb/core/hub.c:5821 [inline] hub_event+0x1be4/0x4f50 drivers/usb/core/hub.c:5903 process_one_work+0x9a9/0x1ac0 kernel/workqueue.c:3267 process_scheduled_works kernel/workqueue.c:3348 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3429 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Showing all locks held in the system: 7 locks held by kworker/0:0/7: #0: ffff8881046fbd48 ( (wq_completion)usb_hub_wq ){+.+.}-{0:0} , at: process_one_work+0x1296/0x1ac0 kernel/workqueue.c:3242 #1: ffffc9000007fd80 ((work_completion)(&hub->events) ){+.+.}-{0:0} , at: process_one_work+0x906/0x1ac0 kernel/workqueue.c:3243 #2: ffff888109b97190 (&dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:990 [inline] , at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5849 #3: ffff888118339190 ( &dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:990 [inline] , at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2295 #4: ffff8881183b6160 (&dev->mutex ){....}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5419 [inline] ){....}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5661 [inline] ){....}-{3:3}, at: port_event drivers/usb/core/hub.c:5821 [inline] ){....}-{3:3}, at: hub_event+0x28de/0x4f50 drivers/usb/core/hub.c:5903 #5: ffff8881f643d898 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:559 [inline] #5: ffff8881f643d898 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1387 [inline] #5: ffff8881f643d898 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1701 [inline] #5: ffff8881f643d898 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x28e/0x3170 kernel/sched/core.c:6654 #6: ffffffff8d40c150 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_deactivate+0x13c/0x370 lib/debugobjects.c:763 6 locks held by kworker/0:1/8: #0: ffff8881046fbd48 ((wq_completion)usb_hub_wq){+.+.}-{0:0} , at: process_one_work+0x1296/0x1ac0 kernel/workqueue.c:3242 #1: ffffc9000008fd80 ( (work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x906/0x1ac0 kernel/workqueue.c:3243 #2: ffff888109f07190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #2: ffff888109f07190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5849 #3: ffffffff884a1e40 (console_lock){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] (console_lock){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] (console_lock){+.+.}-{0:0}, at: perf_event_task_tick+0x128/0x3d0 kernel/events/core.c:4337 #4: ffffffff884a1eb0 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:334 [inline] (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:232 [inline] (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:286 [inline] (console_srcu){....}-{0:0}, at: console_flush_all+0x12d/0xd70 kernel/printk/printk.c:2971 #5: ffff8881f643d898 (&rq->__lock){-.-.}-{2:2} , at: raw_spin_rq_lock_nested+0x1f/0x30 kernel/sched/core.c:559 1 lock held by khungtaskd/29: #0: ffffffff884b4560 (rcu_read_lock){....}-{1:2} , at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] , at: rcu_read_lock include/linux/rcupdate.h:781 [inline] , at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 6 locks held by kworker/1:1/36: #0: ffff8881046fbd48 ( (wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1296/0x1ac0 kernel/workqueue.c:3242 #1: ffffc90000267d80 ((work_completion)(&hub->events) ){+.+.}-{0:0}, at: process_one_work+0x906/0x1ac0 kernel/workqueue.c:3243 #2: ffff888109bb7190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #2: ffff888109bb7190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5849 #3: ffff888116a22190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #3: ffff888116a22190 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2295 #4: ffff888116937160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #4: ffff888116937160 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1093 [inline] #4: ffff888116937160 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1290 #5: ffffffff890da0a8 (input_mutex){+.+.}-{3:3}, at: __input_unregister_device+0x136/0x450 drivers/input/input.c:2219 7 locks held by kworker/0:2/726: #0: ffff8881046fbd48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1296/0x1ac0 kernel/workqueue.c:3242 #1: ffffc90001befd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x906/0x1ac0 kernel/workqueue.c:3243 #2: ffff888109767190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #2: ffff888109767190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5849 #3: ffff88811833e190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #3: ffff88811833e190 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2295 #4: ffff8881183b7160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #4: ffff8881183b7160 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1093 [inline] #4: ffff8881183b7160 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1290 #5: ffffffff890da0a8 (input_mutex){+.+.}-{3:3}, at: __input_unregister_device+0x136/0x450 drivers/input/input.c:2219 #6: ffffffff884bfc78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #6: ffffffff884bfc78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x682/0x7a0 kernel/rcu/tree_exp.h:939 2 locks held by klogd/2391: #0: ffff8881f643d898 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:559 [inline] #0: ffff8881f643d898 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1387 [inline] #0: ffff8881f643d898 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1701 [inline] #0: ffff8881f643d898 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x28e/0x3170 kernel/sched/core.c:6654 #1: ffffffff88639740 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: raw_spin_rq_lock_nested kernel/sched/core.c:559 [inline] #1: ffffffff88639740 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: raw_spin_rq_lock kernel/sched/sched.h:1387 [inline] #1: ffffffff88639740 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: rq_lock kernel/sched/sched.h:1701 [inline] #1: ffffffff88639740 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: ttwu_queue kernel/sched/core.c:4055 [inline] #1: ffffffff88639740 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: try_to_wake_up+0x4fe/0x10b0 kernel/sched/core.c:4378 2 locks held by getty/2462: #0: ffff88810e7820a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900000432f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 6 locks held by kworker/0:3/2518: #0: ffff8881046fbd48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1296/0x1ac0 kernel/workqueue.c:3242 #1: ffffc900014afd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x906/0x1ac0 kernel/workqueue.c:3243 #2: ffff888109f27190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #2: ffff888109f27190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5849 #3: ffff8881182c5190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #3: ffff8881182c5190 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2295 #4: ffff88811849a160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #4: ffff88811849a160 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1093 [inline] #4: ffff88811849a160 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1290 #5: ffffffff890da0a8 (input_mutex){+.+.}-{3:3}, at: __input_unregister_device+0x136/0x450 drivers/input/input.c:2219 4 locks held by udevd/2521: #0: ffff888118de80a0 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182 #1: ffff888114f60888 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff88810ffbc1e8 (kn->active#21){.+.+}-{0:0}, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff888116a22190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:995 [inline] #3: ffff888116a22190 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142 4 locks held by udevd/2525: #0: ffff8881037dfe80 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182 #1: ffff88810daab088 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff8881118a9788 (kn->active#21){.+.+}-{0:0}, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff8881087b4190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:995 [inline] #3: ffff8881087b4190 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142 4 locks held by udevd/2534: #0: ffff8881037df8b8 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182 #1: ffff88811ec8bc88 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff8881125b3c38 (kn->active#21){.+.+}-{0:0}, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff8881087b1190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:995 [inline] #3: ffff8881087b1190 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142 1 lock held by udevd/2536: #0: ffffffff884bfc78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #0: ffffffff884bfc78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x403/0x7a0 kernel/rcu/tree_exp.h:939 4 locks held by udevd/2558: #0: ffff88810ffd6418 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182 #1: ffff8881164bd488 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff8881184cbe18 (kn->active#21){.+.+}-{0:0}, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff88811833e190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:995 [inline] #3: ffff88811833e190 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc7-syzkaller-00158-g51474ab44abf #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf86/0x1240 kernel/hung_task.c:380 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:86 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_safe_halt+0x1a/0x20 drivers/acpi/processor_idle.c:112