INFO: task kworker/0:5:4817 blocked for more than 145 seconds. Tainted: G L syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:5 state:D stack:0 pid:4817 tgid:4817 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: events reg_todo Call trace: __switch_to+0x2b0/0x6e0 arch/arm64/kernel/process.c:810 (T) context_switch kernel/sched/core.c:5388 [inline] __schedule+0x1c04/0x2db8 kernel/sched/core.c:7189 __schedule_loop kernel/sched/core.c:7268 [inline] schedule+0x13c/0x20c kernel/sched/core.c:7283 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7340 __mutex_lock_common kernel/locking/mutex.c:726 [inline] __mutex_lock+0x4fc/0xed0 kernel/locking/mutex.c:820 mutex_lock_nested+0x24/0x30 kernel/locking/mutex.c:873 class_wiphy_constructor include/net/cfg80211.h:6646 [inline] reg_process_self_managed_hints+0x94/0x1c0 net/wireless/reg.c:3192 reg_todo+0x60c/0x6a4 net/wireless/reg.c:3205 process_one_work kernel/workqueue.c:3314 [inline] process_scheduled_works+0x788/0x10b8 kernel/workqueue.c:3397 worker_thread+0x798/0xbd0 kernel/workqueue.c:3478 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:842 Showing all locks held in the system: 1 lock held by kthreadd/2: 6 locks held by kworker/R-netns/8: #0: ffff0000c004e140 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3289 [inline] #0: ffff0000c004e140 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3397 #1: ffff80008eb07c60 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3289 [inline] #1: ffff80008eb07c60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3397 #2: ffff800089cbce08 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x104/0x6c4 net/core/net_namespace.c:673 #3: ffff0000ccd09128 (&dev->mutex){....}-{4:4} , at: device_lock include/linux/device.h:1040 [inline] , at: devl_dev_lock net/devlink/devl_internal.h:124 [inline] , at: devlink_pernet_pre_exit+0x108/0x30c net/devlink/core.c:557 #4: ffff0000cd02d258 (&devlink->lock_key#4){+.+.}-{4:4}, at: devl_lock net/devlink/core.c:292 [inline] #4: ffff0000cd02d258 (&devlink->lock_key#4){+.+.}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:125 [inline] #4: ffff0000cd02d258 (&devlink->lock_key#4){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0x11c/0x30c net/devlink/core.c:557 #5: ffff800089cca300 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by kworker/0:0/9: #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: wor #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x344 kernel/workqueue.c:2729 4 locks held by kworker/0:1/11: 3 locks held by kworker/u8:0/12: #0: ffff0000c004b940 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3289 [inline] #0: ffff0000c004b940 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3397 #1: ffff80008eb47c40 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3289 [inline] #1: ffff80008eb47c40 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3397 #2: ffff800089cca300 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by kworker/R-mm_pe/13: #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x344 kernel/workqueue.c:2729 4 locks held by kworker/u8:1/15: 2 locks held by kworker/1:0/24: 2 locks held by kworker/1:1/26: 1 lock held by khungtaskd/31: #0: ffff800088bf70c0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #0: ffff800088bf70c0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffff800088bf70c0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x4c/0x188 kernel/locking/lockdep.c:6775 1 lock held by kworker/R-write/33: #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x344 kernel/workqueue.c:2729 3 locks held by kworker/u8:2/39: 2 locks held by kworker/u8:3/40: #0: ffff0000c004c940 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3289 [inline] ffff0000c004c940 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3397 #1: ffff800090097c40 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3289 [inline] #1: ffff800090097c40 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3397 3 locks held by kworker/u8:4/862: 2 locks held by kworker/0:2/867: 3 locks held by kworker/u8:5/890: 2 locks held by kworker/1:2/1095: 3 locks held by kworker/u8:6/1265: 3 locks held by kworker/R-ipv6_/2819: #0: ffff0000ceb1f940 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3289 [inline] #0: ffff0000ceb1f940 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3397 #1: ffff800098917c60 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3289 [inline] #1: ffff800098917c60 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3397 #2: ffff800089cca300 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 5 locks held by kworker/R-bat_e/2854: 3 locks held by kworker/u8:7/3514: 3 locks held by kworker/u8:8/3639: 4 locks held by kworker/u8:9/3689: #0: ffff0000c4a5e140 ((wq_completion)wg-kex-wg0#9){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3289 [inline] #0: ffff0000c4a5e140 ((wq_completion)wg-kex-wg0#9){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3397 #1: ffff800098fa7c40 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3289 [inline] #1: ffff800098fa7c40 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3397 #2: ffff0000f51e93c0 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xe8/0x484 drivers/net/wireguard/noise.c:529 #3: ffff0000d8885c58 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xf0/0x484 drivers/net/wireguard/noise.c:530 3 locks held by kworker/u8:10/3753: 3 locks held by kworker/u8:11/3787: 3 locks held by kworker/u8:12/3947: #0: ffff0000c004b940 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3289 [inline] #0: ffff0000c004b940 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3397 #1: ffff80009bc27c40 ((crda_timeout).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3289 [inline] #1: ffff80009bc27c40 ((crda_timeout).work){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3397 #2: ffff800089cca300 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by jbd2/nvme0n1p2-/4308: 1 lock held by klogd/4332: 4 locks held by udevd/4343: 4 locks held by kworker/1:3/4425: 2 locks held by getty/4494: #0: ffff0000d3d330a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000923ab2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x348/0xf70 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/4710: 3 locks held by kworker/1:4/4724: 1 lock held by kworker/R-wg-cr/4771: #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2787 [inline] #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xa58/0xd90 kernel/workqueue.c:3649 1 lock held by kworker/R-wg-cr/4772: #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2787 [inline] #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xa58/0xd90 kernel/workqueue.c:3649 1 lock held by kworker/R-wg-cr/4773: #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2787 [inline] #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xa58/0xd90 kernel/workqueue.c:3649 1 lock held by kworker/R-wg-cr/4787: #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2787 [inline] #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xa58/0xd90 kernel/workqueue.c:3649 1 lock held by kworker/R-wg-cr/4791: #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x344 kernel/workqueue.c:2729 2 locks held by kworker/0:3/4798: 4 locks held by kworker/0:4/4805: 3 locks held by kworker/1:5/4812: 4 locks held by kworker/0:5/4817: #0: ffff0000c002b540 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3289 [inline] #0: ffff0000c002b540 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3397 #1: ffff80009b697c40 (reg_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3289 [inline] #1: ffff80009b697c40 (reg_work){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3397 #2: ffff800089cca300 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 #3: ffff0001171d0780 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6646 [inline] #3: ffff0001171d0780 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_process_self_managed_hints+0x94/0x1c0 net/wireless/reg.c:3192 5 locks held by kworker/0:6/4820: 4 locks held by kworker/0:7/4825: 2 locks held by syz-executor/5147: 1 lock held by kworker/R-wg-cr/5200: #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x344 kernel/workqueue.c:2729 1 lock held by kworker/R-wg-cr/5201: #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2787 [inline] #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xa58/0xd90 kernel/workqueue.c:3649 1 lock held by kworker/R-wg-cr/5202: #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2787 [inline] #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xa58/0xd90 kernel/workqueue.c:3649 4 locks held by udevd/5485: 2 locks held by udevd/5503: 2 locks held by syz-executor/6407: 1 lock held by syz-executor/6412: 1 lock held by kworker/R-wg-cr/6447: #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2787 [inline] #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xa58/0xd90 kernel/workqueue.c:3649 1 lock held by kworker/R-wg-cr/6448: #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2787 [inline] #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xa58/0xd90 kernel/workqueue.c:3649 1 lock held by kworker/R-wg-cr/6449: 4 locks held by syz-executor/6489: 2 locks held by kworker/1:6/6499: 1 lock held by kworker/R-wg-cr/6512: #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2787 [inline] #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xa58/0xd90 kernel/workqueue.c:3649 1 lock held by kworker/R-wg-cr/6513: #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2787 [inline] #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xa58/0xd90 kernel/workqueue.c:3649 1 lock held by kworker/R-wg-cr/6514: #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2787 [inline] #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xa58/0xd90 kernel/workqueue.c:3649 1 lock held by kworker/R-wg-cr/7168: #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2787 [inline] #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xa58/0xd90 kernel/workqueue.c:3649 1 lock held by kworker/R-wg-cr/7169: #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x344 kernel/workqueue.c:2729 1 lock held by kworker/R-wg-cr/7170: #0: ffff800088a9df40 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x344 kernel/workqueue.c:2729 2 locks held by syz.9.631/7698: #0: ffff0000dd28d880 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1029 [inline] #0: ffff0000dd28d880 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x7c/0x1d4 net/socket.c:721 #1: ffff800088bfc6e8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:311 [inline] #1: ffff800088bfc6e8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x340/0x66c kernel/rcu/tree_exp.h:961 2 locks held by dhcpcd-run-hook/7730: 2 locks held by modprobe/7739: 4 locks held by kworker/u8:13/7741: #0: ffff0000daa2f940 ((wq_completion)wg-kex-wg2#15){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3289 [inline] #0: ffff0000daa2f940 ((wq_completion)wg-kex-wg2#15){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3397 #1: ffff800093217c40 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3289 [inline] #1: ffff800093217c40 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3397 #2: ffff0000c25e53c0 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xe8/0x484 drivers/net/wireguard/noise.c:529 #3: ffff0000f5e820e8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xf0/0x484 drivers/net/wireguard/noise.c:530 4 locks held by kworker/0:8/7742: =============================================