INFO: task syz-executor.3:10812 blocked for more than 143 seconds. Not tainted 5.18.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27232 pid:10812 ppid: 3646 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6388 schedule+0xd2/0x1f0 kernel/sched/core.c:6460 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x373/0x530 kernel/sched/completion.c:106 io_wq_exit_workers fs/io-wq.c:1266 [inline] io_wq_put_and_exit+0x4d6/0xe40 fs/io-wq.c:1301 io_uring_clean_tctx fs/io_uring.c:10368 [inline] io_uring_cancel_generic+0x538/0x5bc fs/io_uring.c:10438 io_uring_files_cancel include/linux/io_uring.h:18 [inline] do_exit+0x4f9/0x2a00 kernel/exit.c:750 do_group_exit+0xd2/0x2f0 kernel/exit.c:925 get_signal+0x22df/0x24c0 kernel/signal.c:2864 arch_do_signal_or_restart+0x82/0x20f0 arch/x86/kernel/signal.c:867 exit_to_user_mode_loop kernel/entry/common.c:166 [inline] exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fb8f1e89049 RSP: 002b:00007fb8f2fb6218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fb8f1f9bf68 RCX: 00007fb8f1e89049 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fb8f1f9bf68 RBP: 00007fb8f1f9bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb8f1f9bf6c R13: 00007fb8f24cfb1f R14: 00007fb8f2fb6300 R15: 0000000000022000 Showing all locks held in the system: 3 locks held by kworker/u4:0/8: 1 lock held by khungtaskd/28: #0: ffffffff8bd81de0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6467 2 locks held by getty/3271: #0: ffff88814cdd8098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002e632e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcea/0x1230 drivers/tty/n_tty.c:2075 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.18.0-rc2-syzkaller #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+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 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+0xc1d/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8 Comm: kworker/u4:0 Not tainted 5.18.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_purge_orig RIP: 0010:check_wait_context kernel/locking/lockdep.c:4725 [inline] RIP: 0010:__lock_acquire+0x67b/0x56c0 kernel/locking/lockdep.c:4979 Code: 00 00 00 48 89 fa 48 c1 ea 03 42 0f b6 14 3a 84 d2 74 06 0f 8e 7e 2c 00 00 0f b6 80 b8 00 00 00 84 c0 74 06 40 38 c5 0f 47 e8 <48> 8b 04 24 41 83 c4 01 48 c1 e8 03 42 0f b6 04 38 84 c0 74 08 3c RSP: 0018:ffffc900000d7990 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000742 RCX: ffffffff815d4392 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90088f58 RBP: 0000000000000004 R08: 0000000000000000 R09: ffffffff900319ef R10: fffffbfff200633d R11: 0000000000000001 R12: 0000000000000001 R13: ffff888010e6d700 R14: ffff888010e6e160 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1d4c4e66c8 CR3: 0000000021fc9000 CR4: 00000000003506f0 Call Trace: lock_acquire kernel/locking/lockdep.c:5641 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5606 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:354 [inline] batadv_purge_orig_ref+0x176/0x1550 net/batman-adv/originator.c:1243 batadv_purge_orig+0x17/0x60 net/batman-adv/originator.c:1272 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 48 89 add %cl,-0x77(%rax) 5: fa cli 6: 48 c1 ea 03 shr $0x3,%rdx a: 42 0f b6 14 3a movzbl (%rdx,%r15,1),%edx f: 84 d2 test %dl,%dl 11: 74 06 je 0x19 13: 0f 8e 7e 2c 00 00 jle 0x2c97 19: 0f b6 80 b8 00 00 00 movzbl 0xb8(%rax),%eax 20: 84 c0 test %al,%al 22: 74 06 je 0x2a 24: 40 38 c5 cmp %al,%bpl 27: 0f 47 e8 cmova %eax,%ebp * 2a: 48 8b 04 24 mov (%rsp),%rax <-- trapping instruction 2e: 41 83 c4 01 add $0x1,%r12d 32: 48 c1 e8 03 shr $0x3,%rax 36: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax 3b: 84 c0 test %al,%al 3d: 74 08 je 0x47 3f: 3c .byte 0x3c