INFO: task kworker/1:1:26 blocked for more than 146 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:1 state:D stack:0 pid:26 tgid:26 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: events reg_todo Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:742 (T) context_switch kernel/sched/core.c:5256 [inline] __schedule+0x1250/0x2a7c kernel/sched/core.c:6863 __schedule_loop kernel/sched/core.c:6945 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6960 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7017 __mutex_lock_common+0xd04/0x2678 kernel/locking/mutex.c:692 __mutex_lock kernel/locking/mutex.c:776 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:828 class_wiphy_constructor include/net/cfg80211.h:6363 [inline] reg_process_self_managed_hints+0x98/0x1dc net/wireless/reg.c:3179 reg_todo+0x81c/0x98c net/wireless/reg.c:3192 process_one_work+0x7c0/0x1558 kernel/workqueue.c:3257 process_scheduled_works kernel/workqueue.c:3340 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3421 kthread+0x5fc/0x75c kernel/kthread.c:463 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 INFO: task kworker/u8:8:793 blocked for more than 150 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:8 state:D stack:0 pid:793 tgid:793 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: events_power_efficient crda_timeout_work Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:742 (T) context_switch kernel/sched/core.c:5256 [inline] __schedule+0x1250/0x2a7c kernel/sched/core.c:6863 __schedule_loop kernel/sched/core.c:6945 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6960 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7017 __mutex_lock_common+0xd04/0x2678 kernel/locking/mutex.c:692 __mutex_lock kernel/locking/mutex.c:776 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:828 rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 crda_timeout_work+0x20/0x94 net/wireless/reg.c:541 process_one_work+0x7c0/0x1558 kernel/workqueue.c:3257 process_scheduled_works kernel/workqueue.c:3340 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3421 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: 4 locks held by kworker/0:0/9: #0: ffff0000d2dd4548 ((wq_completion)wg-kex-wg0#6){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff800097cc7be0 ((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+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff0000dda51348 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x130/0x724 drivers/net/wireguard/noise.c:598 #3: ffff0000cfe69708 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x3f0/0x724 drivers/net/wireguard/noise.c:632 4 locks held by kworker/0:1/10: #0: ffff0000dde0dd48 ((wq_completion)wg-kex-wg0#4){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff800097cd7be0 ((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+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff0000de899348 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x130/0x724 drivers/net/wireguard/noise.c:598 #3: ffff0000ddec0338 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x3f0/0x724 drivers/net/wireguard/noise.c:632 3 locks held by kworker/u8:1/13: 5 locks held by kworker/1:0/24: 4 locks held by kworker/1:1/26: #0: ffff0000c0029948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff800097de7be0 (reg_work){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 #3: ffff0000e16c8788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6363 [inline] #3: ffff0000e16c8788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_process_self_managed_hints+0x98/0x1dc net/wireless/reg.c:3179 1 lock held by khungtaskd/32: #0: ffff80008fa5b6e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 3 locks held by kworker/u8:2/41: 4 locks held by kworker/u8:3/42: 1 lock held by pr/ttyAMA-1/43: 3 locks held by kworker/1:2/44: 3 locks held by kworker/u8:4/312: 5 locks held by kworker/u8:5/367: 3 locks held by kworker/u8:6/410: 3 locks held by kworker/u8:7/473: 3 locks held by kworker/u8:8/793: #0: ffff0000c0032148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff80009d647be0 ((crda_timeout).work){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 4 locks held by kworker/0:2/1543: 2 locks held by kworker/u8:9/1567: 3 locks held by kworker/u8:10/2059: 4 locks held by kworker/u8:11/3278: #0: ffff0000ce120948 ((wq_completion)wg-kex-wg1#5){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff8000a2997be0 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff0000caac1348 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x10c/0x648 drivers/net/wireguard/noise.c:529 #3: ffff0000cfe6b4c0 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x114/0x648 drivers/net/wireguard/noise.c:530 4 locks held by kworker/u8:12/3449: 2 locks held by kworker/u8:13/3945: 3 locks held by kworker/R-ipv6_/4247: #0: ffff0000d53ac948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff8000a27e7bc0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:14/4458: 3 locks held by kworker/u8:15/5143: 3 locks held by kworker/u8:16/6012: 1 lock held by jbd2/nvme0n1p2-/6171: 4 locks held by kworker/R-ext4-/6172: #0: ffff0000dbd51948 ((wq_completion)ext4-rsv-conversion){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff80009b187bc0 ((work_completion)(&ei->i_rsv_conversion_work)){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff0000dc014950 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xe4c/0x10dc fs/jbd2/transaction.c:442 #3: ffff0000e1136c50 (&ei->i_data_sem){++++}-{4:4}, at: ext4_map_blocks+0x69c/0x1548 fs/ext4/inode.c:815 1 lock held by klogd/6195: 3 locks held by udevd/6206: 4 locks held by kworker/1:3/6247: #0: ffff0000dd89ed48 ((wq_completion)wg-kex-wg1#6){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff800099f17be0 ((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+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff0000caac1348 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x130/0x724 drivers/net/wireguard/noise.c:598 #3: ffff0000cfe6b4c0 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x3f0/0x724 drivers/net/wireguard/noise.c:632 1 lock held by dhcpcd/6261: 3 locks held by dhcpcd/6262: 1 lock held by crond/6336: 2 locks held by getty/6348: #0: ffff0000dbf700a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800099f1e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfc8 drivers/tty/n_tty.c:2211 2 locks held by syz-executor/6555: 3 locks held by syz-executor/6567: 1 lock held by syz-executor/6568: #0: ffff0000d5362308 (&xt[i].mutex){+.+.}-{4:4}, at: xt_find_table_lock+0x64/0x3c8 net/netfilter/x_tables.c:1243 1 lock held by syz-executor/6571: #0: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by syz-executor/6572: 4 locks held by kworker/0:3/6573: 3 locks held by syz-executor/6577: 3 locks held by kworker/1:4/6579: 3 locks held by kworker/1:5/6637: 4 locks held by kworker/1:6/6638: 3 locks held by kworker/0:4/6651: 2 locks held by kworker/0:5/6652: 3 locks held by kworker/1:7/6673: 4 locks held by kworker/1:9/6685: 4 locks held by kworker/0:6/6693: 3 locks held by kworker/0:7/6858: 1 lock held by kworker/0:8/6864: 4 locks held by kworker/1:10/7167: #0: ffff0000d2db9948 ((wq_completion)wg-kex-wg1#2){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff8000a3757be0 ((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+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff0000cf5dd348 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x130/0x724 drivers/net/wireguard/noise.c:598 #3: ffff0000ddec3ea8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x3f0/0x724 drivers/net/wireguard/noise.c:632 4 locks held by kworker/0:9/7215: 3 locks held by kworker/u8:17/7218: #0: ffff0000c0032148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff8000a06d7be0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by kworker/0:10/7219: 3 locks held by kworker/u8:18/7220: 2 locks held by syz-executor/7221: 3 locks held by kworker/0:11/7222: 3 locks held by kworker/u8:19/7224: 4 locks held by kworker/0:12/7225: 2 locks held by kworker/1:13/7226: =============================================