INFO: task syz-executor.0:29350 blocked for more than 143 seconds. Not tainted 5.18.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27232 pid:29350 ppid: 3640 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:1860 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:10378 [inline] io_uring_cancel_generic+0x538/0x5bc fs/io_uring.c:10448 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:0x7f0cc9a890e9 RSP: 002b:00007f0ccacb3218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f0cc9b9bf68 RCX: 00007f0cc9a890e9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f0cc9b9bf68 RBP: 00007f0cc9b9bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0cc9b9bf6c R13: 00007f0cca0cfb1f R14: 00007f0ccacb3300 R15: 0000000000022000 Showing all locks held in the system: 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/3272: #0: ffff88807f4d0098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002e562e8 (&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-rc3-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: 989 Comm: kworker/u4:4 Not tainted 5.18.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:mark_lock.part.0+0x0/0x1910 kernel/locking/lockdep.c:4566 Code: 48 c7 c0 fe ff ff ff c3 66 90 be 00 00 02 00 48 c7 c7 e0 75 37 8f e8 0f cb 8d 02 48 98 c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 <41> 57 41 56 41 55 41 89 d5 48 ba 00 00 00 00 00 fc ff df 41 54 49 RSP: 0018:ffffc90004f1f9b0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff88801cde8a44 RCX: 1ffffffff2011236 RDX: 0000000000000008 RSI: ffff88801cde8ab0 RDI: ffff88801cde8000 RBP: ffff88801cde8ad2 R08: 0000000000000000 R09: ffffffff900339e7 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88801cde8ab0 R13: ffff88801cde8000 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5d95823e18 CR3: 000000000ba8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_lock kernel/locking/lockdep.c:4571 [inline] mark_usage kernel/locking/lockdep.c:4528 [inline] __lock_acquire+0x8ab/0x56c0 kernel/locking/lockdep.c:4983 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_nc_purge_paths+0xdf/0x3a0 net/batman-adv/network-coding.c:442 batadv_nc_worker+0x930/0xfa0 net/batman-adv/network-coding.c:722 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: 48 c7 c0 fe ff ff ff mov $0xfffffffffffffffe,%rax 7: c3 retq 8: 66 90 xchg %ax,%ax a: be 00 00 02 00 mov $0x20000,%esi f: 48 c7 c7 e0 75 37 8f mov $0xffffffff8f3775e0,%rdi 16: e8 0f cb 8d 02 callq 0x28dcb2a 1b: 48 98 cltq 1d: c3 retq 1e: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 25: 00 00 00 00 29: 90 nop * 2a: 41 57 push %r15 <-- trapping instruction 2c: 41 56 push %r14 2e: 41 55 push %r13 30: 41 89 d5 mov %edx,%r13d 33: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 3a: fc ff df 3d: 41 54 push %r12 3f: 49 rex.WB