INFO: task syz-executor.4:32308 blocked for more than 143 seconds. Not tainted 5.4.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D28368 32308 8035 0x00004004 Call Trace: context_switch kernel/sched/core.c:3385 [inline] __schedule+0x837/0xc50 kernel/sched/core.c:4081 schedule+0x181/0x210 kernel/sched/core.c:4155 schedule_timeout+0x46/0x240 kernel/time/timer.c:1871 do_wait_for_common+0x2e7/0x4d0 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 io_wq_destroy+0x3c4/0x510 fs/io-wq.c:1059 io_finish_async fs/io_uring.c:3476 [inline] io_ring_ctx_free fs/io_uring.c:4273 [inline] io_ring_ctx_wait_and_kill+0x5df/0xb10 fs/io_uring.c:4346 io_uring_release+0x5d/0x70 fs/io_uring.c:4354 __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:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:164 [inline] prepare_exit_to_usermode+0x483/0x5b0 arch/x86/entry/common.c:195 syscall_return_slowpath+0x113/0x4a0 arch/x86/entry/common.c:278 do_syscall_64+0x11f/0x1c0 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4141e1 Code: 83 fb 01 0f 85 bc 01 00 00 4c 8d 52 ff 4c 89 e9 4d 89 c3 eb 12 49 c1 e0 08 45 0f b6 22 4d 09 e0 49 83 c5 08 49 ff ca 4d 39 cd <72> e9 4d 39 cd 0f 86 85 01 00 00 4d 29 cd 49 89 ca 4c 89 e9 49 d3 RSP: 002b:00007ffe4bb30320 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 000000000000000a RCX: 00000000004141e1 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000009 RBP: 0000000000000001 R08: 0000000003d97855 R09: 0000000003d97859 R10: 00007ffe4bb30400 R11: 0000000000000293 R12: 000000000075bf20 R13: 00000000001d8f16 R14: 00000000007648e0 R15: 000000000075bf2c Showing all locks held in the system: 1 lock held by khungtaskd/1079: #0: ffffffff88ad41c0 (rcu_read_lock){....}, at: rcu_lock_acquire+0x4/0x30 include/linux/rcupdate.h:207 1 lock held by rsyslogd/7894: #0: ffff8880a973cda0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x243/0x2e0 fs/file.c:801 2 locks held by getty/7984: #0: ffff8880a84c5090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f012e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7985: #0: ffff8880a9774090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f1d2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7986: #0: ffff88809e0ae090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f292e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7987: #0: ffff888094c32090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f212e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7988: #0: ffff88808ed5e090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f0d2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7989: #0: ffff8880a897b090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f252e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7990: #0: ffff88809aa13090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005ef12e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1079 Comm: khungtaskd Not tainted 5.4.0-syzkaller #0 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+0x1fb/0x318 lib/dump_stack.c:118 nmi_cpu_backtrace+0xaf/0x1a0 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x174/0x290 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+0xd49/0xd60 kernel/hung_task.c:289 kthread+0x332/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: 164 Comm: kworker/u4:3 Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:752 [inline] RIP: 0010:lock_release+0x4c7/0x780 kernel/locking/lockdep.c:4506 Code: 48 c1 e8 03 80 3c 10 00 74 0c 48 c7 c7 68 95 aa 88 e8 cd 10 55 00 48 83 3d ed a7 50 07 00 0f 84 8c 02 00 00 48 8b 7d 88 57 9d <0f> 1f 44 00 00 65 48 8b 04 25 28 00 00 00 48 3b 45 d0 0f 85 70 02 RSP: 0018:ffff8880a9087b68 EFLAGS: 00000286 RAX: 1ffffffff11552ad RBX: ffff8880a907a988 RCX: ffffffff8159f157 RDX: dffffc0000000000 RSI: ffff8880a907aa08 RDI: 0000000000000286 RBP: ffff8880a9087be8 R08: dffffc0000000000 R09: fffffbfff11bd465 R10: fffffbfff11bd465 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000000 R14: d041ac5788051a8b R15: 0000000000020029 FS: 0000000000000000(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000000a9115000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_release+0x21/0x30 include/linux/rcupdate.h:213 rcu_read_unlock include/linux/rcupdate.h:671 [inline] batadv_nc_process_nc_paths+0x2e1/0x380 net/batman-adv/network-coding.c:698 batadv_nc_worker+0x415/0x600 net/batman-adv/network-coding.c:727 process_one_work+0x7ef/0x10d0 kernel/workqueue.c:2264 worker_thread+0xc01/0x1630 kernel/workqueue.c:2410 kthread+0x332/0x350 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352