INFO: task kworker/0:2:1832 blocked for more than 142 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:2 state:D stack:0 pid:1832 tgid:1832 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:5357 [inline] __schedule+0x13b0/0x2864 kernel/sched/core.c:6961 __schedule_loop kernel/sched/core.c:7043 [inline] schedule+0xb4/0x230 kernel/sched/core.c:7058 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7115 __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:6212 [inline] reg_process_self_managed_hints+0xc8/0x1dc net/wireless/reg.c:3209 reg_todo+0x834/0x968 net/wireless/reg.c:3222 process_one_work+0x7e8/0x155c kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3400 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: 3 locks held by kworker/u8:0/12: 3 locks held by kworker/u8:1/14: 4 locks held by kworker/1:0/24: 1 lock held by khungtaskd/32: #0: ffff80008fa49aa0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 2 locks held by kworker/u8:2/41: 3 locks held by kworker/u8:3/42: #0: ffff0000c0032148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000993b7be0 ((crda_timeout).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff800092b517e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by pr/ttyAMA-1/43: 7 locks held by kworker/u8:4/256: 3 locks held by kworker/u8:5/973: 4 locks held by kworker/0:2/1832: #0: ffff0000c0028d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000a0fd7be0 (reg_work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff800092b517e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 #3: ffff0000cd408768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6212 [inline] #3: ffff0000cd408768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_process_self_managed_hints+0xc8/0x1dc net/wireless/reg.c:3209 3 locks held by kworker/R-ipv6_/4204: #0: ffff0000d399f948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff80009c167bc0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff800092b517e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by kworker/u8:6/4557: 3 locks held by kworker/u8:7/4644: 3 locks held by kworker/u8:8/4732: 3 locks held by kworker/u8:9/4863: 2 locks held by kworker/u8:10/5066: 1 lock held by klogd/6175: 3 locks held by udevd/6186: 2 locks held by getty/6331: #0: ffff0000c19c90a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800099f5e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 2 locks held by syz-executor/6544: 1 lock held by syz-executor/6545: 6 locks held by kworker/u9:2/6546: #0: ffff0000c916b148 ((wq_completion)hci4){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000a6c47be0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff0000c797cdc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x184/0x33c net/bluetooth/hci_sync.c:331 #3: ffff0000c797c0b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1d4/0xbb8 net/bluetooth/hci_sync.c:5670 #4: ffff800092cbb6a8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:2079 [inline] #4: ffff800092cbb6a8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x13c/0x318 net/bluetooth/hci_conn.c:1313 #5: ffff0000d5fb3338 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x74/0x5f0 net/bluetooth/l2cap_core.c:1762 4 locks held by kworker/u9:3/6550: #0: ffff0000d5fb0148 ((wq_completion)hci1){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000a6c17be0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff0000c9bc8dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x184/0x33c net/bluetooth/hci_sync.c:331 #3: ffff0000c9bc80b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1d4/0xbb8 net/bluetooth/hci_sync.c:5670 5 locks held by kworker/u9:7/6560: #0: ffff0000f7d36148 ((wq_completion)hci3){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff80009e7e7be0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff0000dd708dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x184/0x33c net/bluetooth/hci_sync.c:331 #3: ffff0000dd7080b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1d4/0xbb8 net/bluetooth/hci_sync.c:5670 #4: ffff800092cbb6a8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:2079 [inline] #4: ffff800092cbb6a8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x13c/0x318 net/bluetooth/hci_conn.c:1313 2 locks held by kworker/0:6/6617: 3 locks held by syz.2.27/6842: #0: ffff0000c9bccdc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:499 [inline] #0: ffff0000c9bccdc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x1fc/0x4c0 net/bluetooth/hci_core.c:2715 #1: ffff0000c9bcc0b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x4c4/0x1154 net/bluetooth/hci_sync.c:5282 #2: ffff800092cbb6a8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2094 [inline] #2: ffff800092cbb6a8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xb0/0x218 net/bluetooth/hci_conn.c:2599 3 locks held by syz-executor/7716: 3 locks held by kworker/u8:11/8105: 3 locks held by kworker/u8:12/8107: #0: ffff0000c0032148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000a4c17be0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff800092b517e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:13/8108: 3 locks held by kworker/u8:14/8109: 3 locks held by kworker/u8:15/8111: 2 locks held by kworker/1:6/8114: =============================================