INFO: task syz-executor.1:3764 blocked for more than 143 seconds. Not tainted 5.16.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26248 pid: 3764 ppid: 3656 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4f00 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 perf_event_free_task+0x518/0x6c0 kernel/events/core.c:12885 copy_process+0x2f5e/0x7310 kernel/fork.c:2432 create_io_thread+0xb6/0xf0 kernel/fork.c:2504 io_sq_offload_create fs/io_uring.c:8801 [inline] io_uring_create fs/io_uring.c:10476 [inline] io_uring_setup.cold+0x2311/0x2454 fs/io_uring.c:10562 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fb2a4a76fe9 RSP: 002b:00007fb2a33ec0e8 EFLAGS: 00000206 ORIG_RAX: 00000000000001a9 RAX: ffffffffffffffda RBX: 00007fb2a4b89f60 RCX: 00007fb2a4a76fe9 RDX: 0000000020ffe000 RSI: 0000000020000000 RDI: 00000000000035d3 RBP: 0000000020000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000020ffe000 R14: 0000000000000000 R15: 0000000020ffb000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8bb85360 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 2 locks held by getty/3295: #0: ffff88814b948098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b962e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2077 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.16.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: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+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 26150 Comm: kworker/u4:6 Not tainted 5.16.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_purge_orig RIP: 0010:hlock_class kernel/locking/lockdep.c:211 [inline] RIP: 0010:mark_lock+0xfd/0x17b0 kernel/locking/lockdep.c:4583 Code: 0f b7 f2 be 08 00 00 00 4c 89 f0 48 c1 f8 06 48 8d 3c c5 40 6a fb 8f e8 a1 9f 62 00 4c 0f a3 35 59 31 9f 0e 0f 83 03 01 00 00 <4b> 8d 04 76 48 c1 e0 06 48 05 60 6e fb 8f 48 8d 78 50 48 ba 00 00 RSP: 0018:ffffc9000ace7a20 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 1ffff9200159cf4b RCX: ffffffff815c38df RDX: fffffbfff1ff6d64 RSI: 0000000000000008 RDI: ffffffff8ffb6b18 RBP: 0000000000000004 R08: 0000000000000000 R09: ffffffff8ffb6b1f R10: fffffbfff1ff6d63 R11: 0000000000000001 R12: 0000000000000002 R13: ffff888021628a60 R14: 00000000000006fd R15: ffff888021628a80 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000018910c0 CR3: 000000000b88e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:4206 __trace_hardirqs_on_caller kernel/locking/lockdep.c:4224 [inline] lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4292 [inline] lockdep_hardirqs_on_prepare+0x135/0x400 kernel/locking/lockdep.c:4244 trace_hardirqs_on+0x5b/0x1c0 kernel/trace/trace_preemptirq.c:49 __local_bh_enable_ip+0xa0/0x120 kernel/softirq.c:388 spin_unlock_bh include/linux/spinlock.h:394 [inline] batadv_purge_orig_ref+0xeb7/0x1550 net/batman-adv/originator.c:1259 batadv_purge_orig+0x17/0x60 net/batman-adv/originator.c:1272 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 0f b7 f2 movzwl %dx,%esi 3: be 08 00 00 00 mov $0x8,%esi 8: 4c 89 f0 mov %r14,%rax b: 48 c1 f8 06 sar $0x6,%rax f: 48 8d 3c c5 40 6a fb lea -0x700495c0(,%rax,8),%rdi 16: 8f 17: e8 a1 9f 62 00 callq 0x629fbd 1c: 4c 0f a3 35 59 31 9f bt %r14,0xe9f3159(%rip) # 0xe9f317d 23: 0e 24: 0f 83 03 01 00 00 jae 0x12d * 2a: 4b 8d 04 76 lea (%r14,%r14,2),%rax <-- trapping instruction 2e: 48 c1 e0 06 shl $0x6,%rax 32: 48 05 60 6e fb 8f add $0xffffffff8ffb6e60,%rax 38: 48 8d 78 50 lea 0x50(%rax),%rdi 3c: 48 rex.W 3d: ba .byte 0xba