INFO: task kworker/1:5:5608 blocked for more than 143 seconds. Not tainted 6.5.0-rc4-syzkaller-00091-gb35935d66a3a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:5 state:D stack:18608 pid:5608 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc79/0x30a0 kernel/sched/core.c:6710 schedule+0xe7/0x1b0 kernel/sched/core.c:6786 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845 __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:10923 usbnet_disconnect+0xed/0x540 drivers/net/usb/usbnet.c:1621 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:1270 [inline] device_release_driver_internal+0x44a/0x610 drivers/base/dd.c:1293 bus_remove_device+0x22c/0x420 drivers/base/bus.c:574 device_del+0x39a/0xa40 drivers/base/core.c:3814 usb_disable_device+0x36c/0x7f0 drivers/usb/core/message.c:1421 usb_disconnect+0x2e1/0x890 drivers/usb/core/hub.c:2276 hub_port_connect drivers/usb/core/hub.c:5284 [inline] hub_port_connect_change drivers/usb/core/hub.c:5589 [inline] port_event drivers/usb/core/hub.c:5749 [inline] hub_event+0x2221/0x5330 drivers/usb/core/hub.c:5831 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2597 worker_thread+0x687/0x1110 kernel/workqueue.c:2748 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Showing all locks held in the system: 4 locks held by kworker/0:1/9: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff87ea74b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/13: #0: ffffffff87ea71b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522 1 lock held by khungtaskd/28: #0: ffffffff87ea80c0 ( rcu_read_lock){....}-{1:2} , at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 5 locks held by kworker/0:2/687: #0: ffff88810be54538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff88810be54538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff88810be54538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff88810be54538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff88810be54538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff88810be54538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff88810be54538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc900021efd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 #2: ffff88810634f190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline] #2: ffff88810634f190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1cc/0x5330 drivers/usb/core/hub.c:5777 #3: ffff888145e41190 (&dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:958 [inline] , at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1003 #4: ffff88813e082160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline] #4: ffff88813e082160 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1003 4 locks held by dhcpcd/2413: 2 locks held by getty/2433: #0: ffff8881006ce098 ( &tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900000452f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfcb/0x1480 drivers/tty/n_tty.c:2187 6 locks held by kworker/0:4/5308: #0: ffff88810be54538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc90001df7d80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 #2: ffff8881063bf190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline] #2: ffff8881063bf190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1cc/0x5330 drivers/usb/core/hub.c:5777 #3: ffff88813ab67190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline] (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1003 #4: ffff8881451d0160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline] ffff8881451d0160 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1003 #5: ffffffff88f953a8 (rtnl_mutex){+.+.}-{3:3}, at: register_netdev+0x13/0x50 net/core/dev.c:10177 6 locks held by kworker/1:5/5608: #0: ffff88810be54538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff88810be54538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff88810be54538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff88810be54538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff88810be54538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff88810be54538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff88810be54538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc90002b4fd80 ((work_completion)(&hub->events)){+.+.}-{0:0} , at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 #2: ffff88810630f190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline] #2: ffff88810630f190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1cc/0x5330 drivers/usb/core/hub.c:5777 #3: ffff8881168e7190 ( &dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:958 [inline] , at: usb_disconnect+0x10a/0x890 drivers/usb/core/hub.c:2267 #4: ffff88811a159160 (&dev->mutex ){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline] ){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1093 [inline] ){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1290 #5: ffffffff88f953a8 (rtnl_mutex){+.+.}-{3:3}, at: unregister_netdev+0x12/0x30 net/core/dev.c:10923 3 locks held by kworker/1:0/12977: #0: ffff888100071d38 ((wq_completion)events_power_efficient ){+.+.}-{0:0} , at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] , at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] , at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] , at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] , at: set_work_data kernel/workqueue.c:675 [inline] , at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] , at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc900022cfd80 ( (reg_check_chans).work ){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 #2: ffffffff88f953a8 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x7d/0x1060 net/wireless/reg.c:2462 5 locks held by kworker/0:3/17734: #0: ffff88810be54538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc90004b6fd80 ((work_completion)(&hub->events)){+.+.}-{0:0} , at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 #2: ffff88810632f190 ( &dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline] &dev->mutex){....}-{3:3}, at: hub_event+0x1cc/0x5330 drivers/usb/core/hub.c:5777 #3: ffff8881f663b218 (&rq->__lock ){-.-.}-{2:2} , at: raw_spin_rq_lock_nested kernel/sched/core.c:558 [inline] , at: raw_spin_rq_lock kernel/sched/sched.h:1366 [inline] , at: rq_lock kernel/sched/sched.h:1675 [inline] , at: __schedule+0x290/0x30a0 kernel/sched/core.c:6627 #4: ffffffff8c0a9a10 (&obj_hash[i].lock ){-.-.}-{2:2} , at: debug_object_activate+0x1a4/0x490 lib/debugobjects.c:717 3 locks held by kworker/1:10/20394: 3 locks held by kworker/0:6/25961: #0: ffff88810b3b5938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0} , at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] , at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] , at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] , at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] , at: set_work_data kernel/workqueue.c:675 [inline] , at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] , at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc9000795fd80 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 #2: ffffffff88f953a8 ( rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4635 3 locks held by kworker/1:11/3567: #0: ffff88810b3b5938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff88810b3b5938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff88810b3b5938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff88810b3b5938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff88810b3b5938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff88810b3b5938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff88810b3b5938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc90006c9fd80 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 #2: ffffffff88f953a8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4635 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc4-syzkaller-00091-gb35935d66a3a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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+0x27b/0x2e0 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+0xf29/0x11b0 kernel/hung_task.c:379 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2413 Comm: dhcpcd Not tainted 6.5.0-rc4-syzkaller-00091-gb35935d66a3a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:native_apic_mem_write+0xc/0x10 arch/x86/include/asm/apic.h:110 Code: 1f 00 be 01 00 00 00 e9 f2 d7 20 00 66 90 66 0f 1f 00 b8 01 00 00 00 c3 66 0f 1f 44 00 00 f3 0f 1e fa 89 ff 89 b7 00 c0 5f ff 0f 1f 00 f3 0f 1e fa 48 b8 00 00 00 00 00 fc ff df 53 89 fb 48 RSP: 0018:ffffc90000007eb0 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffffffff87a08b00 RCX: 0000000000000020 RDX: 1ffffffff0f41162 RSI: 000000000003537d RDI: 0000000000000380 RBP: 000000000003537d R08: 0000000000000005 R09: 000000000000003f R10: 0000000000000020 R11: 0000000000002400 R12: 0000000000000000 R13: 0000000000000020 R14: 0000000000000000 R15: 7fffffffffffffff FS: 00007f600a04b740(0000) GS:ffff8881f6600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe4c953ad58 CR3: 000000010a31d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: apic_write arch/x86/include/asm/apic.h:394 [inline] lapic_next_event+0x50/0x80 arch/x86/kernel/apic/apic.c:481 clockevents_program_event+0x262/0x370 kernel/time/clockevents.c:334 tick_program_event+0xa5/0x130 kernel/time/tick-oneshot.c:44 hrtimer_interrupt+0x36d/0x800 kernel/time/hrtimer.c:1827 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1115 sysvec_apic_timer_interrupt+0x89/0xb0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1972 [inline] RIP: 0010:vprintk_emit+0x3f6/0x640 kernel/printk/printk.c:2306 Code: 00 00 e8 cd d8 1b 00 9c 8f 45 d0 48 8b 45 d0 31 ff 25 00 02 00 00 49 89 c6 48 89 c6 e8 43 d4 1b 00 4d 85 f6 0f 85 fa 01 00 00 0f 1e fa e8 a1 d8 1b 00 45 31 c9 41 b8 01 00 00 00 31 c9 68 a6 RSP: 0018:ffffc900015072c8 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000038 RCX: 0000000000000000 RDX: ffff888116f13a00 RSI: ffffffff8130749a RDI: 0000000000000007 RBP: ffffc90001507300 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000200 R13: ffff888105665700 R14: 0000000000000001 R15: 0000000000000000 dev_vprintk_emit drivers/base/core.c:4840 [inline] dev_printk_emit+0xfb/0x140 drivers/base/core.c:4851 __netdev_printk+0x1da/0x480 net/core/dev.c:11231 netdev_warn+0xe5/0x120 net/core/dev.c:11284 asix_write_cmd+0xe9/0x100 drivers/net/usb/asix_common.c:57 asix_set_sw_mii drivers/net/usb/asix_common.c:75 [inline] asix_check_host_enable+0x155/0x240 drivers/net/usb/asix_common.c:98 __asix_mdio_read+0xa3/0x260 drivers/net/usb/asix_common.c:506 asix_phy_reset+0x106/0x1f0 drivers/net/usb/asix_devices.c:215 ax88178_reset+0x42e/0x12f0 drivers/net/usb/asix_devices.c:1126 usbnet_open+0xcc/0xbe0 drivers/net/usb/usbnet.c:887 __dev_open+0x2c4/0x4d0 net/core/dev.c:1442 __dev_change_flags+0x56f/0x730 net/core/dev.c:8530 dev_change_flags+0x9a/0x170 net/core/dev.c:8602 devinet_ioctl+0x13ef/0x1f00 net/ipv4/devinet.c:1150 inet_ioctl+0x3a6/0x3f0 net/ipv4/af_inet.c:980 sock_do_ioctl+0x115/0x290 net/socket.c:1190 sock_ioctl+0x205/0x6e0 net/socket.c:1307 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:856 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:0x7f600a119d49 Code: 5c c3 48 8d 44 24 08 48 89 54 24 e0 48 89 44 24 c0 48 8d 44 24 d0 48 89 44 24 c8 b8 10 00 00 00 c7 44 24 b8 10 00 00 00 0f 05 <41> 89 c0 3d 00 f0 ff ff 76 10 48 8b 15 ae 60 0d 00 f7 d8 41 83 c8 RSP: 002b:00007ffe90c16be8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f600a04b6c0 RCX: 00007f600a119d49 RDX: 00007ffe90c26dd8 RSI: 0000000000008914 RDI: 0000000000000005 RBP: 00007ffe90c36f98 R08: 00007ffe90c26d98 R09: 00007ffe90c26d48 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe90c26dd8 R14: 0000000000000028 R15: 0000000000008914