INFO: task syz-executor:4712 blocked for more than 141 seconds. Tainted: G L syzkaller #0 Blocked by coredump. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:4712 tgid:4712 ppid:1 task_flags:0x40054c flags:0x00800019 Call trace: __switch_to+0x2b0/0x6e0 arch/arm64/kernel/process.c:775 (T) context_switch kernel/sched/core.c:5510 [inline] __schedule+0x1370/0x2d80 kernel/sched/core.c:7234 __schedule_loop kernel/sched/core.c:7311 [inline] schedule+0x13c/0x20c kernel/sched/core.c:7326 schedule_timeout+0xc0/0x28c kernel/time/sleep_timeout.c:75 do_wait_for_common kernel/sched/completion.c:100 [inline] __wait_for_common kernel/sched/completion.c:121 [inline] wait_for_common+0x220/0x394 kernel/sched/completion.c:132 wait_for_completion+0x18/0x24 kernel/sched/completion.c:153 __flush_work+0x820/0xa24 kernel/workqueue.c:4374 __cancel_work_sync+0xc8/0x144 kernel/workqueue.c:4494 cancel_work_sync+0x24/0x38 kernel/workqueue.c:4531 hci_cmd_sync_clear+0x30/0xcc net/bluetooth/hci_sync.c:655 hci_unregister_dev+0x18c/0x4bc net/bluetooth/hci_core.c:2674 vhci_release+0x12c/0x17c drivers/bluetooth/hci_vhci.c:700 __fput+0x338/0x74c fs/file_table.c:512 ____fput+0x20/0x30 fs/file_table.c:540 task_work_run+0x1cc/0x25c kernel/task_work.c:233 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x58c/0x1a74 kernel/exit.c:1009 do_group_exit+0x198/0x238 kernel/exit.c:1152 get_signal+0xfb0/0x1094 kernel/signal.c:3046 arch_do_signal_or_restart+0x288/0x444c arch/arm64/kernel/signal.c:1665 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0x70/0x17c kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] arm64_syscall_exit_to_user_mode arch/arm64/kernel/entry-common.c:88 [inline] el0_svc+0x18c/0x260 arch/arm64/kernel/entry-common.c:737 el0t_64_sync_handler+0x48/0x148 arch/arm64/kernel/entry-common.c:755 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:594 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffff800088cfc5e8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:343 [inline] #0: ffff800088cfc5e8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x30c/0x66c kernel/rcu/tree_exp.h:961 3 locks held by kworker/0:1/11: 1 lock held by khungtaskd/31: #0: ffff800088cf6fe0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #0: ffff800088cf6fe0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:840 [inline] #0: ffff800088cf6fe0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x4c/0x188 kernel/locking/lockdep.c:6775 5 locks held by kworker/u9:0/50: #0: ffff0000d6625140 ((wq_completion)hci3){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #0: ffff0000d6625140 ((wq_completion)hci3){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3405 #1: ffff800090247c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #1: ffff800090247c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3405 #2: ffff0000f0c14ea0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x178/0x374 net/bluetooth/hci_sync.c:331 #3: ffff0000f0c140b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1d8/0x938 net/bluetooth/hci_sync.c:5822 #4: ffff800089f35780 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:2134 [inline] #4: ffff800089f35780 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x13c/0x334 net/bluetooth/hci_conn.c:1408 3 locks held by kworker/0:2/1043: 2 locks held by getty/4490: #0: ffff0000cf9030a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000924cb2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x348/0xf78 drivers/tty/n_tty.c:2211 2 locks held by kworker/0:3/4526: #0: ffff0000c002b540 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #0: ffff0000c002b540 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3405 #1: ffff800098a77c40 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #1: ffff800098a77c40 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3405 6 locks held by kworker/u9:3/4723: #0: ffff0000d3984940 ((wq_completion)hci1){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #0: ffff0000d3984940 ((wq_completion)hci1){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3405 #1: ffff800093ad7c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #1: ffff800093ad7c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3405 #2: ffff0000d8600ea0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x178/0x374 net/bluetooth/hci_sync.c:331 #3: ffff0000d86000b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1d8/0x938 net/bluetooth/hci_sync.c:5822 #4: ffff800089f35780 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:2134 [inline] #4: ffff800089f35780 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x13c/0x334 net/bluetooth/hci_conn.c:1408 #5: ffff0000d387e2f8 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x90/0x408 net/bluetooth/l2cap_core.c:1808 4 locks held by kworker/u9:4/4724: #0: ffff0000d3b53140 ((wq_completion)hci4){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #0: ffff0000d3b53140 ((wq_completion)hci4){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3405 #1: ffff800093ac7c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #1: ffff800093ac7c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3405 #2: ffff0000d2eb8ea0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x178/0x374 net/bluetooth/hci_sync.c:331 #3: ffff0000d2eb80b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1d8/0x938 net/bluetooth/hci_sync.c:5822 3 locks held by kworker/0:6/4826: 3 locks held by syz-executor/4995: #0: ffff0000d2888ea0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close+0x2c/0xbc net/bluetooth/hci_core.c:497 #1: ffff0000d28880b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x458/0xe38 net/bluetooth/hci_sync.c:5429 #2: ffff800089f35780 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2149 [inline] #2: ffff800089f35780 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xb0/0x238 net/bluetooth/hci_conn.c:2733 1 lock held by syz-executor/5348: 3 locks held by kworker/u8:19/7272: 1 lock held by syz-executor/7958: #0: ffff0000f1fbcea0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close+0x2c/0xbc net/bluetooth/hci_core.c:497 1 lock held by syz-executor/7961: #0: ffff0000f22c0ea0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_open+0x2c/0xbc net/bluetooth/hci_core.c:426 1 lock held by syz-executor/7964: #0: ffff0000cf70cea0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_open+0x2c/0xbc net/bluetooth/hci_core.c:426 1 lock held by dhcpcd/7966: #0: ffff0000da3c9380 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1024 [inline] #0: ffff0000da3c9380 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x7c/0x1d4 net/socket.c:709 1 lock held by dhcpcd/7967: #0: ffff0000f7587b00 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1024 [inline] #0: ffff0000f7587b00 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x7c/0x1d4 net/socket.c:709 1 lock held by dhcpcd/7968: #0: ffff0000f037ef80 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1024 [inline] #0: ffff0000f037ef80 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x7c/0x1d4 net/socket.c:709 1 lock held by dhcpcd/7969: #0: ffff0000f02e9f00 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1024 [inline] #0: ffff0000f02e9f00 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x7c/0x1d4 net/socket.c:709 1 lock held by dhcpcd/7970: #0: ffff0000f02e8800 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1024 [inline] #0: ffff0000f02e8800 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x7c/0x1d4 net/socket.c:709 1 lock held by dhcpcd/7971: #0: ffff0000f02ea4c0 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1024 [inline] #0: ffff0000f02ea4c0 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x7c/0x1d4 net/socket.c:709 2 locks held by dhcpcd/7972: #0: ffff0000f02ede40 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1024 [inline] #0: ffff0000f02ede40 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x7c/0x1d4 net/socket.c:709 #1: ffff800088cfc5e8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:343 [inline] #1: ffff800088cfc5e8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x30c/0x66c kernel/rcu/tree_exp.h:961 =============================================