INFO: task syz-executor.5:11516 can't die for more than 143 seconds. syz-executor.5 D28160 11516 9158 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+0x280/0x2d0 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: cf 48 c1 e9 03 4c 8b 05 85 1c 3b 01 48 c1 ef 05 49 29 f8 49 8d 78 ff 48 83 e1 03 48 83 fa 10 0f 84 a7 04 00 00 44 0f b6 43 17 <41> f6 c0 40 0f 85 58 04 00 00 4c 8b 03 48 8b 44 24 68 49 39 c0 0f RSP: 002b:00007ffce21e6060 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00000000004134b1 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000001 R08: 00000000591263c1 R09: 00000000591263c5 R10: 00007ffce21e6140 R11: 0000000000000293 R12: 000000000075bf20 R13: 0000000000173d83 R14: 00000000007605a0 R15: ffffffffffffffff INFO: task syz-executor.5:11516 blocked for more than 143 seconds. Not tainted 5.2.0-rc7-next-20190703 #28 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28160 11516 9158 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+0x280/0x2d0 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: cf 48 c1 e9 03 4c 8b 05 85 1c 3b 01 48 c1 ef 05 49 29 f8 49 8d 78 ff 48 83 e1 03 48 83 fa 10 0f 84 a7 04 00 00 44 0f b6 43 17 <41> f6 c0 40 0f 85 58 04 00 00 4c 8b 03 48 8b 44 24 68 49 39 c0 0f RSP: 002b:00007ffce21e6060 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00000000004134b1 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000001 R08: 00000000591263c1 R09: 00000000591263c5 R10: 00007ffce21e6140 R11: 0000000000000293 R12: 000000000075bf20 R13: 0000000000173d83 R14: 00000000007605a0 R15: ffffffffffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1045: #0: 00000000eeef7058 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5257 2 locks held by rsyslogd/9009: #0: 00000000e5871feb (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 #1: 000000000cff1fd4 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1207 [inline] #1: 000000000cff1fd4 (&rq->lock){-.-.}, at: __schedule+0x1f5/0x1580 kernel/sched/core.c:3830 2 locks held by getty/9099: #0: 000000000ebe61f7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000db42ac2f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9100: #0: 00000000f2f51fe3 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000009cdcd3eb (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9101: #0: 00000000c7037567 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000db3d94c3 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9102: #0: 00000000866e8480 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000006d52c8ea (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9103: #0: 000000008cd9f352 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000d5080521 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9104: #0: 0000000005249b3a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000000b352fdc (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9105: #0: 00000000f16d2181 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000004ee0d459 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1045 Comm: khungtaskd Not tainted 5.2.0-rc7-next-20190703 #28 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:353 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