INFO: task kworker/0:6:4272 blocked for more than 143 seconds. Not tainted 5.17.0-rc6-syzkaller-00100-g98d107b84614 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:6 state:D stack:22560 pid: 4272 ppid: 2 flags:0x00004000 Workqueue: events linkwatch_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 linkwatch_event+0xb/0x60 net/core/link_watch.c:262 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: 6 locks held by kworker/0:0/5: #0: ffff888103fef938 ((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:631 [inline] , at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] , at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc9000005fdb8 ((work_completion)(&hub->events) ){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffff88810cf39220 ( &dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] &dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x44d0 drivers/usb/core/hub.c:5693 #3: ffff888114230220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] ffff888114230220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:948 #4: ffff88813b4221a8 (&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:948 #5: ffffffff88885b68 (rtnl_mutex){+.+.}-{3:3}, at: register_netdev+0x11/0x50 net/core/dev.c:9789 1 lock held by khungtaskd/25: #0: ffffffff87891880 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 1 lock held by dhcpcd/1206: #0: ffffffff88885b68 (rtnl_mutex){+.+.}-{3:3}, at: __netlink_dump_start+0x16a/0x900 net/netlink/af_netlink.c:2337 2 locks held by getty/1228: #0: ffff88810dbf7098 (&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 2 locks held by kworker/u4:4/1300: #0: ffff888100069138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888100069138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888100069138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888100069138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff888100069138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff888100069138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc900011ffdb8 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 5 locks held by kworker/0:5/4270: 3 locks held by kworker/0:6/4272: #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc90007fa7db8 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffffffff88885b68 (rtnl_mutex){+.+.}-{3:3} , at: linkwatch_event+0xb/0x60 net/core/link_watch.c:262 2 locks held by kworker/0:7/5320: 6 locks held by kworker/0:3/9753: #0: ffff888103fef938 ((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: ffffc9000c187db8 ((work_completion)(&hub->events)){+.+.}-{0:0} , at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffff88810cf09220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] #2: ffff88810cf09220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x44d0 drivers/usb/core/hub.c:5693 #3: ffff88813506e220 (&dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:767 [inline] , at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:948 #4: ffff8881168291a8 (&dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:767 [inline] , at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:948 #5: ffffffff88885b68 ( rtnl_mutex){+.+.}-{3:3}, at: register_netdev+0x11/0x50 net/core/dev.c:9789 7 locks held by kworker/0:2/17340: #0: ffff888103fef938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] ffff888103fef938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] ffff888103fef938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] ffff888103fef938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] ffff888103fef938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] ffff888103fef938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc90008af7db8 ((work_completion)(&hub->events)){+.+.}-{0:0} , at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffff88810d0a1220 (&dev->mutex ){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] ){....}-{3:3}, at: hub_event+0x1c5/0x44d0 drivers/usb/core/hub.c:5693 #3: ffff888119c7f220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] (&dev->mutex){....}-{3:3}, at: usb_disconnect.cold+0x43/0x78e drivers/usb/core/hub.c:2219 #4: ffff88812d3ff1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] #4: ffff88812d3ff1a8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1036 [inline] #4: ffff88812d3ff1a8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal drivers/base/dd.c:1239 [inline] #4: ffff88812d3ff1a8 (&dev->mutex){....}-{3:3}, at: device_release_driver+0x1c/0x40 drivers/base/dd.c:1265 #5: ffffffff88885b68 (rtnl_mutex){+.+.}-{3:3}, at: unregister_netdev+0xe/0x20 net/core/dev.c:10473 #6: ffffffff8789a928 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4fa/0x620 kernel/rcu/tree_exp.h:840 3 locks held by kworker/1:1/18218: #0: ffff88810e01e938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88810e01e938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88810e01e938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff88810e01e938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff88810e01e938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff88810e01e938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc9000c427db8 ((addr_chk_work).work){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffffffff88885b68 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4608 4 locks held by udevd/18619: #0: ffff88813bb42d58 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xdf/0x1280 fs/seq_file.c:182 #1: ffff888110cb0888 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x47/0x470 fs/kernfs/file.c:112 #2: ffff8881380333a8 (kn->active#55){++++}-{0:0}, at: kernfs_seq_start+0x71/0x470 fs/kernfs/file.c:113 #3: ffff888119c7f220 ( &dev->mutex ){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:772 [inline] ){....}-{3:3}, at: product_show+0x22/0xa0 drivers/usb/core/sysfs.c:140 3 locks held by udevd/18713: #0: ffff88811646f088 (&of->mutex){+.+.}-{3:3}, at: kernfs_file_read_iter fs/kernfs/file.c:203 [inline] (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_read_iter+0x189/0x6f0 fs/kernfs/file.c:242 #1: ffff88810ba94490 (kn->active#51){++++}-{0:0}, at: kernfs_file_read_iter fs/kernfs/file.c:204 [inline] (kn->active#51){++++}-{0:0}, at: kernfs_fop_read_iter+0x1ac/0x6f0 fs/kernfs/file.c:242 #2: ffff888114230220 (&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 5 locks held by kworker/0:8/19674: 6 locks held by kworker/0:9/19677: #0: ffff888103fef938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888103fef938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888103fef938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888103fef938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff888103fef938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff888103fef938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc9000a7a7db8 ( (work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffff88810cf91220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] #2: ffff88810cf91220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x44d0 drivers/usb/core/hub.c:5693 #3: ffff88810bbe0220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] #3: ffff88810bbe0220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:948 #4: ffff88810bbe31a8 (&dev->mutex ){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] ){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:948 #5: ffffffff88885b68 ( rtnl_mutex){+.+.}-{3:3}, at: register_netdev+0x11/0x50 net/core/dev.c:9789 3 locks held by udevd/21423: #0: ffff88811a128c88 ( &of->mutex){+.+.}-{3:3}, at: kernfs_file_read_iter fs/kernfs/file.c:203 [inline] &of->mutex){+.+.}-{3:3}, at: kernfs_fop_read_iter+0x189/0x6f0 fs/kernfs/file.c:242 #1: ffff88810fcc91d8 (kn->active#51){++++}-{0:0}, at: kernfs_file_read_iter fs/kernfs/file.c:204 [inline] ffff88810fcc91d8 (kn->active#51){++++}-{0:0}, at: kernfs_fop_read_iter+0x1ac/0x6f0 fs/kernfs/file.c:242 #2: ffff88813506e220 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:772 [inline] #2: ffff88813506e220 (&dev->mutex){....}-{3:3}, at: read_descriptors+0x3c/0x2c0 drivers/usb/core/sysfs.c:873 2 locks held by kworker/1:5/23746: 3 locks held by udevd/24980: #0: ffff88810db41c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_file_read_iter fs/kernfs/file.c:203 [inline] #0: ffff88810db41c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_read_iter+0x189/0x6f0 fs/kernfs/file.c:242 #1: ffff88811440c748 (kn->active#51){++++}-{0:0}, at: kernfs_file_read_iter fs/kernfs/file.c:204 [inline] (kn->active#51){++++}-{0:0}, at: kernfs_fop_read_iter+0x1ac/0x6f0 fs/kernfs/file.c:242 #2: ffff88810bbe0220 (&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 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 25 Comm: khungtaskd Not tainted 5.17.0-rc6-syzkaller-00100-g98d107b84614 #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: 26393 Comm: syz-executor.3 Not tainted 5.17.0-rc6-syzkaller-00100-g98d107b84614 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:alloc_pid+0x96b/0xd70 kernel/pid.c:266 Code: 89 48 c7 c6 00 c8 26 86 48 8d 7b 70 e8 6e 63 09 00 48 8d 7b 68 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 47 03 00 00 48 8b 44 24 30 48 8b 54 24 18 48 c7 40 68 00 00 RSP: 0018:ffffc90001357af0 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff88813b4e1500 RCX: 0000000000000000 RDX: 1ffff1102769c2ad RSI: 0000000000000001 RDI: ffff88813b4e1568 RBP: dffffc0000000000 R08: 0000000000000002 R09: 0000000000000000 R10: ffffffff811cbecb R11: 0000000000000000 R12: 0000000000000004 R13: 0000000080000000 R14: ffff88812d71d108 R15: ffff8881f6935008 FS: 0000555556e4b400(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff46bc5e718 CR3: 000000013a072000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: copy_process+0x3aef/0x6fb0 kernel/fork.c:2180 kernel_clone+0xe7/0xab0 kernel/fork.c:2565 __do_sys_clone+0xc8/0x110 kernel/fork.c:2682 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:0x7ff46cb0a471 Code: 48 85 ff 74 3d 48 85 f6 74 38 48 83 ee 10 48 89 4e 08 48 89 3e 48 89 d7 4c 89 c2 4d 89 c8 4c 8b 54 24 08 b8 38 00 00 00 0f 05 <48> 85 c0 7c 13 74 01 c3 31 ed 58 5f ff d0 48 89 c7 b8 3c 00 00 00 RSP: 002b:00007fffb25a9bc8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007ff46bc5e700 RCX: 00007ff46cb0a471 RDX: 00007ff46bc5e9d0 RSI: 00007ff46bc5e2f0 RDI: 00000000003d0f00 RBP: 00007fffb25a9e10 R08: 00007ff46bc5e700 R09: 00007ff46bc5e700 R10: 00007ff46bc5e9d0 R11: 0000000000000206 R12: 00007fffb25a9c7e R13: 00007fffb25a9c7f R14: 00007ff46bc5e300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 89 48 c7 mov %ecx,-0x39(%rax) 3: c6 00 c8 movb $0xc8,(%rax) 6: 26 86 48 8d xchg %cl,%es:-0x73(%rax) a: 7b 70 jnp 0x7c c: e8 6e 63 09 00 callq 0x9637f 11: 48 8d 7b 68 lea 0x68(%rbx),%rdi 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 48 89 fa mov %rdi,%rdx 22: 48 c1 ea 03 shr $0x3,%rdx 26: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) * 2a: 0f 85 47 03 00 00 jne 0x377 <-- trapping instruction 30: 48 8b 44 24 30 mov 0x30(%rsp),%rax 35: 48 8b 54 24 18 mov 0x18(%rsp),%rdx 3a: 48 rex.W 3b: c7 .byte 0xc7 3c: 40 rex 3d: 68 .byte 0x68