INFO: task kworker/0:5:6525 blocked for more than 152 seconds. Not tainted 6.16.0-rc2-syzkaller-g9aa9b43d689e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:5 state:D stack:0 pid:6525 tgid:6525 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_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 4 locks held by kworker/0:0/9: 2 locks held by kworker/0:1/11: 3 locks held by kworker/u8:0/12: #0: ffff0000c0031948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff800097a47bc0 ((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 3 locks held by kworker/u8:1/13: 1 lock held by kworker/R-mm_pe/14: #0: ffff80008f6c17a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x348 kernel/workqueue.c:2678 4 locks held by kworker/1:0/24: #0: ffff0000f3add148 ((wq_completion)wg-kex-wg0#10){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff800097b17bc0 ((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: ffff0000d4ee9308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x130/0x748 drivers/net/wireguard/noise.c:598 #3: ffff0000c6d51708 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x414/0x748 drivers/net/wireguard/noise.c:632 3 locks held by kworker/1:1/26: 1 lock held by khungtaskd/32: #0: ffff80008f819e40 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 5 locks held by kworker/u8:2/41: 3 locks held by kworker/u8:3/42: 1 lock held by pr/ttyAMA0/43: 5 locks held by kworker/u9:0/52: #0: ffff0000c9aeb948 ((wq_completion)hci4){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff800099157bc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff0000c9cfcd80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x184/0x33c net/bluetooth/hci_sync.c:331 #3: ffff0000c9cfc078 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1a0/0xb8c net/bluetooth/hci_sync.c:5626 #4: ffff0000c18a3188 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_find_and_get_ns+0x38/0x114 fs/kernfs/dir.c:933 3 locks held by kworker/u8:4/170: 3 locks held by kworker/u8:5/218: 3 locks held by kworker/u8:6/237: 3 locks held by kworker/u8:7/278: 4 locks held by kworker/u8:8/2225: 2 locks held by kworker/0:2/2313: 3 locks held by kworker/1:2/2331: 3 locks held by kworker/R-ipv6_/4164: #0: ffff0000d1e42948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff80009fc17ba0 ((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 6 locks held by kworker/R-bat_e/4245: 4 locks held by kworker/u8:9/4392: 3 locks held by kworker/u8:10/4554: 5 locks held by kworker/u9:1/6087: #0: ffff0000c8634948 ((wq_completion)hci1){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff80009d807bc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff0000d9a70d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x184/0x33c net/bluetooth/hci_sync.c:331 #3: ffff0000d9a70078 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1a0/0xb8c net/bluetooth/hci_sync.c:5626 #4: ffff0000c18a3188 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_find_and_get_ns+0x38/0x114 fs/kernfs/dir.c:933 1 lock held by klogd/6123: 1 lock held by udevd/6134: #0: ffff0000c18a3188 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0x90/0x530 fs/kernfs/dir.c:1180 2 locks held by dhcpcd/6188: 1 lock held by dhcpcd/6189: 1 lock held by kworker/0:3/6281: 2 locks held by getty/6292: #0: ffff0000d300d0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009b9fb2f0 (&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: 1 lock held by udevd/6510: #0: ffff0000c1494130 (&sb->s_type->i_mutex_key#8){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:882 [inline] #0: ffff0000c1494130 (&sb->s_type->i_mutex_key#8){++++}-{4:4}, at: blkdev_read_iter+0x2a0/0x3dc block/fops.c:832 2 locks held by syz-executor/6519: 3 locks held by kworker/0:4/6523: 4 locks held by kworker/0:5/6525: #0: ffff0000c0028d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff8000a4467bc0 (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: ffff0000f68c0768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6062 [inline] #3: ffff0000f68c0768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_process_self_managed_hints+0xc4/0x1c0 net/wireless/reg.c:3209 3 locks held by syz-executor/6526: 3 locks held by kworker/1:3/6529: 5 locks held by kworker/u9:4/6533: #0: ffff0000c9aea148 ((wq_completion)hci3){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff8000a4427bc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff0000c9cf8d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x184/0x33c net/bluetooth/hci_sync.c:331 #3: ffff0000c9cf8078 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1a0/0xb8c net/bluetooth/hci_sync.c:5626 #4: ffff0000c18a3188 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_find_and_get_ns+0x38/0x114 fs/kernfs/dir.c:933 5 locks held by kworker/u9:7/6537: #0: ffff0000c8633148 ((wq_completion)hci0){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff8000a3de7bc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff0000c2bbcd80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x184/0x33c net/bluetooth/hci_sync.c:331 #3: ffff0000c2bbc078 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1a0/0xb8c net/bluetooth/hci_sync.c:5626 #4: ffff0000c18a3188 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_find_and_get_ns+0x38/0x114 fs/kernfs/dir.c:933 1 lock held by kworker/R-wg-cr/6557: #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_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/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: 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: #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/6563: #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/6564: #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/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_attach_to_pool+0x40/0x348 kernel/workqueue.c:2678 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 1 lock held by kworker/R-wg-cr/6570: #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/6571: #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/6594: 2 locks held by kworker/0:6/6613: 2 locks held by kworker/0:7/6630: 3 locks held by kworker/u8:11/6658: #0: ffff0000c0031948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff8000a3c27bc0 ((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 2 locks held by syz.4.136/7286: 1 lock held by syz.4.143/7316: 2 locks held by syz.4.143/7317: #0: ffff0000f57d40e0 (&type->s_umount_key#52/1){+.+.}-{4:4}, at: alloc_super+0x1a0/0x80c fs/super.c:345 #1: ffff0000c18a3188 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_add_one+0x48/0x60c fs/kernfs/dir.c:791 3 locks held by syz.4.143/7366: 2 locks held by syz.1.123/7360: 1 lock held by udevadm/7328: #0: ffff0000c18a3188 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0x90/0x530 fs/kernfs/dir.c:1180 2 locks held by syz.3.155/7363: 4 locks held by kworker/u8:12/7367: 2 locks held by kworker/u8:13/7368: 4 locks held by kworker/u8:14/7369: #0: ffff0000dbb3b148 ((wq_completion)wg-kex-wg1#5){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff8000a3b07bc0 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff0000c5c7d308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x10c/0x6c8 drivers/net/wireguard/noise.c:529 #3: ffff0000ce7ee648 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x114/0x6c8 drivers/net/wireguard/noise.c:530 =============================================