INFO: task getty:3944 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: 3944 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:0x7fe565b266c5 RSP: 002b:00007ffc1059b0b8 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007fe565c27fe8 RCX: 00007fe565b266c5 RDX: 00000000000000e7 RSI: ffffffffffffff88 RDI: 0000000000000001 RBP: 0000000000000001 R08: 00007ffc1059b048 R09: 0000000000000000 R10: 00007ffc1059aee0 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fe565c26680 R15: 00007fe565c28000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8d11efa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:2/155: 1 lock held by klogd/3549: 2 locks held by dhcpcd/3852: #0: ffffffff8e2c8cd0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:802 #1: ffffffff8e26bd48 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x28/0x540 net/wireless/nl80211.c:14971 2 locks held by getty/3944: #0: ffff88814d1911c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: __tty_hangup+0xc0/0x670 drivers/tty/tty_io.c:599 #1: ffff88814d191098 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:300 [inline] #1: ffff88814d191098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock+0x68/0xb0 drivers/tty/tty_ldisc.c:324 3 locks held by sshd-session/4174: 2 locks held by kworker/1:4/4196: