INFO: task kworker/1:6:4143 blocked for more than 143 seconds. Not tainted 5.17.0-rc6-syzkaller-00087-gca9400ef7f67 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:6 state:D stack:22816 pid: 4143 ppid: 2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:4995 [inline] __schedule+0x931/0x22e0 kernel/sched/core.c:6304 schedule+0xd2/0x260 kernel/sched/core.c:6377 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 unregister_netdev+0xe/0x20 net/core/dev.c:10473 usbnet_disconnect+0x139/0x270 drivers/net/usb/usbnet.c:1623 usb_unbind_interface+0x1d8/0x8e0 drivers/usb/core/driver.c:458 __device_release_driver+0x627/0x760 drivers/base/dd.c:1209 device_release_driver_internal drivers/base/dd.c:1242 [inline] device_release_driver+0x26/0x40 drivers/base/dd.c:1265 bus_remove_device+0x2eb/0x5a0 drivers/base/bus.c:529 device_del+0x4f3/0xc80 drivers/base/core.c:3592 usb_disable_device+0x35b/0x7b0 drivers/usb/core/message.c:1419 usb_disconnect.cold+0x27a/0x78e drivers/usb/core/hub.c:2228 hub_port_connect drivers/usb/core/hub.c:5207 [inline] hub_port_connect_change drivers/usb/core/hub.c:5507 [inline] port_event drivers/usb/core/hub.c:5665 [inline] hub_event+0x1e39/0x44d0 drivers/usb/core/hub.c:5747 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x2ef/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Showing all locks held in the system: 3 locks held by kworker/0:0/5: #0: ffff88810e632d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] ffff88810e632d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] ffff88810e632d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] ffff88810e632d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] ffff88810e632d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] ffff88810e632d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc9000005fdb8 ((addr_chk_work).work){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffffffff88885a68 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4608 1 lock held by khungtaskd/24: #0: ffffffff87891880 (rcu_read_lock ){....}-{1:2} , at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 4 locks held by kworker/u4:5/1053: #0: ffff8881001c2938 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc90002457db8 ( net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffffffff88871e10 (pernet_ops_rwsem ){++++}-{3:3}, at: cleanup_net+0x9b/0xb00 net/core/net_namespace.c:559 #3: ffffffff88885a68 (rtnl_mutex ){+.+.}-{3:3} , at: sit_exit_batch_net+0x88/0x750 net/ipv6/sit.c:1946 3 locks held by dhcpcd/1208: 2 locks held by getty/1230: #0: ffff88810e723098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900000432e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2075 6 locks held by kworker/0:4/4104: 6 locks held by kworker/1:6/4143: #0: ffff8881039bfd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc90002387db8 ((work_completion)(&hub->events) ){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffff88810d2ea220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] #2: ffff88810d2ea220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x44d0 drivers/usb/core/hub.c:5693 #3: ffff88810aa2f220 (&dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:767 [inline] , at: usb_disconnect.cold+0x43/0x78e drivers/usb/core/hub.c:2219 #4: ffff88810aa2d1a8 ( &dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:767 [inline] , at: __device_driver_lock drivers/base/dd.c:1036 [inline] , at: device_release_driver_internal drivers/base/dd.c:1239 [inline] , at: device_release_driver+0x1c/0x40 drivers/base/dd.c:1265 #5: ffffffff88885a68 (rtnl_mutex ){+.+.}-{3:3}, at: unregister_netdev+0xe/0x20 net/core/dev.c:10473 3 locks held by udevd/4271: #0: ffff88810dd71488 (&of->mutex ){+.+.}-{3:3}, at: kernfs_file_read_iter fs/kernfs/file.c:203 [inline] ){+.+.}-{3:3}, at: kernfs_fop_read_iter+0x189/0x6f0 fs/kernfs/file.c:242 #1: ffff88810ce3d918 (kn->active#45){++++}-{0:0}, at: kernfs_file_read_iter fs/kernfs/file.c:204 [inline] #1: ffff88810ce3d918 (kn->active#45){++++}-{0:0}, at: kernfs_fop_read_iter+0x1ac/0x6f0 fs/kernfs/file.c:242 #2: ffff888137114220 (&dev->mutex){....}-{3:3} , at: device_lock_interruptible include/linux/device.h:772 [inline] , at: read_descriptors+0x3c/0x2c0 drivers/usb/core/sysfs.c:873 6 locks held by kworker/1:9/7382: #0: ffff8881039bfd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881039bfd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff8881039bfd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff8881039bfd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff8881039bfd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff8881039bfd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc9000986fdb8 ((work_completion)(&hub->events) ){+.+.}-{0:0} , at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffff88810d222220 (&dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:767 [inline] , at: hub_event+0x1c5/0x44d0 drivers/usb/core/hub.c:5693 #3: ffff8881197d4220 (&dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:767 [inline] , at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:948 #4: ffff88810bec61a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] #4: ffff88810bec61a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:948 #5: ffff888116090d20 (&dev->phy_mutex){+.+.}-{3:3}, at: asix_mdio_read+0x86/0x250 drivers/net/usb/asix_common.c:497 6 locks held by kworker/1:1/13907: 1 lock held by syz-executor.3/15849: #0: ffffffff88885a68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3be/0xb80 net/core/rtnetlink.c:5593 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 24 Comm: khungtaskd Not tainted 5.17.0-rc6-syzkaller-00087-gca9400ef7f67 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:369 kthread+0x2ef/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1208 Comm: dhcpcd Not tainted 5.17.0-rc6-syzkaller-00087-gca9400ef7f67 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_kcov_mode+0x1c/0x40 kernel/kcov.c:166 Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc 65 8b 05 79 73 be 7e 89 c2 81 e2 00 01 00 00 a9 00 01 ff 00 74 10 31 c0 85 d2 74 15 <8b> 96 bc 14 00 00 85 d2 74 0b 8b 86 98 14 00 00 39 f8 0f 94 c0 c3 RSP: 0018:ffffc90000158f40 EFLAGS: 00000006 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000100 RSI: ffff888110f45400 RDI: 0000000000000003 RBP: ffff888100359c00 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff814a33d8 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000080 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fc7f5713740(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00061a000 CR3: 0000000116555000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: write_comp_data kernel/kcov.c:221 [inline] __sanitizer_cov_trace_const_cmp4+0x1c/0x70 kernel/kcov.c:287 trace_hardirqs_on+0x38/0x1c0 kernel/trace/trace_preemptirq.c:43 __do_softirq+0x17d/0x9a5 kernel/softirq.c:542 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x113/0x170 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:200 Code: 48 89 ef 5d e9 11 7f 2e 00 5d be 03 00 00 00 e9 76 8b c1 00 66 0f 1f 44 00 00 48 8b be b0 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 <65> 8b 05 c9 6e be 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b RSP: 0018:ffffc90000fbf290 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888110f45400 RSI: ffffffff812bdbf1 RDI: 0000000000000003 RBP: ffffc90000fbf2d0 R08: 0000000000000000 R09: ffffffff8a7ed7df R10: ffffffff812bdbe7 R11: 0000000000000000 R12: 0000000000000038 R13: ffff8881085a3800 R14: 0000000000000200 R15: ffffc90000fbf3f0 console_trylock_spinning kernel/printk/printk.c:1885 [inline] vprintk_emit+0x377/0x4f0 kernel/printk/printk.c:2244 dev_vprintk_emit+0x36e/0x3b2 drivers/base/core.c:4604 dev_printk_emit+0xba/0xf1 drivers/base/core.c:4615 __netdev_printk+0x1c6/0x27a net/core/dev.c:10782 netdev_warn+0xd7/0x109 net/core/dev.c:10835 asix_write_cmd.cold+0x3a/0x46 drivers/net/usb/asix_common.c:54 asix_set_sw_mii drivers/net/usb/asix_common.c:300 [inline] asix_check_host_enable+0x9e/0x1c0 drivers/net/usb/asix_common.c:74 asix_mdio_read+0x90/0x250 drivers/net/usb/asix_common.c:499 asix_phy_reset+0x104/0x170 drivers/net/usb/asix_devices.c:215 ax88178_reset+0x3f5/0x1310 drivers/net/usb/asix_devices.c:977 usbnet_open+0xc8/0x5d0 drivers/net/usb/usbnet.c:894 __dev_open+0x2c4/0x4d0 net/core/dev.c:1407 __dev_change_flags+0x583/0x750 net/core/dev.c:8139 dev_change_flags+0x93/0x170 net/core/dev.c:8210 devinet_ioctl+0x15d1/0x1ca0 net/ipv4/devinet.c:1144 inet_ioctl+0x1e6/0x320 net/ipv4/af_inet.c:969 sock_do_ioctl+0xcc/0x230 net/socket.c:1122 sock_ioctl+0x2f1/0x640 net/socket.c:1239 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fc7f58010e7 Code: 3c 1c e8 1c ff ff ff 85 c0 79 87 49 c7 c4 ff ff ff ff 5b 5d 4c 89 e0 41 5c c3 66 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 61 9d 0c 00 f7 d8 64 89 01 48 RSP: 002b:00007ffd5c2f8288 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc7f57136c8 RCX: 00007fc7f58010e7 RDX: 00007ffd5c308478 RSI: 0000000000008914 RDI: 0000000000000005 RBP: 00007ffd5c318628 R08: 00007ffd5c308438 R09: 00007ffd5c3083e8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd5c308478 R14: 0000000000000028 R15: 0000000000008914 ---------------- Code disassembly (best guess): 0: cc int3 1: cc int3 2: cc int3 3: cc int3 4: cc int3 5: cc int3 6: cc int3 7: cc int3 8: cc int3 9: cc int3 a: cc int3 b: cc int3 c: cc int3 d: cc int3 e: 65 8b 05 79 73 be 7e mov %gs:0x7ebe7379(%rip),%eax # 0x7ebe738e 15: 89 c2 mov %eax,%edx 17: 81 e2 00 01 00 00 and $0x100,%edx 1d: a9 00 01 ff 00 test $0xff0100,%eax 22: 74 10 je 0x34 24: 31 c0 xor %eax,%eax 26: 85 d2 test %edx,%edx 28: 74 15 je 0x3f * 2a: 8b 96 bc 14 00 00 mov 0x14bc(%rsi),%edx <-- trapping instruction 30: 85 d2 test %edx,%edx 32: 74 0b je 0x3f 34: 8b 86 98 14 00 00 mov 0x1498(%rsi),%eax 3a: 39 f8 cmp %edi,%eax 3c: 0f 94 c0 sete %al 3f: c3 retq