INFO: task syz-executor.0:8879 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29120 pid: 8879 ppid: 6553 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 io_ring_ctx_wait_and_kill+0x72/0x322 fs/io_uring.c:9523 io_uring_release+0x42/0x46 fs/io_uring.c:9552 __fput+0x286/0x9f0 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f7a64828b32 RSP: 002b:00007f7a61d7d0f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009 RAX: 0000000020ffd000 RBX: 0000000000008011 RCX: 00007f7a64828b32 RDX: 0000000000000003 RSI: 0000000000100000 RDI: 0000000020ffd000 RBP: 0000000020ffd000 R08: 0000000000000005 R09: 0000000010000000 R10: 0000000000008011 R11: 0000000000000206 R12: 0000000020000140 R13: 0000000020ffd000 R14: 0000000020000100 R15: 0000000020002000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb80fe0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 2 locks held by kworker/u4:2/44: #0: ffff8880b9d39b18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 #1: ffff8880b9d279c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3a6/0x490 kernel/sched/psi.c:880 1 lock held by in:imklog/6221: #0: ffff88806f8f5430 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by syz-executor.0/8870: 1 lock held by syz-executor.0/8879: #0: ffff888082daf0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_ctx_wait_and_kill+0x72/0x322 fs/io_uring.c:9523 1 lock held by syz-executor.0/8899: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc1-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: 966 Comm: kworker/u4:4 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_is_held kernel/locking/lockdep.c:5380 [inline] RIP: 0010:lock_is_held_type+0x9f/0x140 kernel/locking/lockdep.c:5680 Code: 05 16 99 be 76 85 c0 7f 12 e9 8a 00 00 00 83 c3 01 41 3b 9c 24 58 0a 00 00 7d 7d 48 63 c3 48 89 ee 48 8d 04 80 4d 8d 7c c5 00 <4c> 89 ff e8 99 fe ff ff 85 c0 74 d8 41 83 fe ff 41 bd 01 00 00 00 RSP: 0018:ffffc900045c7b50 EFLAGS: 00000097 RAX: 0000000000000005 RBX: 0000000000000001 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8bb80f20 RDI: ffff88801b95ac20 RBP: ffffffff8bb80f20 R08: 0000000000000000 R09: ffffffff8d90e817 R10: fffffbfff1b21d02 R11: 0000000000000000 R12: ffff88801b95a1c0 R13: ffff88801b95ac20 R14: 00000000ffffffff R15: ffff88801b95ac48 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00c588c80 CR3: 000000000b88e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x442/0x510 kernel/locking/lockdep.c:5608 rcu_lock_acquire include/linux/rcupdate.h:268 [inline] rcu_read_lock include/linux/rcupdate.h:688 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x12d/0xfa0 net/batman-adv/network-coding.c:723 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 05 16 99 be 76 add $0x76be9916,%eax 5: 85 c0 test %eax,%eax 7: 7f 12 jg 0x1b 9: e9 8a 00 00 00 jmpq 0x98 e: 83 c3 01 add $0x1,%ebx 11: 41 3b 9c 24 58 0a 00 cmp 0xa58(%r12),%ebx 18: 00 19: 7d 7d jge 0x98 1b: 48 63 c3 movslq %ebx,%rax 1e: 48 89 ee mov %rbp,%rsi 21: 48 8d 04 80 lea (%rax,%rax,4),%rax 25: 4d 8d 7c c5 00 lea 0x0(%r13,%rax,8),%r15 * 2a: 4c 89 ff mov %r15,%rdi <-- trapping instruction 2d: e8 99 fe ff ff callq 0xfffffecb 32: 85 c0 test %eax,%eax 34: 74 d8 je 0xe 36: 41 83 fe ff cmp $0xffffffff,%r14d 3a: 41 bd 01 00 00 00 mov $0x1,%r13d