INFO: task syz-executor.5:23260 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.5 D28552 23260 7919 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:0x45a649 Code: ec 08 10 00 00 48 89 ac 24 00 10 00 00 48 8d ac 24 00 10 00 00 48 8b 59 20 48 85 db 75 67 48 8b b4 24 20 10 00 00 8b 8c 24 28 <10> 00 00 48 89 e7 f3 a4 48 8b 94 24 18 10 00 00 ff 12 48 8b 94 24 RSP: 002b:00007fba39ff9c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 000000000045a649 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fba39ffa6d4 R13: 00000000004fb932 R14: 00000000004d3918 R15: 00000000ffffffff Showing all locks held in the system: 2 locks held by kworker/u4:4/433: #0: ffff8880aea36f58 (&rq->lock){-.-.}, at: newidle_balance+0x629/0xb60 kernel/sched/fair.c:10166 #1: ffffffff88ad41c0 (rcu_read_lock){....}, at: rcu_lock_acquire+0xd/0x40 include/linux/rcupdate.h:208 1 lock held by khungtaskd/1077: #0: ffffffff88ad41c0 (rcu_read_lock){....}, at: rcu_lock_acquire+0x4/0x30 include/linux/rcupdate.h:207 1 lock held by rsyslogd/7777: #0: ffff8880a8d7e3e0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x243/0x2e0 fs/file.c:801 2 locks held by getty/7868: #0: ffff8880a88ac090 (&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/7869: #0: ffff8880a659b090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f4b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7870: #0: ffff8880a89cb090 (&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/7871: #0: ffff88809f8b2090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f432e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7872: #0: ffff8880a7430090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f472e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7873: #0: ffff8880a9910090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f3f2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7874: #0: ffff88809a84e090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f192e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1077 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: 123 Comm: kworker/u4:2 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:match_held_lock+0x1/0x270 kernel/locking/lockdep.c:4013 Code: 07 80 c1 03 38 c1 7c 98 48 c7 c7 44 d4 de 88 e8 c5 5f 54 00 83 3d e2 35 84 07 00 0f 85 50 ff ff ff eb 86 0f 0b 0f 1f 40 00 55 <48> 89 e5 41 57 41 56 41 55 41 54 53 50 49 89 f5 49 89 fc 48 ba 00 RSP: 0018:ffff8880a9747bc8 EFLAGS: 00000006 RAX: 0000000000000002 RBX: 1ffff110152e719a RCX: ffffffff8159f157 RDX: dffffc0000000000 RSI: ffffffff88ad41c0 RDI: ffff8880a9738d28 RBP: ffff8880a9747c58 R08: dffffc0000000000 R09: fffffbfff11bd455 R10: fffffbfff11bd455 R11: 0000000000000000 R12: 0000000000000002 R13: 000000000000000a R14: ffff8880a9738d28 R15: ffffffff88ad41c0 FS: 0000000000000000(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 0000000094bb4000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: rcu_lock_release+0x21/0x30 include/linux/rcupdate.h:213 rcu_read_unlock include/linux/rcupdate.h:671 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:411 [inline] batadv_nc_worker+0x281/0x600 net/batman-adv/network-coding.c:718 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