INFO: task syz-executor.0:7677 blocked for more than 143 seconds. Not tainted 5.18.0-rc2-syzkaller-00275-g59250f8a7f3a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25880 pid: 7677 ppid: 3620 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0x939/0xea0 kernel/sched/core.c:6388 schedule+0xeb/0x1b0 kernel/sched/core.c:6460 schedule_timeout+0xac/0x300 kernel/time/timer.c:1857 do_wait_for_common+0x3ea/0x560 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x46/0x60 kernel/sched/completion.c:138 io_wq_exit_workers fs/io-wq.c:1266 [inline] io_wq_put_and_exit+0x5e8/0xcd0 fs/io-wq.c:1301 io_uring_clean_tctx+0x164/0x1d0 fs/io_uring.c:10378 io_uring_cancel_generic+0x2de/0x554 fs/io_uring.c:10448 io_uring_files_cancel include/linux/io_uring.h:18 [inline] do_exit+0x141/0x1eb0 kernel/exit.c:750 do_group_exit+0x23b/0x2f0 kernel/exit.c:925 get_signal+0x172f/0x1780 kernel/signal.c:2864 arch_do_signal_or_restart+0x8d/0x750 arch/x86/kernel/signal.c:867 exit_to_user_mode_loop+0x74/0x160 kernel/entry/common.c:166 exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f63610890e9 RSP: 002b:00007f636222c218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f636119bf68 RCX: 00007f63610890e9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f636119bf68 RBP: 00007f636119bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f636119bf6c R13: 00007ffc39eff3cf R14: 00007f636222c300 R15: 0000000000022000 Showing all locks held in the system: 5 locks held by kworker/u4:0/8: 1 lock held by khungtaskd/28: #0: ffffffff8c91ae60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3273: #0: ffff88814cb68098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002e732e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ad/0x1c90 drivers/tty/n_tty.c:2075 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.18.0-rc2-syzkaller-00275-g59250f8a7f3a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x473/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x168/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xcf9/0xd40 kernel/hung_task.c:369 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8 Comm: kworker/u4:0 Not tainted 5.18.0-rc2-syzkaller-00275-g59250f8a7f3a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_acquire+0xf04/0x1f80 Code: c1 e9 20 29 c8 44 01 f8 89 ca c1 c2 04 31 c2 44 01 e9 89 d0 c1 c0 06 41 29 d5 44 31 e8 01 ca 29 c1 89 c6 c1 c6 08 31 ce 01 d0 <29> f2 89 f3 c1 c3 10 31 d3 01 c6 29 d8 41 89 dd 41 c1 c5 13 41 31 RSP: 0018:ffffc900000d7988 EFLAGS: 00000886 RAX: 00000000988a182e RBX: 0000000000060732 RCX: 00000000edca0019 RDX: 000000004d5e4c81 RSI: 00000000c601ad52 RDI: dffffc0000000000 RBP: ffff888011245700 R08: dffffc0000000000 R09: fffffbfff1f1e3f9 R10: fffffbfff1f1e3f9 R11: 1ffffffff1f1e3f8 R12: 1ffff11002248c2a R13: 00000000510be568 R14: ffff888011246150 R15: 0000000000004000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005562a60e2600 CR3: 000000000c68e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5641 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:268 rcu_read_lock include/linux/rcupdate.h:694 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xc8/0x5b0 net/batman-adv/network-coding.c:719 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: c1 e9 20 shr $0x20,%ecx 3: 29 c8 sub %ecx,%eax 5: 44 01 f8 add %r15d,%eax 8: 89 ca mov %ecx,%edx a: c1 c2 04 rol $0x4,%edx d: 31 c2 xor %eax,%edx f: 44 01 e9 add %r13d,%ecx 12: 89 d0 mov %edx,%eax 14: c1 c0 06 rol $0x6,%eax 17: 41 29 d5 sub %edx,%r13d 1a: 44 31 e8 xor %r13d,%eax 1d: 01 ca add %ecx,%edx 1f: 29 c1 sub %eax,%ecx 21: 89 c6 mov %eax,%esi 23: c1 c6 08 rol $0x8,%esi 26: 31 ce xor %ecx,%esi 28: 01 d0 add %edx,%eax * 2a: 29 f2 sub %esi,%edx <-- trapping instruction 2c: 89 f3 mov %esi,%ebx 2e: c1 c3 10 rol $0x10,%ebx 31: 31 d3 xor %edx,%ebx 33: 01 c6 add %eax,%esi 35: 29 d8 sub %ebx,%eax 37: 41 89 dd mov %ebx,%r13d 3a: 41 c1 c5 13 rol $0x13,%r13d 3e: 41 rex.B 3f: 31 .byte 0x31