INFO: task kworker/0:3:5230 blocked for more than 143 seconds. Not tainted 6.6.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:3 state:D stack:21872 pid:5230 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xc79/0x30a0 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747 unregister_netdev+0x12/0x30 net/core/dev.c:11011 r871xu_dev_remove+0x28e/0x480 drivers/staging/rtl8712/usb_intf.c:596 usb_unbind_interface+0x1dd/0x8d0 drivers/usb/core/driver.c:458 device_remove drivers/base/dd.c:569 [inline] device_remove+0x11f/0x170 drivers/base/dd.c:561 __device_release_driver drivers/base/dd.c:1272 [inline] device_release_driver_internal+0x44a/0x610 drivers/base/dd.c:1295 bus_remove_device+0x22c/0x420 drivers/base/bus.c:574 device_del+0x39a/0xa50 drivers/base/core.c:3811 usb_disable_device+0x36c/0x7f0 drivers/usb/core/message.c:1416 usb_disconnect+0x2e1/0x890 drivers/usb/core/hub.c:2252 hub_port_connect drivers/usb/core/hub.c:5280 [inline] hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] port_event drivers/usb/core/hub.c:5740 [inline] hub_event+0x1be0/0x4f30 drivers/usb/core/hub.c:5822 process_one_work+0x887/0x15d0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784 kthread+0x33a/0x430 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Showing all locks held in the system: 6 locks held by kworker/1:0/22: #0: ffff88810a664538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x774/0x15d0 kernel/workqueue.c:2602 #1: ffffc9000017fd88 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a7/0x15d0 kernel/workqueue.c:2605 #2: ffff88810671b190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #2: ffff88810671b190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f30 drivers/usb/core/hub.c:5768 #3: ffff888119b41190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #3: ffff888119b41190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 #4: ffff88811cd38160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #4: ffff88811cd38160 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 #5: ffffffff88fae7e8 (rtnl_mutex){+.+.}-{3:3}, at: ieee80211_register_hw+0x2136/0x42c0 net/mac80211/main.c:1335 1 lock held by khungtaskd/29: #0: ffffffff87eac820 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6607 2 locks held by dhcpcd/2423: #0: ffffffff88fae7e8 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x1d3/0x1f00 net/ipv4/devinet.c:1091 #1: ffff88810abe4db0 (&padapter->mutex_start){+.+.}-{3:3}, at: netdev_open+0x32/0x820 drivers/staging/rtl8712/os_intfs.c:392 2 locks held by getty/2443: #0: ffff88810b3270a0 (&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+0xfc5/0x1480 drivers/tty/n_tty.c:2206 6 locks held by kworker/0:3/5230: #0: ffff88810a664538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x774/0x15d0 kernel/workqueue.c:2602 #1: ffffc90001b9fd88 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a7/0x15d0 kernel/workqueue.c:2605 #2: ffff888106333190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #2: ffff888106333190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f30 drivers/usb/core/hub.c:5768 #3: ffff88810f7df190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #3: ffff88810f7df190 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x10a/0x890 drivers/usb/core/hub.c:2243 #4: ffff88810f7de160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #4: ffff88810f7de160 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff88810f7de160 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1292 #5: ffffffff88fae7e8 (rtnl_mutex){+.+.}-{3:3}, at: unregister_netdev+0x12/0x30 net/core/dev.c:11011 5 locks held by kworker/0:4/5283: 3 locks held by kworker/0:5/5284: #0: ffff888109f49938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x774/0x15d0 kernel/workqueue.c:2602 #1: ffffc90001c3fd88 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a7/0x15d0 kernel/workqueue.c:2605 #2: ffffffff88fae7e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4667 3 locks held by kworker/1:3/5319: #0: ffff888109f49938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x774/0x15d0 kernel/workqueue.c:2602 #1: ffffc900020c7d88 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a7/0x15d0 kernel/workqueue.c:2605 #2: ffffffff88fae7e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4667 6 locks held by kworker/1:5/5321: #0: ffff88810a664538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x774/0x15d0 kernel/workqueue.c:2602 #1: ffffc900020ffd88 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a7/0x15d0 kernel/workqueue.c:2605 #2: ffff888106313190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #2: ffff888106313190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f30 drivers/usb/core/hub.c:5768 #3: ffff88812003d190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #3: ffff88812003d190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 #4: ffff8881083cd160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #4: ffff8881083cd160 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 #5: ffffffff88fae7e8 (rtnl_mutex){+.+.}-{3:3}, at: register_netdev+0x13/0x50 net/core/dev.c:10264 5 locks held by kworker/0:2/14433: 4 locks held by udevd/24249: #0: ffff888111f09418 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xda/0x1280 fs/seq_file.c:182 #1: ffff888105f01888 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x4b/0x460 fs/kernfs/file.c:154 #2: ffff88811dc8a008 (kn->active#29){++++}-{0:0}, at: kernfs_seq_start+0x6f/0x460 fs/kernfs/file.c:155 #3: ffff88812003d190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:997 [inline] #3: ffff88812003d190 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142 4 locks held by udevd/25053: #0: ffff88810730fb08 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xda/0x1280 fs/seq_file.c:182 #1: ffff88814145c888 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x4b/0x460 fs/kernfs/file.c:154 #2: ffff88810634bcb8 (kn->active#29){++++}-{0:0}, at: kernfs_seq_start+0x6f/0x460 fs/kernfs/file.c:155 #3: ffff88813ddbc190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:997 [inline] #3: ffff88813ddbc190 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x26c/0x2d0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfac/0x1230 kernel/hung_task.c:379 kthread+0x33a/0x430 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2515 Comm: syz-executor.2 Not tainted 6.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 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:arch_local_irq_save arch/x86/include/asm/irqflags.h:103 [inline] RIP: 0010:lock_acquire kernel/locking/lockdep.c:5749 [inline] RIP: 0010:lock_acquire+0x159/0x510 kernel/locking/lockdep.c:5718 Code: e9 03 0f b6 0c 01 48 89 f8 83 e0 07 83 c0 03 38 c8 7c 08 84 c9 0f 85 75 03 00 00 8b 92 7c 0a 00 00 85 d2 0f 85 d2 00 00 00 9c <8f> 44 24 08 48 8b 6c 24 08 fa 48 c7 c7 00 cb 87 86 e8 c1 c0 18 05 RSP: 0018:ffffc9000161f9c8 EFLAGS: 00000046 RAX: 0000000000000007 RBX: 1ffff920002c3f3c RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff86a649a0 RDI: ffff88810835c47c RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff126634a R10: ffffffff89331a57 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000001 R14: ffffffff88247000 R15: 0000000000000000 FS: 0000555557128480(0000) GS:ffff8881f6700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffc4c69e08 CR3: 00000001403d3000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_objects_fill_pool lib/debugobjects.c:614 [inline] debug_object_activate+0x144/0x490 lib/debugobjects.c:713 debug_hrtimer_activate kernel/time/hrtimer.c:422 [inline] debug_activate kernel/time/hrtimer.c:477 [inline] enqueue_hrtimer+0x23/0x310 kernel/time/hrtimer.c:1087 __hrtimer_start_range_ns kernel/time/hrtimer.c:1261 [inline] hrtimer_start_range_ns+0x7c0/0xdb0 kernel/time/hrtimer.c:1301 hrtimer_start_expires include/linux/hrtimer.h:432 [inline] hrtimer_sleeper_start_expires kernel/time/hrtimer.c:1968 [inline] do_nanosleep+0x1f2/0x500 kernel/time/hrtimer.c:2044 hrtimer_nanosleep+0x1ae/0x440 kernel/time/hrtimer.c:2100 common_nsleep+0xa1/0xc0 kernel/time/posix-timers.c:1350 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1396 [inline] __se_sys_clock_nanosleep kernel/time/posix-timers.c:1373 [inline] __x64_sys_clock_nanosleep+0x344/0x490 kernel/time/posix-timers.c:1373 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f824ffc5eb3 Code: 00 00 00 00 0f 1f 00 83 ff 03 74 7b 83 ff 02 b8 fa ff ff ff 49 89 ca 0f 44 f8 80 3d 4e 40 0d 00 00 74 14 b8 e6 00 00 00 0f 05 d8 c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec 28 48 89 54 24 10 RSP: 002b:00007ffdf339c798 EFLAGS: 00000202 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 0000000000000aa2 RCX: 00007f824ffc5eb3 RDX: 00007ffdf339c7b0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffdf339c83c R08: 0000000000000864 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000032 R13: 000000000020c37a R14: 000000000020c37a R15: 0000000000000000