INFO: task getty:3945 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:getty state:D stack:22256 pid: 3945 ppid: 1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5049 [inline] __schedule+0x11c3/0x4350 kernel/sched/core.c:6395 schedule+0x11b/0x1e0 kernel/sched/core.c:6478 schedule_timeout+0xbd/0x2d0 kernel/time/timer.c:2093 do_wait_for_common+0x295/0x460 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x48/0x60 kernel/sched/completion.c:138 __flush_work+0x15a/0x210 kernel/workqueue.c:3094 __cancel_work_timer+0x3f4/0x560 kernel/workqueue.c:3181 hci_unregister_dev+0x163/0x590 net/bluetooth/hci_core.c:4061 hci_uart_tty_close+0x268/0x330 drivers/bluetooth/hci_ldisc.c:575 tty_ldisc_reinit+0xe4/0x460 drivers/tty/tty_ldisc.c:679 tty_ldisc_hangup+0x360/0x4a0 drivers/tty/tty_ldisc.c:745 __tty_hangup+0x44e/0x670 drivers/tty/tty_io.c:639 disassociate_ctty+0x38d/0x860 drivers/tty/tty_jobctrl.c:275 do_exit+0x5f9/0x2110 kernel/exit.c:888 do_group_exit+0x12c/0x2f0 kernel/exit.c:1004 __do_sys_exit_group kernel/exit.c:1015 [inline] __se_sys_exit_group kernel/exit.c:1013 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1013 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f2e40d796c5 RSP: 002b:00007ffc7a596e78 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f2e40e7afe8 RCX: 00007f2e40d796c5 RDX: 00000000000000e7 RSI: ffffffffffffff88 RDI: 0000000000000001 RBP: 0000000000000001 R08: 00007ffc7a596e08 R09: 0000000000000000 R10: 00007ffc7a596ca0 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f2e40e79680 R15: 00007f2e40e7b000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c31efa0 ( rcu_read_lock ){....}-{1:2} , at: rcu_lock_acquire+0x0/0x30 5 locks held by kworker/u4:3/586: #0: ffff888016dcd938 ( (wq_completion)netns ){+.+.}-{0:0} , at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1 #1: ffffc90002dbfd00 ( net_cleanup_work ){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285 #2: ffffffff8d4418d0 ( pernet_ops_rwsem ){++++}-{3:3} , at: cleanup_net+0x148/0xba0 net/core/net_namespace.c:589 #3: ffff8880235c93e8 ( &wg->device_update_lock ){+.+.}-{3:3} , at: wg_destruct+0x112/0x300 drivers/net/wireguard/device.c:233 #4: ffffffff8c323930 ( rcu_state.barrier_mutex ){+.+.}-{3:3} , at: rcu_barrier+0xa1/0x4c0 kernel/rcu/tree.c:4043 4 locks held by dhcpcd/3853: 2 locks held by getty/3945: #0: ffff88814cdc01c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: __tty_hangup+0xc0/0x670 drivers/tty/tty_io.c:599 #1: ffff88814cdc0098 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:300 [inline] #1: ffff88814cdc0098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock+0x68/0xb0 drivers/tty/tty_ldisc.c:324 3 locks held by kworker/u5:2/4194: #0: ffff88807e488138 ((wq_completion)hci5){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1 #1: ffffc90002e5fd00 ( (work_completion)(&hdev->power_on) ){+.+.}-{0:0} , at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285 #2: ffff88807a10d3f0 ( &hdev->req_lock ){+.+.}-{3:3} , at: hci_dev_do_open+0xa4/0x12a0 net/bluetooth/hci_core.c:1464 3 locks held by syz-executor/4464: #0: ffff88805b0493f0 ( &hdev->req_lock ){+.+.}-{3:3} , at: hci_dev_do_close+0x5f/0x1020 net/bluetooth/hci_core.c:1755 #1: ffff88805b048478 ( &hdev->lock ){+.+.}-{3:3} , at: hci_dev_do_close+0x408/0x1020 net/bluetooth/hci_core.c:1800 #2: ffffffff8d594a88 ( hci_cb_list_lock ){+.+.}-{3:3} , at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1519 [inline] , at: hci_conn_hash_flush+0xa4/0x220 net/bluetooth/hci_conn.c:1622 5 locks held by kworker/1:14/5578: #0: ffff8881413a9538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1 #1: ffffc90002defd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285 #2: ffff8880242b3220 ( &dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:809 [inline] , at: hub_event+0x178/0x5260 drivers/usb/core/hub.c:5832 #3: ffff8880242b65c8 ( &port_dev->status_lock ){+.+.}-{3:3} , at: usb_lock_port drivers/usb/core/hub.c:3173 [inline] , at: hub_port_connect drivers/usb/core/hub.c:5398 [inline] , at: hub_port_connect_change drivers/usb/core/hub.c:5642 [inline] , at: port_event drivers/usb/core/hub.c:5804 [inline] , at: hub_event+0x20a7/0x5260 drivers/usb/core/hub.c:5886 #4: ffffffff8c313a00 ( console_owner ){-.-.}-{0:0} , at: hub_port_connect drivers/usb/core/hub.c:5399 [inline] , at: hub_port_connect_change drivers/usb/core/hub.c:5642 [inline] , at: port_event drivers/usb/core/hub.c:5804 [inline] , at: hub_event+0x2eca/0x5260 drivers/usb/core/hub.c:5886 2 locks held by kworker/1:15/5579: #0: ffff888016c72138 ( (wq_completion)rcu_gp ){+.+.}-{0:0} , at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1 #1: ffffc9000330fd00 ( (work_completion)(&rew.rew_work) ){+.+.}-{0:0} , at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285 3 locks held by kworker/0:9/6236: #0: ffff888016c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1 #1: ffffc9000311fd00 (free_ipc_work){+.+.}-{0:0} , at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285 #2: ffffffff8c323a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #2: ffffffff8c323a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a5/0x750 kernel/rcu/tree_exp.h:845 2 locks held by dhcpcd/6689: #0: ffff8880741d3210 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:793 [inline] #0: ffff8880741d3210 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:650 [inline] #0: ffff8880741d3210 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x82/0x210 net/socket.c:1346 #1: ffffffff8c323a28 ( rcu_state.exp_mutex ){+.+.}-{3:3} , at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] , at: synchronize_rcu_expedited+0x3a5/0x750 kernel/rcu/tree_exp.h:845 3 locks held by syz-executor/9691: #0: ffff8880665853f0 ( &hdev->req_lock ){+.+.}-{3:3} , at: hci_dev_do_close+0x5f/0x1020 net/bluetooth/hci_core.c:1755 #1: ffff888066584478