INFO: task kworker/0:0:9 blocked for more than 149 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:0 state:D stack:0 pid:9 tgid:9 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: events reg_todo Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:741 (T) context_switch kernel/sched/core.c:5325 [inline] __schedule+0x13b0/0x2864 kernel/sched/core.c:6929 __schedule_loop kernel/sched/core.c:7011 [inline] schedule+0xb4/0x230 kernel/sched/core.c:7026 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7083 __mutex_lock_common+0xd04/0x2678 kernel/locking/mutex.c:676 __mutex_lock kernel/locking/mutex.c:760 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:812 class_wiphy_constructor include/net/cfg80211.h:6358 [inline] reg_process_self_managed_hints+0xc8/0x1dc net/wireless/reg.c:3179 reg_todo+0x834/0x968 net/wireless/reg.c:3192 process_one_work+0x7e8/0x155c kernel/workqueue.c:3263 process_scheduled_works kernel/workqueue.c:3346 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3427 kthread+0x5fc/0x75c kernel/kthread.c:463 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 Showing all locks held in the system: 1 lock held by kworker/R-kvfre/6: #0: ffff80008f612308 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x348 kernel/workqueue.c:2678 4 locks held by kworker/0:0/9: #0: ffff0000c0029948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff800097a27be0 (reg_work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff800092857328 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 #3: ffff0000f48e8788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6358 [inline] #3: ffff0000f48e8788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_process_self_managed_hints+0xc8/0x1dc net/wireless/reg.c:3179 2 locks held by kworker/0:1/11: 3 locks held by kworker/u8:0/12: 1 lock held by kworker/R-mm_pe/13: #0: ffff80008f612308 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] ffff80008f612308 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3556 2 locks held by kworker/u8:1/14: 4 locks held by kworker/1:1/26: #0: ffff0000d2963d48 ((wq_completion)wg-kex-wg0#6){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff800097b47be0 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))); (typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff0000cca39348 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x130/0x724 drivers/net/wireguard/noise.c:598 #3: ffff0000f52bb4c0 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x3f0/0x724 drivers/net/wireguard/noise.c:632 1 lock held by khungtaskd/32: #0: ffff80008f76b560 ( rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 4 locks held by kworker/u8:2/41: #0: ffff0000cd0ff948 ((wq_completion)wg-kex-wg2#5){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff8000990b7be0 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff0000d5bc1348 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x10c/0x648 drivers/net/wireguard/noise.c:529 #3: ffff0000f52bdc60 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x114/0x648 drivers/net/wireguard/noise.c:530 5 locks held by kworker/u8:3/42: 2 locks held by kswapd0/75: 3 locks held by kworker/u8:4/546: 3 locks held by kworker/u8:5/670: 3 locks held by kworker/u8:6/738: 4 locks held by kworker/0:2/1858: 3 locks held by kworker/u8:7/2114: #0: ffff0000c0032148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff8000a0177be0 ((crda_timeout).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff800092857328 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:8/2157: #0: ffff0000c0032148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff8000a0477be0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff800092857328 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:9/2178: 1 lock held by klogd/6181: 2 locks held by udevd/6192: 1 lock held by dhcpcd/6247: #0: ffff800092857328 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by crond/6321: 2 locks held by getty/6338: #0: ffff0000cd7840a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000991842f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 4 locks held by syz-executor/6550: 1 lock held by syz-executor/6555: 4 locks held by kworker/1:2/6556: 4 locks held by kworker/0:4/6560: #0: ffff0000f3f88148 ((wq_completion)wg-kex-wg2#6){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff8000a2897be0 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))); (typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff0000d5bc1348 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x130/0x724 drivers/net/wireguard/noise.c:598 #3: ffff0000f52bdc60 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x3f0/0x724 drivers/net/wireguard/noise.c:632 1 lock held by kworker/R-wg-cr/6577: #0: ffff80008f612308 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f612308 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3556 1 lock held by kworker/R-wg-cr/6585: #0: ffff80008f612308 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f612308 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3556 1 lock held by kworker/R-wg-cr/6586: #0: ffff80008f612308 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f612308 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3556 1 lock held by kworker/R-wg-cr/6590: #0: ffff80008f612308 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f612308 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3556 1 lock held by kworker/R-wg-cr/6591: #0: ffff80008f612308 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f612308 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3556 4 locks held by kworker/1:5/6628: 4 locks held by kworker/0:7/6673: 4 locks held by syz-executor/6918: 1 lock held by kworker/R-wg-cr/6932: #0: ffff80008f612308 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f612308 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3556 1 lock held by kworker/R-wg-cr/6933: 3 locks held by kworker/u8:10/7360: 3 locks held by kworker/u8:11/7361: 3 locks held by kworker/u8:12/7362: 3 locks held by kworker/u8:13/7363: 6 locks held by kworker/u8:14/7364: #0: ffff0000c1f7b148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff8000a0a67be0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff0000d7b520e0 (&type->s_umount_key#30){++++}-{4:4}, at: super_trylock_shared+0x24/0xdc fs/super.c:562 #3: ffff0000d7b54b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline] #3: ffff0000d7b54b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1796 [inline] #3: ffff0000d7b54b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x150/0x2a0 fs/ext4/inode.c:3024 #4: ffff0000d7b56950 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xe4c/0x10dc fs/jbd2/transaction.c:442 #5: ffff0000dc64bbd0 (&ei->i_data_sem){++++}-{4:4}, at: ext4_map_blocks+0x620/0x14a8 fs/ext4/inode.c:810 3 locks held by kworker/u8:15/7365: 3 locks held by kworker/u8:16/7366: #0: ffff0000d308e948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff80009d647be0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff800092857328 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:17/7367: 2 locks held by kworker/u8:18/7745: 3 locks held by kworker/u8:19/7746: 2 locks held by syz-executor/7747: =============================================