INFO: task syz-executor.2:29558 can't die for more than 143 seconds. syz-executor.2 D28160 29558 9257 0x00004004 Call Trace: context_switch kernel/sched/core.c:3252 [inline] __schedule+0x755/0x1580 kernel/sched/core.c:3878 schedule+0xa8/0x270 kernel/sched/core.c:3942 schedule_timeout+0x717/0xc50 kernel/time/timer.c:1783 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x29c/0x440 kernel/sched/completion.c:136 kthread_stop+0x131/0x720 kernel/kthread.c:559 io_sq_thread_stop fs/io_uring.c:2464 [inline] io_finish_async+0x73/0x140 fs/io_uring.c:2471 io_ring_ctx_free fs/io_uring.c:2982 [inline] io_ring_ctx_wait_and_kill+0x133/0x600 fs/io_uring.c:3046 io_uring_release+0x42/0x50 fs/io_uring.c:3054 __fput+0x2ff/0x890 fs/file_table.c:280 ____fput+0x16/0x20 fs/file_table.c:313 task_work_run+0x145/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x316/0x380 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x5a9/0x6a0 arch/x86/entry/common.c:299 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4134b1 Code: af fe ff ff 31 c9 31 f6 41 b9 b0 20 41 00 41 b8 fc 97 65 00 ba 04 00 00 00 bf 02 38 44 00 ff 15 cd a1 24 00 85 c0 0f 85 87 fe ff 31 c9 31 f6 41 b9 b0 20 41 00 41 b8 00 98 65 00 ba 07 00 00 RSP: 002b:00007ffce38eb3d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004134b1 RDX: 0000001b2e420000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000001 R08: 000000005a5a438a R09: 000000005a5a438e R10: 00007ffce38eb4b0 R11: 0000000000000293 R12: 000000000075bf20 R13: 0000000000073b3c R14: 00000000007604b0 R15: ffffffffffffffff INFO: task syz-executor.2:29558 blocked for more than 143 seconds. Not tainted 5.2.0-next-20190710 #35 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28160 29558 9257 0x00004004 Call Trace: context_switch kernel/sched/core.c:3252 [inline] __schedule+0x755/0x1580 kernel/sched/core.c:3878 schedule+0xa8/0x270 kernel/sched/core.c:3942 schedule_timeout+0x717/0xc50 kernel/time/timer.c:1783 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x29c/0x440 kernel/sched/completion.c:136 kthread_stop+0x131/0x720 kernel/kthread.c:559 io_sq_thread_stop fs/io_uring.c:2464 [inline] io_finish_async+0x73/0x140 fs/io_uring.c:2471 io_ring_ctx_free fs/io_uring.c:2982 [inline] io_ring_ctx_wait_and_kill+0x133/0x600 fs/io_uring.c:3046 io_uring_release+0x42/0x50 fs/io_uring.c:3054 __fput+0x2ff/0x890 fs/file_table.c:280 ____fput+0x16/0x20 fs/file_table.c:313 task_work_run+0x145/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x316/0x380 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x5a9/0x6a0 arch/x86/entry/common.c:299 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4134b1 Code: af fe ff ff 31 c9 31 f6 41 b9 b0 20 41 00 41 b8 fc 97 65 00 ba 04 00 00 00 bf 02 38 44 00 ff 15 cd a1 24 00 85 c0 0f 85 87 fe ff 31 c9 31 f6 41 b9 b0 20 41 00 41 b8 00 98 65 00 ba 07 00 00 RSP: 002b:00007ffce38eb3d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004134b1 RDX: 0000001b2e420000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000001 R08: 000000005a5a438a R09: 000000005a5a438e R10: 00007ffce38eb4b0 R11: 0000000000000293 R12: 000000000075bf20 R13: 0000000000073b3c R14: 00000000007604b0 R15: ffffffffffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1051: #0: 0000000066181b38 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5257 1 lock held by rsyslogd/9124: #0: 00000000600bb306 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 2 locks held by getty/9214: #0: 0000000031012ada (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000003fa596f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9215: #0: 00000000da93788f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000d62b5e08 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9216: #0: 000000005e8602bd (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000fcff5181 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9217: #0: 000000007ae1cb34 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000002fe9747f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9218: #0: 00000000cf275bae (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000141d57a2 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9219: #0: 00000000db7415e1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000f21e9198 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9220: #0: 0000000039481e57 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000007a833a2f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1051 Comm: khungtaskd Not tainted 5.2.0-next-20190710 #35 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x172/0x1f0 lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x70/0xb2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x23b/0x28b lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:249 [inline] watchdog+0xc54/0x1320 kernel/hung_task.c:333 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:60