INFO: task kworker/0:6:6682 blocked for more than 148 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:6 state:D stack:0 task:kworker/0:6 state:D stack:0 pid:6682 tgid:6682 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 INFO: task syz.4.166:7069 blocked for more than 152 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.166 state:D stack:0 pid:7069 tgid:7068 ppid:6553 task_flags:0x400140 flags:0x00000019 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 rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 rtnl_net_lock include/linux/rtnetlink.h:130 [inline] register_netdevice_notifier_net+0x24/0xb8 net/core/dev.c:2082 rtnl_net_debug_net_init+0x60/0x70 net/core/lock_debug.c:85 ops_init+0x310/0x544 net/core/net_namespace.c:137 setup_net+0xfc/0x2d8 net/core/net_namespace.c:445 copy_net_ns+0x2ec/0x4c4 net/core/net_namespace.c:580 create_new_namespaces+0x318/0x5a8 kernel/nsproxy.c:110 copy_namespaces+0x3c8/0x43c kernel/nsproxy.c:175 copy_process+0x154c/0x31e4 kernel/fork.c:2184 kernel_clone+0x1d8/0x84c kernel/fork.c:2609 __do_sys_clone kernel/fork.c:2750 [inline] __se_sys_clone kernel/fork.c:2718 [inline] __arm64_sys_clone+0x144/0x1a0 kernel/fork.c:2718 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x254 arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Showing all locks held in the system: 1 lock held by kthreadd/2: 1 lock held by kworker/R-kvfre/6: #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x348 kernel/workqueue.c:2678 2 locks held by kworker/0:0/9: 3 locks held by kworker/u8:0/12: 1 lock held by kworker/R-mm_pe/13: #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x348 kernel/workqueue.c:2678 3 locks held by kworker/u8:1/15: 4 locks held by kworker/1:0/24: 2 locks held by kworker/1:1/26: 1 lock held by khungtaskd/32: #0: ffff80008f78b6e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 3 locks held by kworker/u8:2/41: 3 locks held by kworker/u8:3/42: 3 locks held by kworker/u8:4/241: 8 locks held by kworker/u8:5/1646: 2 locks held by kworker/1:2/1857: 3 locks held by kworker/u8:6/2276: 3 locks held by kworker/u8:7/2723: 3 locks held by kworker/u8:8/2771: 4 locks held by kworker/u8:9/2791: 2 locks held by kworker/1:4/2802: 3 locks held by kworker/R-ipv6_/4237: #0: ffff0000d2d2d148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff80009d677bc0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff800092877aa8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by kworker/R-bat_e/4313: #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3556 3 locks held by kworker/u8:10/5602: 1 lock held by kworker/0:2/6161: #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x348 kernel/workqueue.c:2678 2 locks held by klogd/6184: 1 lock held by dhcpcd/6250: 2 locks held by crond/6324: 2 locks held by getty/6339: #0: ffff0000c19cf0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009bb3b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 1 lock held by udevd/6547: 1 lock held by syz-executor/6554: 2 locks held by kworker/0:4/6558: 1 lock held by syz-executor/6560: 1 lock held by syz-executor/6561: 1 lock held by kworker/R-wg-cr/6584: #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x348 kernel/workqueue.c:2678 1 lock held by kworker/R-wg-cr/6585: #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3556 1 lock held by kworker/R-wg-cr/6587: #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3556 1 lock held by kworker/R-wg-cr/6589: #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3556 1 lock held by kworker/R-wg-cr/6592: 1 lock held by kworker/R-wg-cr/6593: #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3556 1 lock held by kworker/R-wg-cr/6596: #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3556 1 lock held by kworker/R-wg-cr/6597: #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x348 kernel/workqueue.c:2678 1 lock held by kworker/R-wg-cr/6599: #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3556 1 lock held by kworker/R-wg-cr/6600: #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3556 1 lock held by kworker/R-wg-cr/6601: #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3556 1 lock held by kworker/R-wg-cr/6602: #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3556 1 lock held by kworker/R-wg-cr/6603: #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x348 kernel/workqueue.c:2678 1 lock held by kworker/R-wg-cr/6605: #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f632268 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3556 2 locks held by kworker/1:5/6637: 4 locks held by kworker/0:6/6682: #0: ffff0000c0029948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff8000a1837be0 (reg_work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff800092877aa8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 #3: ffff0000db418788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6358 [inline] #3: ffff0000db418788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_process_self_managed_hints+0xc8/0x1dc net/wireless/reg.c:3179 2 locks held by udevd/6793: 2 locks held by syz.4.166/7069: #0: ffff80009286ac50 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x2d0/0x4c4 net/core/net_namespace.c:576 #1: ffff800092877aa8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:11/7070: #0: ffff0000c0032148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff8000a5147be0 ((crda_timeout).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff800092877aa8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by kworker/u8:12/7071: 3 locks held by kworker/u8:13/7072: #0: ffff0000c0032148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff8000a00c7be0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 #2: ffff800092877aa8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by kworker/u8:14/7073: =============================================