INFO: task syz-executor.2:26496 blocked for more than 143 seconds. Not tainted 5.2.0+ #19 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D25760 26496 7927 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:163 [inline] prepare_exit_to_usermode+0x402/0x4f0 arch/x86/entry/common.c:194 syscall_return_slowpath+0x110/0x440 arch/x86/entry/common.c:274 do_syscall_64+0x126/0x140 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 a5 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:00007ffe664fecf0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00000000004134b1 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000001 R08: 00000000bf00976e R09: 00000000bf009772 R10: 00007ffe664fedd0 R11: 0000000000000293 R12: 000000000075bf20 R13: 0000000000042cac R14: 00000000007605a0 R15: ffffffffffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1046: #0: 000000001243bbbe (rcu_read_lock){....}, at: rcu_lock_acquire+0x4/0x30 include/linux/rcupdate.h:207 2 locks held by rsyslogd/7795: #0: 0000000090af038d (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x243/0x2e0 fs/file.c:801 #1: 00000000bdbc0aa2 (fs_reclaim){+.+.}, at: rcu_lock_acquire+0x9/0x40 include/linux/rcupdate.h:207 2 locks held by getty/7886: #0: 00000000eb83e91e (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 00000000f5c85111 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 2 locks held by getty/7887: #0: 00000000d02fd44e (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 0000000015fb73ad (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 2 locks held by getty/7888: #0: 000000000534cc20 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 00000000d2916235 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 2 locks held by getty/7889: #0: 00000000dbc94749 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 00000000a8ac2284 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 2 locks held by getty/7890: #0: 00000000e9b307f7 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 00000000c6c7e89e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 2 locks held by getty/7891: #0: 000000004f16149b (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 000000008fad4043 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 2 locks held by getty/7892: #0: 00000000e874a196 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 00000000a4d78bb0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1046 Comm: khungtaskd Not tainted 5.2.0+ #19 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2540 Comm: kworker/u4:4 Not tainted 5.2.0+ #19 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_purge_orig RIP: 0010:arch_local_save_flags arch/x86/include/asm/paravirt.h:762 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/paravirt.h:784 [inline] RIP: 0010:lock_release+0x80/0x790 kernel/locking/lockdep.c:4318 Code: aa 88 48 c1 e8 03 80 3c 10 00 74 16 48 c7 c7 f8 63 aa 88 e8 92 60 54 00 48 ba 00 00 00 00 00 fc ff df 48 83 3d b8 d4 4f 07 00 <0f> 84 dc 06 00 00 9c 58 0f 1f 44 00 00 48 89 45 98 48 c7 c0 08 64 RSP: 0018:ffff8880a0cf7ad8 EFLAGS: 00000282 RAX: 1ffffffff1154c7f RBX: 1ffff1101419ad9f RCX: ffff8880a0cd6480 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff88806944c710 RBP: ffff8880a0cf7b48 R08: dffffc0000000000 R09: ffffed101419ef5d R10: ffffed101419ef5c R11: 1ffff1101419ef5c R12: ffffffff877b88a9 R13: dffffc0000000000 R14: ffff88806944c710 R15: ffff8880a0cd6cfc FS: 0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000019f4480 CR3: 0000000092341000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:174 [inline] _raw_spin_unlock_bh+0x1f/0x40 kernel/locking/spinlock.c:207 spin_unlock_bh include/linux/spinlock.h:383 [inline] batadv_purge_orig_ref+0x2069/0x2110 net/batman-adv/originator.c:1364 batadv_purge_orig+0x19/0x60 net/batman-adv/originator.c:1377 process_one_work+0x814/0x1130 kernel/workqueue.c:2269 worker_thread+0xc01/0x1640 kernel/workqueue.c:2415 kthread+0x325/0x350 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352