INFO: task syz-executor.4:3394 blocked for more than 143 seconds. Not tainted 5.2.0-rc4+ #34 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D28128 3394 10717 0x00004004 Call Trace: context_switch kernel/sched/core.c:2818 [inline] __schedule+0x7cb/0x1560 kernel/sched/core.c:3445 schedule+0xa8/0x260 kernel/sched/core.c:3509 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+0x10b/0x6c0 kernel/kthread.c:559 io_sq_thread_stop fs/io_uring.c:2252 [inline] io_finish_async+0x73/0x140 fs/io_uring.c:2259 io_ring_ctx_free fs/io_uring.c:2770 [inline] io_ring_ctx_wait_and_kill+0x133/0x600 fs/io_uring.c:2834 io_uring_release+0x42/0x50 fs/io_uring.c:2842 __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:185 [inline] exit_to_usermode_loop+0x273/0x2c0 arch/x86/entry/common.c:168 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x58e/0x680 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x412fb1 Code: 75 52 0f b6 19 48 ff c1 0f ba e3 00 73 de 48 89 54 24 20 89 5c 24 1c 48 89 4c 24 38 48 8b 44 24 68 48 8d 0c 02 48 8b 5c 24 60 <48> 8d 34 1a 48 8b 09 48 89 4c 24 08 48 89 34 24 e8 9a ea ff ff 48 RSP: 002b:00007ffd8ccc28b0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000412fb1 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000001 R08: 000000001874af58 R09: ffffffffffffffff R10: 00007ffd8ccc2990 R11: 0000000000000293 R12: 00000000007605b8 R13: 000000000025fba9 R14: 000000000025fbd6 R15: 000000000075bf2c Showing all locks held in the system: 1 lock held by khungtaskd/1043: #0: 00000000b9ab39e3 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5149 2 locks held by rsyslogd/8885: #0: 000000009f339ef9 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 #1: 00000000b9ab39e3 (rcu_read_lock){....}, at: __might_fault+0xfb/0x1e0 mm/memory.c:4495 2 locks held by getty/8975: #0: 000000002bf3beda (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000008b7e7b0a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8976: #0: 00000000eaff1057 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000ef8cf6e1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8977: #0: 000000005e8eeb84 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000fe9f61b3 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8978: #0: 00000000e8a24908 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000005f8dd1b5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8979: #0: 000000002f7691c1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000005cfceaba (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8980: #0: 00000000c110c164 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000c7c7cea5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8981: #0: 0000000064bae617 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000004829b69b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1043 Comm: khungtaskd Not tainted 5.2.0-rc4+ #34 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+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1be/0x236 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:205 [inline] watchdog+0x9b7/0xec0 kernel/hung_task.c:289 kthread+0x354/0x420 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: 28541 Comm: kworker/u4:6 Not tainted 5.2.0-rc4+ #34 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:debug_lockdep_rcu_enabled.part.0+0x37/0x60 kernel/rcu/update.c:237 Code: e5 53 65 48 8b 1c 25 c0 fd 01 00 48 8d bb 7c 08 00 00 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 04 <84> d2 75 10 8b 93 7c 08 00 00 31 c0 5b 5d 85 d2 0f 94 c0 c3 e8 b0 RSP: 0018:ffff88805a677be0 EFLAGS: 00000002 RAX: 0000000000000007 RBX: ffff888084604300 RCX: 1ffffffff13017b6 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888084604b7c RBP: ffff88805a677be8 R08: 0000000000000000 R09: 0000000000000000 R10: ffffed1015d06bdf R11: 0000000000000000 R12: ffffffff88ba35c0 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c42080d700 CR3: 00000000a6a9f000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: debug_lockdep_rcu_enabled+0x71/0xa0 kernel/rcu/update.c:236 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x2f0/0x3f0 kernel/locking/lockdep.c:4302 rcu_lock_acquire include/linux/rcupdate.h:208 [inline] rcu_read_lock include/linux/rcupdate.h:593 [inline] batadv_nc_process_nc_paths.part.0+0xe4/0x3c0 net/batman-adv/network-coding.c:686 batadv_nc_process_nc_paths net/batman-adv/network-coding.c:678 [inline] batadv_nc_worker+0x5e4/0x760 net/batman-adv/network-coding.c:734 process_one_work+0x989/0x1790 kernel/workqueue.c:2269 worker_thread+0x98/0xe40 kernel/workqueue.c:2415 kthread+0x354/0x420 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352