INFO: task syz-executor.1:6852 blocked for more than 143 seconds. Not tainted 5.16.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27872 pid: 6852 ppid: 3632 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_timeout+0x1db/0x2a0 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x174/0x270 kernel/sched/completion.c:138 __synchronize_srcu+0x1f2/0x290 kernel/rcu/srcutree.c:930 install_new_memslots+0x312/0x570 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1471 kvm_set_memslot+0xd76/0x1e50 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1624 __kvm_set_memory_region+0xd1e/0x13a0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1779 kvm_set_memory_region arch/x86/kvm/../../../virt/kvm/kvm_main.c:1800 [inline] kvm_vm_ioctl_set_memory_region arch/x86/kvm/../../../virt/kvm/kvm_main.c:1812 [inline] kvm_vm_ioctl+0x512/0x23d0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4311 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 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:0x7efc9da43c57 RSP: 002b:00007efc9c3b75d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 00007efc9da43c57 RDX: 00007efc9c3b7d10 RSI: 000000004020ae46 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000246 R12: 00000000fec00000 R13: 00007efc9c3b7d10 R14: 0000000000000010 R15: 000000002000f000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb81320 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 3 locks held by kworker/1:2/924: 2 locks held by getty/3283: #0: ffff88807f12d098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc90002b9b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 1 lock held by syz-executor.1/6852: #0: ffffc9000e3790a8 (&kvm->slots_lock){+.+.}-{3:3}, at: kvm_set_memory_region arch/x86/kvm/../../../virt/kvm/kvm_main.c:1799 [inline] #0: ffffc9000e3790a8 (&kvm->slots_lock){+.+.}-{3:3}, at: kvm_vm_ioctl_set_memory_region arch/x86/kvm/../../../virt/kvm/kvm_main.c:1812 [inline] #0: ffffc9000e3790a8 (&kvm->slots_lock){+.+.}-{3:3}, at: kvm_vm_ioctl+0x507/0x23d0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4311 2 locks held by syz-executor.1/6864: #0: ffff88802c160408 (&vcpu->mutex){+.+.}-{3:3}, at: kvm_vcpu_ioctl+0x1d1/0xf30 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3704 #1: ffffc9000e3844a8 (&kvm->srcu){....}-{0:0}, at: vcpu_run arch/x86/kvm/x86.c:10041 [inline] #1: ffffc9000e3844a8 (&kvm->srcu){....}-{0:0}, at: kvm_arch_vcpu_ioctl_run+0x3c9/0x20e0 arch/x86/kvm/x86.c:10243 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc6-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: 90 Comm: kworker/u4:3 Not tainted 5.16.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:debug_smp_processor_id+0x5/0x20 lib/smp_processor_id.c:60 Code: 00 00 83 e9 01 e8 87 fd bc ff 48 8b 74 24 28 48 c7 c7 a0 9f 04 8a e8 76 fd bc ff e8 96 d6 cc ff eb a2 0f 1f 00 0f 1f 44 00 00 <48> c7 c6 e0 9f 04 8a 48 c7 c7 20 a0 04 8a e9 78 fe ff ff 0f 1f 84 RSP: 0018:ffffc90001a97b70 EFLAGS: 00000282 RAX: 0000000000000001 RBX: 1ffff92000352f76 RCX: ffffffff815beba8 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff8d9117d0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8d9117d7 R10: fffffbfff1b222fa R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff8bb81320 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9a7e917990 CR3: 000000000b88e000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:330 [inline] rcu_is_watching+0xe/0xb0 kernel/rcu/tree.c:1121 rcu_read_lock_held_common kernel/rcu/update.c:108 [inline] rcu_read_lock_sched_held+0x1c/0x70 kernel/rcu/update.c:123 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: 00 00 add %al,(%rax) 2: 83 e9 01 sub $0x1,%ecx 5: e8 87 fd bc ff callq 0xffbcfd91 a: 48 8b 74 24 28 mov 0x28(%rsp),%rsi f: 48 c7 c7 a0 9f 04 8a mov $0xffffffff8a049fa0,%rdi 16: e8 76 fd bc ff callq 0xffbcfd91 1b: e8 96 d6 cc ff callq 0xffccd6b6 20: eb a2 jmp 0xffffffc4 22: 0f 1f 00 nopl (%rax) 25: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) * 2a: 48 c7 c6 e0 9f 04 8a mov $0xffffffff8a049fe0,%rsi <-- trapping instruction 31: 48 c7 c7 20 a0 04 8a mov $0xffffffff8a04a020,%rdi 38: e9 78 fe ff ff jmpq 0xfffffeb5 3d: 0f .byte 0xf 3e: 1f (bad) 3f: 84 .byte 0x84