INFO: task syz-executor.5:16860 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 D28184 16860 7955 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_create fs/io_uring.c:4681 [inline] io_uring_setup fs/io_uring.c:4707 [inline] __do_sys_io_uring_setup fs/io_uring.c:4720 [inline] __se_sys_io_uring_setup+0x1ccb/0x2490 fs/io_uring.c:4717 __x64_sys_io_uring_setup+0x5b/0x70 fs/io_uring.c:4717 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a649 Code: Bad RIP value. RSP: 002b:00007f6090fedc78 EFLAGS: 00000246 ORIG_RAX: 00000000000001a9 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 000000000045a649 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 00000000000008a8 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6090fee6d4 R13: 00000000004c1d7c R14: 00000000004d5cb8 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1078: #0: ffffffff88ad41c0 (rcu_read_lock){....}, at: rcu_lock_acquire+0x4/0x30 include/linux/rcupdate.h:207 1 lock held by rsyslogd/7813: 2 locks held by getty/7904: #0: ffff8880a1904090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f412e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7905: #0: ffff8880a05ff090 (&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/7906: #0: ffff8880a13de090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f392e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7907: #0: ffff8880a77a3090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f2d2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7908: #0: ffff88809e85a090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f3d2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7909: #0: ffff8880a094c090 (&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 2 locks held by getty/7910: #0: ffff88809f2dc090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f112e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1078 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: 130 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:test_bit include/asm-generic/bitops-instrumented.h:237 [inline] RIP: 0010:hlock_class kernel/locking/lockdep.c:163 [inline] RIP: 0010:mark_lock+0xf1/0x1650 kernel/locking/lockdep.c:3643 Code: 74 24 28 48 8d 5e 20 49 89 dc 49 c1 ec 03 43 8a 04 2c 84 c0 0f 85 5e 07 00 00 48 89 5c 24 10 8b 1b 81 e3 ff 1f 00 00 48 89 d8 <48> c1 e8 06 48 8d 3c c5 a0 8c 7e 89 be 08 00 00 00 e8 d9 93 54 00 RSP: 0018:ffff8880a97978f0 EFLAGS: 00000002 RAX: 0000000000000029 RBX: 0000000000000029 RCX: 0000000000000008 RDX: 0000000000000008 RSI: ffff8880a9784ee8 RDI: ffff8880a9784600 RBP: ffff8880a97979f0 R08: ffff8880a9784e84 R09: 000000000000000a R10: 1ffff110152f09d0 R11: 0000000000000000 R12: 1ffff110152f09e1 R13: dffffc0000000000 R14: 0000000000000008 R15: 0000000000000100 FS: 0000000000000000(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffff3bf8260 CR3: 00000000a0f36000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_usage kernel/locking/lockdep.c:3592 [inline] __lock_acquire+0x6a2/0x1be0 kernel/locking/lockdep.c:3909 lock_acquire+0x158/0x250 kernel/locking/lockdep.c:4485 rcu_lock_acquire+0x2e/0x40 include/linux/rcupdate.h:208 rcu_read_lock include/linux/rcupdate.h:617 [inline] batadv_nc_process_nc_paths+0xbd/0x380 net/batman-adv/network-coding.c:686 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