INFO: task kworker/0:8:12973 blocked for more than 143 seconds. Not tainted 5.18.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:8 state:D stack:23128 pid:12973 ppid: 2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0x93c/0x25d0 kernel/sched/core.c:6382 schedule+0xd2/0x1f0 kernel/sched/core.c:6454 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6513 __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:10809 usbnet_disconnect+0x139/0x270 drivers/net/usb/usbnet.c:1623 usb_unbind_interface+0x1d8/0x8e0 drivers/usb/core/driver.c:458 device_remove drivers/base/dd.c:531 [inline] device_remove+0x11f/0x170 drivers/base/dd.c:523 __device_release_driver drivers/base/dd.c:1199 [inline] device_release_driver_internal+0x4a3/0x680 drivers/base/dd.c:1222 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+0x278/0x6ec 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+0x1e74/0x4680 drivers/usb/core/hub.c:5747 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2ef/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Showing all locks held in the system: 5 locks held by kworker/0:0/6: #0: ffff888109aa3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0} , at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] , at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] , at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] , at: set_work_data kernel/workqueue.c:636 [inline] , at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] , at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc9000006fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffff88810efc0220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] #2: ffff88810efc0220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4680 drivers/usb/core/hub.c:5693 #3: ffff888139b0a220 ( &dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] &dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944 #4: ffff88813a4e41a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] #4: ffff88813a4e41a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944 6 locks held by kworker/0:1/12: #0: ffff888109aa3d38 ((wq_completion)usb_hub_wq ){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] ){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] ){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] ){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] ){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] ){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc900000cfda8 ((work_completion)(&hub->events)){+.+.}-{0:0} , at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffff88810f020220 (&dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:767 [inline] , at: hub_event+0x1c1/0x4680 drivers/usb/core/hub.c:5693 #3: ffff88810964c220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] #3: ffff88810964c220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944 #4: ffff88811909b1a8 (&dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:767 [inline] , at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944 #5: ffffffff88ab0728 (rtnl_mutex){+.+.}-{3:3}, at: register_netdev+0x11/0x50 net/core/dev.c:10085 1 lock held by khungtaskd/26: #0: ffffffff87a91440 (rcu_read_lock ){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6467 1 lock held by dhcpcd/1210: 2 locks held by getty/1232: #0: ffff888110ae0098 (&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+0xcea/0x1230 drivers/tty/n_tty.c:2075 3 locks held by kworker/1:4/4101: #0: ffff888110015d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888110015d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888110015d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888110015d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888110015d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888110015d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc9000189fda8 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffffffff88ab0728 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xe/0x20 net/ipv6/addrconf.c:4603 3 locks held by kworker/0:3/4111: #0: ffff888100065d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888100065d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888100065d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888100065d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888100065d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888100065d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc9000178fda8 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffffffff88ab0728 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x83/0xe20 net/wireless/reg.c:2457 6 locks held by kworker/1:8/9858: #0: ffff888109aa3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888109aa3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888109aa3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888109aa3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888109aa3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888109aa3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc9000125fda8 ((work_completion)(&hub->events) ){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffff88810f026220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] #2: ffff88810f026220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4680 drivers/usb/core/hub.c:5693 #3: ffff8881121bc220 (&dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:767 [inline] , at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944 #4: ffff8881094d51a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:944 #5: ffffffff88ab0728 ( rtnl_mutex){+.+.}-{3:3}, at: register_netdev+0x11/0x50 net/core/dev.c:10085 6 locks held by kworker/0:8/12973: #0: ffff888109aa3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888109aa3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888109aa3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888109aa3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888109aa3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888109aa3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc9000274fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffff88810e807220 ( &dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] &dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4680 drivers/usb/core/hub.c:5693 #3: ffff888139380220 (&dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:767 [inline] , at: usb_disconnect.cold+0x43/0x6ec drivers/usb/core/hub.c:2219 #4: ffff8881393841a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] #4: ffff8881393841a8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1032 [inline] #4: ffff8881393841a8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa0/0x680 drivers/base/dd.c:1219 #5: ffffffff88ab0728 (rtnl_mutex ){+.+.}-{3:3}, at: unregister_netdev+0xe/0x20 net/core/dev.c:10809 3 locks held by udevd/21111: #0: ffff888141f40888 (&of->mutex){+.+.}-{3:3} , at: kernfs_file_read_iter fs/kernfs/file.c:198 [inline] , at: kernfs_fop_read_iter+0x189/0x6f0 fs/kernfs/file.c:237 #1: ffff88811353fae8 (kn->active#49){++++}-{0:0}, at: kernfs_file_read_iter fs/kernfs/file.c:199 [inline] #1: ffff88811353fae8 (kn->active#49){++++}-{0:0}, at: kernfs_fop_read_iter+0x1ac/0x6f0 fs/kernfs/file.c:237 #2: ffff88810964c220 (&dev->mutex ){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:772 [inline] ){....}-{3:3}, at: read_descriptors+0x3c/0x2c0 drivers/usb/core/sysfs.c:873 3 locks held by udevd/21514: #0: ffff88813bb5c888 ( &of->mutex){+.+.}-{3:3}, at: kernfs_file_read_iter fs/kernfs/file.c:198 [inline] &of->mutex){+.+.}-{3:3}, at: kernfs_fop_read_iter+0x189/0x6f0 fs/kernfs/file.c:237 #1: ffff888108cc1da0 (kn->active#49){++++}-{0:0}, at: kernfs_file_read_iter fs/kernfs/file.c:199 [inline] #1: ffff888108cc1da0 (kn->active#49){++++}-{0:0}, at: kernfs_fop_read_iter+0x1ac/0x6f0 fs/kernfs/file.c:237 #2: ffff888115c6f220 ( &dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:772 [inline] &dev->mutex){....}-{3:3}, at: read_descriptors+0x3c/0x2c0 drivers/usb/core/sysfs.c:873 3 locks held by kworker/0:4/25336: #0: ffff888110015d38 ( (wq_completion)ipv6_addrconf ){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] ){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] ){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] ){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] ){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] ){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc90001e5fda8 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffffffff88ab0728 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xe/0x20 net/ipv6/addrconf.c:4603 5 locks held by kworker/0:7/28797: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.18.0-rc1-syzkaller #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:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 23344 Comm: kworker/1:6 Not tainted 5.18.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events legacy_dvb_usb_read_remote_control RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x18/0x80 kernel/kcov.c:274 Code: 4c 38 f0 4e 89 54 c8 20 48 89 10 c3 66 0f 1f 44 00 00 53 41 89 fb 41 89 f1 bf 03 00 00 00 65 48 8b 0c 25 40 6f 02 00 48 89 ce <4c> 8b 54 24 08 e8 ae f7 ff ff 84 c0 74 51 48 8b 81 a0 14 00 00 44 RSP: 0018:ffffc9000370f500 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8881199eb800 RDX: ffff8881199eb800 RSI: ffff8881199eb800 RDI: 0000000000000003 RBP: 0000000000000000 R08: 000000000000002f R09: 0000000000000000 R10: ffffffff8224c2f3 R11: 0000000000000000 R12: ffffc9000370f831 R13: ffffffff86483d24 R14: ffffc9000370f83c R15: ffffc9000370f831 FS: 0000000000000000(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7ddc130008 CR3: 000000010fc94000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: number+0x15c/0xae0 lib/vsprintf.c:470 vsnprintf+0xf51/0x1660 lib/vsprintf.c:2872 snprintf+0xbb/0xf0 lib/vsprintf.c:2941 print_caller kernel/printk/printk.c:1283 [inline] info_print_prefix+0x11c/0x340 kernel/printk/printk.c:1302 record_print_text+0x14d/0x3e0 kernel/printk/printk.c:1349 console_unlock+0x333/0xdd0 kernel/printk/printk.c:2755 vprintk_emit+0x1b4/0x5f0 kernel/printk/printk.c:2272 vprintk+0x80/0x90 kernel/printk/printk_safe.c:50 _printk+0xba/0xed kernel/printk/printk.c:2293 legacy_dvb_usb_read_remote_control.cold+0x11/0x16 drivers/media/usb/dvb-usb/dvb-usb-remote.c:124 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2ef/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 ---------------- Code disassembly (best guess): 0: 4c 38 f0 rex.WR cmp %r14b,%al 3: 4e 89 54 c8 20 mov %r10,0x20(%rax,%r9,8) 8: 48 89 10 mov %rdx,(%rax) b: c3 retq c: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 12: 53 push %rbx 13: 41 89 fb mov %edi,%r11d 16: 41 89 f1 mov %esi,%r9d 19: bf 03 00 00 00 mov $0x3,%edi 1e: 65 48 8b 0c 25 40 6f mov %gs:0x26f40,%rcx 25: 02 00 27: 48 89 ce mov %rcx,%rsi * 2a: 4c 8b 54 24 08 mov 0x8(%rsp),%r10 <-- trapping instruction 2f: e8 ae f7 ff ff callq 0xfffff7e2 34: 84 c0 test %al,%al 36: 74 51 je 0x89 38: 48 8b 81 a0 14 00 00 mov 0x14a0(%rcx),%rax 3f: 44 rex.R