INFO: task kworker/1:3:6521 blocked for more than 143 seconds. Not tainted 6.16.0-rc2-syzkaller-g9aa9b43d689e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" d "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:3 state:D stack:0 pid:6521 tgid:6521 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: events reg_todo Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:737 (T) context_switch kernel/sched/core.c:5396 [inline] __schedule+0x1414/0x2a28 kernel/sched/core.c:6785 __schedule_loop kernel/sched/core.c:6863 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6878 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6935 __mutex_lock_common+0xbd0/0x2190 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:799 class_wiphy_constructor include/net/cfg80211.h:6062 [inline] reg_process_self_managed_hints+0xc4/0x1c0 net/wireless/reg.c:3209 reg_todo+0x834/0x968 net/wireless/reg.c:3222 process_one_work+0x7e8/0x155c kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3402 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:847 Showing all locks held in the system: 1 lock held by kthreadd/2: 1 lock held by kworker/R-kvfre/6: #0: ffff80008f6c17a8 (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: ffff0000ca936948 ((wq_completion)wg-kex-wg2#10){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff800097a17bc0 ((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:3212 #2: ffff0000da081308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x130/0x748 drivers/net/wireguard/noise.c:598 #3: ffff0000d5695c60 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x414/0x748 drivers/net/wireguard/noise.c:632 2 locks held by kworker/0:1/10: 3 locks held by kworker/u8:0/12: 1 lock held by kworker/R-mm_pe/13: #0: ffff80008f6c17a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f6c17a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3531 3 locks held by kworker/u8:1/14: 3 locks held by kworker/1:0/24: 4 locks held by kworker/1:1/26: #0: ffff0000ca936948 ((wq_completion)wg-kex-wg2#10){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff800097b37bc0 ((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:3212 #2: ffff0000da081308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_response+0x180/0x988 drivers/net/wireguard/noise.c:742 #3: ffff0000d5695c60 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_response+0x20c/0x988 drivers/net/wireguard/noise.c:753 1 lock held by khungtaskd/32: #0: ffff80008f819e40 (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: ffff0000cd6f1948 ((wq_completion)wg-kex-wg2#5){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff8000990a7bc0 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff0000da085308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x10c/0x6c8 drivers/net/wireguard/noise.c:529 #3: ffff0000d56934c0 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x114/0x6c8 drivers/net/wireguard/noise.c:530 3 locks held by kworker/u8:3/42: #0: ffff0000c0031948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff8000990b7bc0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff800092872a68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by pr/ttyAMA0/43: 3 locks held by kworker/u8:4/60: #0: ffff0000c0031948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff800099b37bc0 ((crda_timeout).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff800092872a68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:5/203: 3 locks held by kworker/u8:6/281: 4 locks held by kworker/u8:7/486: 3 locks held by kworker/u8:8/632: 3 locks held by kworker/u8:9/723: 3 locks held by kworker/0:2/1782: 2 locks held by kworker/1:2/2284: 3 locks held by kworker/u8:10/2651: 3 locks held by kworker/R-ipv6_/4163: #0: ffff0000d1d0d948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff8000a08e7ba0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff800092872a68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by kworker/R-bat_e/4247: #0: ffff80008f6c17a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f6c17a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3531 3 locks held by kworker/u8:11/4429: 1 lock held by klogd/6124: 1 lock held by udevd/6135: 2 locks held by dhcpcd/6189: 1 lock held by dhcpcd/6190: 2 locks held by getty/6286: #0: ffff0000d74600a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009b9be2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 1 lock held by syz-executor/6508: 3 locks held by syz-executor/6520: 4 locks held by kworker/1:3/6521: #0: ffff0000c0028d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff8000a2d27bc0 (reg_work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff800092872a68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 #3: ffff0000d3f70768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6062 [inline] #3: ffff0000d3f70768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_process_self_managed_hints+0xc4/0x1c0 net/wireless/reg.c:3209 2 locks held by syz-executor/6523: 2 locks held by udevd/6533: 1 lock held by kworker/R-wg-cr/6553: #0: ffff80008f6c17a8 (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/6554: #0: ffff80008f6c17a8 (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/6555: #0: ffff80008f6c17a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f6c17a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3531 1 lock held by kworker/R-wg-cr/6556: #0: ffff80008f6c17a8 (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/6558: #0: ffff80008f6c17a8 (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/6559: #0: ffff80008f6c17a8 (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/6560: #0: ffff80008f6c17a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f6c17a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3531 1 lock held by kworker/R-wg-cr/6561: #0: ffff80008f6c17a8 (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/6562: 1 lock held by kworker/R-wg-cr/6563: #0: ffff80008f6c17a8 (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/6564: #0: ffff80008f6c17a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f6c17a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3531 1 lock held by kworker/R-wg-cr/6565: #0: ffff80008f6c17a8 (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/6566: #0: ffff80008f6c17a8 (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/6567: #0: ffff80008f6c17a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffff80008f6c17a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3531 1 lock held by kworker/R-wg-cr/6568: #0: ffff80008f6c17a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x348 kernel/workqueue.c:2678 2 locks held by kworker/1:4/6575: 2 locks held by kworker/0:3/6582: 2 locks held by kworker/0:4/6590: 3 locks held by kworker/1:6/6628: 2 locks held by kworker/0:6/6638: 4 locks held by kworker/1:7/6675: 2 locks held by syz.0.140/7324: #0: ffff0000cd8acd80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff0000cd8acd80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x1e8/0x4ac net/bluetooth/hci_core.c:2691 #1: ffff0000cd8ac078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x4c4/0x1154 net/bluetooth/hci_sync.c:5238 1 lock held by udevd/7329: 2 locks held by kworker/u8:12/7330: 2 locks held by kworker/u8:13/7331: =============================================