INFO: task syz-executor.0:31700 blocked for more than 143 seconds. Not tainted 5.2.0-rc6+ #9 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D25760 31700 7965 0x00004004 Call Trace: context_switch kernel/sched/core.c:2818 [inline] __schedule+0x658/0x9e0 kernel/sched/core.c:3445 schedule+0x131/0x1d0 kernel/sched/core.c:3509 schedule_timeout+0x9a/0x2b0 kernel/time/timer.c:1783 do_wait_for_common+0x35e/0x5a0 kernel/sched/completion.c:83 __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x47/0x60 kernel/sched/completion.c:136 kthread_stop+0xb4/0x150 kernel/kthread.c:559 io_sq_thread_stop fs/io_uring.c:2252 [inline] io_finish_async fs/io_uring.c:2259 [inline] io_ring_ctx_free fs/io_uring.c:2770 [inline] io_ring_ctx_wait_and_kill+0x268/0x880 fs/io_uring.c:2834 io_uring_release+0x5d/0x70 fs/io_uring.c:2842 __fput+0x2e4/0x740 fs/file_table.c:280 ____fput+0x15/0x20 fs/file_table.c:313 task_work_run+0x17e/0x1b0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:185 [inline] exit_to_usermode_loop arch/x86/entry/common.c:168 [inline] prepare_exit_to_usermode+0x402/0x4f0 arch/x86/entry/common.c:199 syscall_return_slowpath+0x110/0x440 arch/x86/entry/common.c:279 do_syscall_64+0x126/0x140 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x413201 Code: 48 89 54 24 10 48 85 d2 0f 86 cd 00 00 00 48 89 d3 31 d2 48 f7 f3 48 c7 41 30 00 00 00 00 48 c7 41 40 ff ff ff ff 48 89 41 38 <48> c7 41 48 00 00 00 00 48 c7 41 50 00 00 00 00 48 8b 41 38 48 89 RSP: 002b:00007ffce1423d30 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000413201 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000000 R08: ffffffffffffffff R09: ffffffffffffffff R10: 00007ffce1423e10 R11: 0000000000000293 R12: 00000000007605b8 R13: 00000000001d9d02 R14: 00000000001d9d2f R15: ffffffffffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1043: #0: 000000002063178a (rcu_read_lock){....}, at: rcu_lock_acquire+0x4/0x30 include/linux/rcupdate.h:207 1 lock held by rsyslogd/7839: 2 locks held by getty/7929: #0: 00000000df3021eb (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 000000002cb62ea0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 2 locks held by getty/7930: #0: 00000000e85f325f (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 00000000150aa347 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 2 locks held by getty/7931: #0: 0000000062a3be1c (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 00000000911ca09d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 2 locks held by getty/7932: #0: 00000000eb6ceed0 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 0000000051b99b4d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 2 locks held by getty/7933: #0: 000000001ad52217 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 000000005ef9806d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 2 locks held by getty/7934: #0: 000000009cece636 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 00000000d3ac494d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 2 locks held by getty/7935: #0: 000000002cd622d8 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 000000001c59972c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 3 locks held by kworker/u4:8/14223: #0: 00000000f744e220 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1168 [inline] #0: 00000000f744e220 (&rq->lock){-.-.}, at: __schedule+0x125/0x9e0 kernel/sched/core.c:3397 #1: 000000002063178a (rcu_read_lock){....}, at: rcu_lock_acquire+0x4/0x30 include/linux/rcupdate.h:207 #2: 000000009c651182 (&base->lock){-.-.}, at: lock_timer_base kernel/time/timer.c:932 [inline] #2: 000000009c651182 (&base->lock){-.-.}, at: __mod_timer+0x21e/0x1640 kernel/time/timer.c:1004 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1043 Comm: khungtaskd Not tainted 5.2.0-rc6+ #9 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+0x1d8/0x2f8 lib/dump_stack.c:113 nmi_cpu_backtrace+0x89/0x160 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x125/0x230 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x10/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace+0x17/0x20 include/linux/nmi.h:146 check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xbb9/0xbd0 kernel/hung_task.c:289 kthread+0x325/0x350 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 CPU: 0 PID: 14223 Comm: kworker/u4:8 Not tainted 5.2.0-rc6+ #9 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: 0x0 (bat_events) RIP: 0010:kasan_check_write+0x0/0x20 mm/kasan/common.c:99 Code: fd 01 00 ff 88 c8 12 00 00 c3 55 48 89 e5 89 f6 48 8b 4d 08 31 d2 e8 8f 1f 00 00 5d c3 0f 1f 00 66 2e 0f 1f 84 00 00 00 00 00 <55> 48 89 e5 89 f6 48 8b 4d 08 ba 01 00 00 00 e8 6c 1f 00 00 5d c3 RSP: 0018:ffff88805b4b7438 EFLAGS: 00000097 RAX: 00000000ffffff04 RBX: dffffc0000000000 RCX: 000000005b4b7403 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffff8880aeb35100 RBP: ffff88805b4b7508 R08: dffffc0000000000 R09: 0000000000000005 R10: 1ffff1100bbe09ed R11: 0000000000000000 R12: ffff8880aeb35100 R13: 1ffff1100b696e94 R14: ffff88805b4b74a0 R15: 1ffff11015d66a21 FS: 0000000000000000(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000148 CR3: 00000000a9bc6000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:117 [inline] _raw_spin_lock_irqsave+0xad/0xc0 kernel/locking/spinlock.c:159 rq_lock_irqsave kernel/sched/sched.h:1152 [inline] load_balance+0x4304/0x62e0 kernel/sched/fair.c:9094 idle_balance kernel/sched/fair.c:10061 [inline] pick_next_task_fair+0x751/0x1bf0 kernel/sched/fair.c:7090 pick_next_task kernel/sched/core.c:3305 [inline] __schedule+0x413/0x9e0 kernel/sched/core.c:3419 schedule+0x131/0x1d0 kernel/sched/core.c:3509 worker_thread+0x10d6/0x1640 kernel/workqueue.c:2436 kthread+0x325/0x350 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352