INFO: task kworker/1:1:37 blocked for more than 143 seconds. Not tainted 6.11.0-rc7-syzkaller-00138-ge5fa8db0be3e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:1 state:D stack:21488 pid:37 tgid:37 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xcda/0x2f80 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 adu_disconnect+0xb2/0x1c0 drivers/usb/misc/adutux.c:770 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:1272 [inline] device_release_driver_internal+0x44a/0x610 drivers/base/dd.c:1295 bus_remove_device+0x22f/0x420 drivers/base/bus.c:574 device_del+0x396/0x9f0 drivers/base/core.c:3871 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+0x1bed/0x4f40 drivers/usb/core/hub.c:5903 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xed0 kernel/workqueue.c:3389 kthread+0x2c1/0x3a0 kernel/kthread.c:389 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: 6 locks held by kworker/0:0/8: #0: ffff888105eb6d48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc9000008fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 #2: ffff888109713190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #2: ffff888109713190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5849 #3: ffff888125454190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff888125454190 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2295 #4: ffff88812e40a160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff88812e40a160 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1094 [inline] #4: ffff88812e40a160 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1292 #5: ffffffff89ad37c8 (adutux_mutex){+.+.}-{3:3}, at: adu_disconnect+0xb2/0x1c0 drivers/usb/misc/adutux.c:770 1 lock held by khungtaskd/30: #0: ffffffff88ebb660 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff88ebb660 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff88ebb660 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6626 6 locks held by kworker/1:1/37: #0: ffff888105eb6d48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc90000277d80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 #2: ffff888109bcc190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #2: ffff888109bcc190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5849 #3: ffff8881077ca190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff8881077ca190 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2295 #4: ffff88813130f160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff88813130f160 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1094 [inline] #4: ffff88813130f160 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1292 #5: ffffffff89ad37c8 (adutux_mutex){+.+.}-{3:3}, at: adu_disconnect+0xb2/0x1c0 drivers/usb/misc/adutux.c:770 2 locks held by getty/2607: #0: ffff888108adf0a0 (&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:2211 4 locks held by udevd/4903: #0: ffff888132ef8418 ( &p->lock){+.+.}-{3:3} , at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182 #1: ffff88812fe12888 (&of->mutex#2){+.+.}-{3:3}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff88810db2a788 (kn->active#9){++++}-{0:0} , at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff8881133d9190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:1014 [inline] #3: ffff8881133d9190 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142 5 locks held by kworker/0:4/4930: 5 locks held by kworker/0:6/5084: 5 locks held by kworker/1:6/5275: #0: ffff888105eb6d48 ( (wq_completion)usb_hub_wq ){+.+.}-{0:0} , at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc9000479fd80 ((work_completion)(&hub->events) ){+.+.}-{0:0} , at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 #2: ffff888107f66190 (&dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5849 #3: ffff888131d83190 ( &dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2295 #4: ffff888114c6f160 ( &dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: __device_driver_lock drivers/base/dd.c:1094 [inline] , at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1292 1 lock held by syz.1.802/7673: #0: ffffffff89ad37c8 (adutux_mutex ){+.+.}-{3:3} , at: adu_release+0xcf/0x720 drivers/usb/misc/adutux.c:323 4 locks held by kworker/u8:1/7795: #0: ffff888100abb148 ( (wq_completion)netns ){+.+.}-{0:0} , at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc900108cfd80 ( net_cleanup_work ){+.+.}-{0:0} , at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 #2: ffffffff8a161cd0 (pernet_ops_rwsem ){++++}-{3:3} , at: cleanup_net+0xbb/0xbb0 net/core/net_namespace.c:594 #3: ffffffff8a177668 (rtnl_mutex ){+.+.}-{3:3} , at: default_device_exit_batch+0x8c/0xae0 net/core/dev.c:11883 1 lock held by syz.4.1109/9082: 1 lock held by syz-executor/9099: #0: ffffffff8a177668 ( rtnl_mutex){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6644 1 lock held by syz-executor/9106: #0: ffffffff8a177668 ( rtnl_mutex){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6644 1 lock held by syz-executor/9109: #0: ffffffff8a177668 (rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6644 1 lock held by syz-executor/9110: #0: ffffffff8a177668 (rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6644 1 lock held by syz-executor/9115: #0: ffffffff8a177668 (rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6644 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc7-syzkaller-00138-ge5fa8db0be3e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:119 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf0c/0x1240 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 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: imon 3-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 43 Comm: kworker/0:2 Not tainted 6.11.0-rc7-syzkaller-00138-ge5fa8db0be3e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: events kernfs_notify_workfn RIP: 0010:hlock_class kernel/locking/lockdep.c:222 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4797 [inline] RIP: 0010:__lock_acquire+0x6b9/0x3cb0 kernel/locking/lockdep.c:5092 Code: af 90 0a 00 00 0f 8d dd 00 00 00 48 8b 3c 24 49 63 c5 48 8d 04 80 48 8d 2c c7 48 8d 7d 20 48 89 f9 48 c1 e9 03 42 0f b6 0c 21 <84> c9 74 09 80 f9 03 0f 8e 1e 22 00 00 0f b7 4d 20 66 81 e1 ff 1f RSP: 0018:ffffc90000007360 EFLAGS: 00000802 RAX: 000000000000000f RBX: ffffed10208dd4fa RCX: 0000000000000000 RDX: fffffbfff1f4a3dd RSI: 0000000000000004 RDI: ffff8881046ea870 RBP: ffff8881046ea850 R08: 0000000000000000 R09: fffffbfff1f4a3dc R10: ffffffff8fa51ee7 R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000000000003 R14: 0000000000000002 R15: ffff8881046e9d40 FS: 0000000000000000(0000) GS:ffff8881f5800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcf6b07dff0 CR3: 0000000114c02000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5759 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5724 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 uart_port_lock_irqsave include/linux/serial_core.h:618 [inline] serial8250_console_write+0xaa6/0x1090 drivers/tty/serial/8250/8250_port.c:3352 console_emit_next_record kernel/printk/printk.c:2983 [inline] console_flush_all+0x53c/0xd70 kernel/printk/printk.c:3049 console_unlock+0xae/0x290 kernel/printk/printk.c:3118 vprintk_emit+0x409/0x600 kernel/printk/printk.c:2348 dev_vprintk_emit drivers/base/core.c:4912 [inline] dev_printk_emit+0xfb/0x140 drivers/base/core.c:4923 __dev_printk+0xf5/0x270 drivers/base/core.c:4935 _dev_warn+0xe5/0x120 drivers/base/core.c:4979 usb_rx_callback_intf0+0x11c/0x1a0 drivers/media/rc/imon.c:1768 __usb_hcd_giveback_urb+0x389/0x6e0 drivers/usb/core/hcd.c:1650 usb_hcd_giveback_urb+0x396/0x450 drivers/usb/core/hcd.c:1734 dummy_timer+0x17c3/0x38d0 drivers/usb/gadget/udc/dummy_hcd.c:1988 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x20c/0xcc0 kernel/time/hrtimer.c:1753 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1770 handle_softirqs+0x209/0x8e0 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu kernel/softirq.c:637 [inline] irq_exit_rcu+0xac/0x110 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 90 f3 0f 1e fa 53 48 8b 74 24 08 48 89 fb 48 83 c7 18 e8 2a da 4a fa 48 89 df e8 42 57 4b fa e8 1d e8 73 fa fb bf 01 00 00 00 e2 eb 3f fa 65 8b 05 93 d6 1b 79 85 c0 74 06 5b c3 cc cc cc cc RSP: 0018:ffffc900004e7be8 EFLAGS: 00000202 RAX: 000000000005f97f RBX: ffffffff890bde60 RCX: 1ffffffff1f4eb52 RDX: 0000000000000000 RSI: ffffffff8727f9c0 RDI: 0000000000000001 RBP: ffffffff890bdda0 R08: 0000000000000001 R09: fffffbfff1f4a3e7 R10: ffffffff8fa51f3f R11: 0000000000000000 R12: ffff888112bc0f00 R13: 000000000003c44c R14: dffffc0000000000 R15: ffff888100094000 spin_unlock_irq include/linux/spinlock.h:401 [inline] kernfs_notify_workfn+0xda/0x600 fs/kernfs/file.c:908 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xed0 kernel/workqueue.c:3389 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244