INFO: task syz-executor.1:6407 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.1 D24992 6407 8019 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: 00 00 00 01 be 08 00 00 00 c7 85 00 01 00 00 ff ff ff ff 49 63 ff e8 be 81 ff ff 48 85 c0 48 89 85 10 01 00 00 0f 84 a7 00 00 <00> b8 01 00 00 00 e9 d1 fd ff ff 0f 1f 40 00 c7 80 e4 00 00 00 00 RSP: 002b:00007fffdfcfded0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000413201 RDX: 0000001b30e20000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000001 R08: 00000000f3a3e1f8 R09: 00000000f3a3e1fc R10: 00007fffdfcfdfb0 R11: 0000000000000293 R12: 0000000000760538 R13: 00000000003436c2 R14: 00000000003436ef R15: ffffffffffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1042: #0: 00000000624e816a (rcu_read_lock){....}, at: rcu_lock_acquire+0x4/0x30 include/linux/rcupdate.h:207 1 lock held by udevd/3880: 2 locks held by rs:main Q:Reg/7866: #0: 000000004a483aab (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x243/0x2e0 fs/file.c:801 #1: 000000004c0c43db (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2837 [inline] #1: 000000004c0c43db (sb_writers#3){.+.+}, at: vfs_write+0x208/0x510 fs/read_write.c:557 1 lock held by rsyslogd/7869: #0: 00000000a1071a5b (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x243/0x2e0 fs/file.c:801 2 locks held by getty/7980: #0: 00000000ac6ba59d (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 000000009bf599f9 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 2 locks held by getty/7981: #0: 0000000034061b2b (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 000000006049e2ff (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 2 locks held by getty/7982: #0: 00000000fbe9700b (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 00000000bce0ef48 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 2 locks held by getty/7983: #0: 00000000302a4935 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 00000000a24251da (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 2 locks held by getty/7984: #0: 000000004cb8a624 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 0000000017166654 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 2 locks held by getty/7985: #0: 00000000efb271c8 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 00000000c3f8a451 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 2 locks held by getty/7986: #0: 0000000098be8973 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: 00000000b886b78a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ee/0x1c80 drivers/tty/n_tty.c:2156 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1042 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 15905 Comm: kworker/u4:1 Not tainted 5.2.0-rc6+ #9 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_tt_purge RIP: 0010:__lock_acquire+0x2db/0x1a40 kernel/locking/lockdep.c:3732 Code: 48 89 44 24 78 80 3c 30 00 74 1c 4c 89 f7 e8 9c 6d 54 00 4c 8b 4c 24 20 48 8b 7c 24 08 48 be 00 00 00 00 00 fc ff df 49 89 3e <4b> 8d 9c cf 98 08 00 00 48 89 d8 48 c1 e8 03 48 89 84 24 90 00 00 RSP: 0018:ffff888086b7f960 EFLAGS: 00000046 RAX: 1ffff1100b74ad64 RBX: ffff88805ba56b18 RCX: 1ffff11010d6ff40 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: ffff88808bb83ca0 RBP: ffff888086b7fb28 R08: 0000000000000001 R09: 000000000000000a R10: ffffffff877d3909 R11: 1ffff1101177078a R12: 0000000000000000 R13: ffff88805ba56b08 R14: ffff88805ba56b20 R15: ffff88805ba56240 FS: 0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9e04006018 CR3: 0000000095070000 CR4: 00000000001406e0 Call Trace: lock_acquire+0x158/0x250 kernel/locking/lockdep.c:4303 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x34/0x50 kernel/locking/spinlock.c:175 spin_lock_bh include/linux/spinlock.h:343 [inline] batadv_tt_global_purge net/batman-adv/translation-table.c:2511 [inline] batadv_tt_purge+0x129/0x910 net/batman-adv/translation-table.c:3802 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