INFO: task kworker/u8:27:10291 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:27 state:D stack:0 pid:10291 tgid:10291 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: events_power_efficient reg_check_chans_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 class_wiphy_constructor include/net/cfg80211.h:6363 [inline] reg_leave_invalid_chans net/wireless/reg.c:2441 [inline] reg_check_chans_work+0x114/0xdf0 net/wireless/reg.c:2456 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: 1 lock held by kthreadd/2: 1 lock held by khungtaskd/32: #0: ffff80008fa5b6e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 1 lock held by pr/ttyAMA-1/43: 3 locks held by kworker/u8:4/63: 3 locks held by kworker/u8:5/123: #0: ffff0000d4914948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff8000999a7be0 ((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:6/274: 3 locks held by kworker/u8:7/320: 3 locks held by kworker/u8:8/359: 3 locks held by kworker/u8:9/472: 2 locks held by kworker/u8:10/584: 6 locks held by kworker/u8:11/608: 3 locks held by kworker/u8:12/651: 3 locks held by kworker/u8:13/810: 3 locks held by kworker/u8:15/3781: 3 locks held by kworker/u8:16/3822: 3 locks held by kworker/u8:17/4534: 3 locks held by kworker/u8:18/5540: 2 locks held by klogd/6198: 2 locks held by udevd/6209: 2 locks held by getty/6350: #0: ffff0000cd0270a0 (&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 1 lock held by syz-executor/6558: 1 lock held by syz-executor/6568: 1 lock held by syz-executor/6569: #0: ffff0000d485e308 (&xt[i].mutex){+.+.}-{4:4}, at: xt_find_table_lock+0x64/0x3c8 net/netfilter/x_tables.c:1243 2 locks held by syz-executor/6574: 3 locks held by kworker/0:4/6577: #0: ffff0000c0029948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff8000a3477be0 (deferred_process_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:6/6680: 2 locks held by kworker/0:8/6748: 3 locks held by kworker/1:9/7227: 3 locks held by udevd/7372: 1 lock held by udevd/7373: #0: ffff0000d8966a48 (&type->i_mutex_dir_key#5){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:1042 [inline] #0: ffff0000d8966a48 (&type->i_mutex_dir_key#5){++++}-{4:4}, at: open_last_lookups fs/namei.c:4539 [inline] #0: ffff0000d8966a48 (&type->i_mutex_dir_key#5){++++}-{4:4}, at: path_openat+0x858/0x3114 fs/namei.c:4784 3 locks held by kworker/u8:20/7454: 3 locks held by kworker/u8:21/7632: 2 locks held by udevd/7817: 2 locks held by kworker/u8:22/8202: 4 locks held by kworker/u8:23/8366: #0: ffff0000df75e948 ((wq_completion)wg-kex-wg0#2){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff8000a0cd7be0 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff0000ccd6d348 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x10c/0x648 drivers/net/wireguard/noise.c:529 #3: ffff0000ca1a8338 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x114/0x648 drivers/net/wireguard/noise.c:530 3 locks held by kworker/u8:24/8575: 4 locks held by kworker/0:10/9989: #0: ffff0000c77fd548 ((wq_completion)wg-kex-wg0#3){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff8000a04f7be0 ((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: ffff0000ccd6d348 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x130/0x724 drivers/net/wireguard/noise.c:598 #3: ffff0000ca1a8338 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x3f0/0x724 drivers/net/wireguard/noise.c:632 5 locks held by syz.5.680/10222: 1 lock held by syz.5.680/10281: 2 locks held by syz.6.636/10235: 4 locks held by kworker/u8:27/10291: #0: ffff0000c0032148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff80009dbb7be0 ((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 #3: ffff0000f96e0788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6363 [inline] #3: ffff0000f96e0788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_leave_invalid_chans net/wireless/reg.c:2441 [inline] #3: ffff0000f96e0788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_check_chans_work+0x114/0xdf0 net/wireless/reg.c:2456 1 lock held by syz-executor/10296: 2 locks held by kworker/u8:29/10297: 3 locks held by dhcpcd-run-hook/10300: 2 locks held by kworker/0:13/10303: 3 locks held by kworker/u8:33/10304: =============================================