rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10499 ticks this GP) idle=d71/1/0x4000000000000000 softirq=239198/239198 fqs=1 (t=10500 jiffies g=381597 q=38) rcu: rcu_preempt kthread starved for 10498 jiffies! g381597 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. rcu: RCU grace-period kthread stack dump: task:rcu_preempt state:R running task stack:28736 pid: 14 ppid: 2 flags:0x00004000 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 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1963 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2136 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3657 Comm: syz-executor.0 Not tainted 5.16.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kvm_wait+0x98/0x100 arch/x86/kernel/kvm.c:1001 Code: fa 83 e2 07 38 d0 7f 04 84 c0 75 63 0f b6 07 40 38 c6 74 35 48 83 c4 10 c3 c3 e8 83 85 4a 00 eb 07 0f 00 2d 6a a4 75 08 fb f4 <48> 83 c4 10 c3 89 74 24 0c 48 89 3c 24 e8 46 80 4a 00 8b 74 24 0c RSP: 0018:ffffc9000287f7b8 EFLAGS: 00000206 RAX: 000000000140f303 RBX: 0000000000000000 RCX: 1ffffffff1ff735e RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffff8bca7680 R08: 0000000000000001 R09: ffffffff8ffb6a47 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: fffffbfff1794ed0 R14: 0000000000000001 R15: ffff8880b9d3aa80 FS: 00005555571c2400(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fce56d891b8 CR3: 0000000046b57000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:603 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x8b8/0xb40 kernel/locking/qspinlock.c:508 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x200/0x2b0 kernel/locking/spinlock_debug.c:115 spin_lock include/linux/spinlock.h:349 [inline] preload_this_cpu_lock mm/vmalloc.c:1504 [inline] alloc_vmap_area+0x1c8/0x1dc0 mm/vmalloc.c:1546 __get_vm_area_node.constprop.0+0x128/0x380 mm/vmalloc.c:2434 __vmalloc_node_range+0x12c/0xab0 mm/vmalloc.c:3055 __vmalloc_node mm/vmalloc.c:3114 [inline] vzalloc+0x67/0x80 mm/vmalloc.c:3184 do_arpt_get_ctl+0x5f0/0x8f0 net/ipv4/netfilter/arp_tables.c:660 nf_getsockopt+0x72/0xd0 net/netfilter/nf_sockopt.c:116 ip_getsockopt net/ipv4/ip_sockglue.c:1786 [inline] ip_getsockopt+0x164/0x1c0 net/ipv4/ip_sockglue.c:1765 tcp_getsockopt+0x86/0xd0 net/ipv4/tcp.c:4284 __sys_getsockopt+0x21f/0x5f0 net/socket.c:2224 __do_sys_getsockopt net/socket.c:2239 [inline] __se_sys_getsockopt net/socket.c:2236 [inline] __x64_sys_getsockopt+0xba/0x150 net/socket.c:2236 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:0x7fce56caa60a Code: 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fce572ef6c8 EFLAGS: 00000212 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007fce572ef6dc RCX: 00007fce56caa60a RDX: 0000000000000061 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007fce572ef6dc R09: ff00000000000000 R10: 00007fce572ef730 R11: 0000000000000212 R12: 00007fce572ef730 R13: 0000000000359638 R14: 0000000000000006 R15: 00007fce572efe40 NMI backtrace for cpu 0 CPU: 0 PID: 7448 Comm: syz-executor.1 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_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x25e/0x3f0 kernel/rcu/tree_stall.h:343 print_cpu_stall kernel/rcu/tree_stall.h:604 [inline] check_cpu_stall kernel/rcu/tree_stall.h:688 [inline] rcu_pending kernel/rcu/tree.c:3919 [inline] rcu_sched_clock_irq.cold+0x5c/0x759 kernel/rcu/tree.c:2617 update_process_times+0x16d/0x200 kernel/time/timer.c:1785 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226 tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1428 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x27/0x60 kernel/kcov.c:200 Code: c0 c3 90 65 8b 05 c9 b4 8a 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 40 70 02 00 a9 00 01 ff 00 74 0e 85 c9 74 35 <8b> 82 a4 15 00 00 85 c0 74 2b 8b 82 80 15 00 00 83 f8 02 75 20 48 RSP: 0018:ffffc90000007c48 EFLAGS: 00000206 RAX: 0000000000000104 RBX: 000000002af31dc4 RCX: 0000000000000100 RDX: ffff88807b271d00 RSI: ffffffff8760f6bf RDI: 0000000000000003 RBP: 00000000044b82fa R08: 00000000000f4240 R09: 0000000000000000 R10: ffffffff8760f706 R11: 0000000000000000 R12: 00000000000003e8 R13: 00004189374bc6a7 R14: 0000000000000004 R15: 0000000000000000 pie_calculate_probability+0x25f/0x7c0 net/sched/sch_pie.c:350 fq_pie_timer+0x170/0x2a0 net/sched/sch_fq_pie.c:383 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x67c/0xa30 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x38/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 7a ea 0f f8 48 89 ef e8 32 60 10 f8 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 73 1a 03 f8 65 8b 05 9c a5 b5 76 85 c0 74 0a 5b 5d c3 e8 a0 30 RSP: 0018:ffffc900119a75c0 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff1ff6fb6 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000001 RBP: ffffffff906d8b50 R08: 0000000000000001 R09: ffffffff8ffb6a47 R10: 0000000000000001 R11: 0000000000000001 R12: 1ffffffff20db169 R13: 0000000000000000 R14: dead000000000100 R15: dffffc0000000000 __debug_check_no_obj_freed lib/debugobjects.c:1002 [inline] debug_check_no_obj_freed+0x20c/0x420 lib/debugobjects.c:1023 free_pages_prepare mm/page_alloc.c:1343 [inline] free_pcp_prepare+0x2ae/0x870 mm/page_alloc.c:1389 free_unref_page_prepare mm/page_alloc.c:3309 [inline] free_unref_page+0x19/0x690 mm/page_alloc.c:3388 kasan_depopulate_vmalloc_pte+0x5c/0x70 mm/kasan/shadow.c:380 apply_to_pte_range mm/memory.c:2540 [inline] apply_to_pmd_range mm/memory.c:2584 [inline] apply_to_pud_range mm/memory.c:2620 [inline] apply_to_p4d_range mm/memory.c:2656 [inline] __apply_to_page_range+0x686/0x1030 mm/memory.c:2690 kasan_release_vmalloc+0xa7/0xc0 mm/kasan/shadow.c:490 __purge_vmap_area_lazy+0x8f9/0x1c50 mm/vmalloc.c:1708 try_purge_vmap_area_lazy mm/vmalloc.c:1727 [inline] free_vmap_area_noflush+0xa57/0xd00 mm/vmalloc.c:1769 free_unmap_vmap_area mm/vmalloc.c:1782 [inline] remove_vm_area+0x1ca/0x230 mm/vmalloc.c:2528 vm_remove_mappings mm/vmalloc.c:2557 [inline] __vunmap+0x392/0xb70 mm/vmalloc.c:2622 __vfree+0x3c/0xd0 mm/vmalloc.c:2680 vfree+0x5a/0x90 mm/vmalloc.c:2711 kvfree+0x2e/0x50 mm/util.c:618 kvm_destroy_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:1195 [inline] kvm_put_kvm+0x86b/0xc00 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1220 kvm_vm_release+0x3f/0x50 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1243 __fput+0x286/0x9f0 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0xc14/0x2b40 kernel/exit.c:832 do_group_exit+0x125/0x310 kernel/exit.c:929 get_signal+0x47d/0x2220 kernel/signal.c:2852 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/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:0x7f43ce8b3fe9 Code: Unable to access opcode bytes at RIP 0x7f43ce8b3fbf. RSP: 002b:00007f43cd229168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 000000000000000f RBX: 00007f43ce9c6f60 RCX: 00007f43ce8b3fe9 RDX: 0000000000000000 RSI: 000000000000ae01 RDI: 0000000000000004 RBP: 00007f43ce90e08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f43ceefab1f R14: 00007f43cd229300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: fa cli 1: 83 e2 07 and $0x7,%edx 4: 38 d0 cmp %dl,%al 6: 7f 04 jg 0xc 8: 84 c0 test %al,%al a: 75 63 jne 0x6f c: 0f b6 07 movzbl (%rdi),%eax f: 40 38 c6 cmp %al,%sil 12: 74 35 je 0x49 14: 48 83 c4 10 add $0x10,%rsp 18: c3 retq 19: c3 retq 1a: e8 83 85 4a 00 callq 0x4a85a2 1f: eb 07 jmp 0x28 21: 0f 00 2d 6a a4 75 08 verw 0x875a46a(%rip) # 0x875a492 28: fb sti 29: f4 hlt * 2a: 48 83 c4 10 add $0x10,%rsp <-- trapping instruction 2e: c3 retq 2f: 89 74 24 0c mov %esi,0xc(%rsp) 33: 48 89 3c 24 mov %rdi,(%rsp) 37: e8 46 80 4a 00 callq 0x4a8082 3c: 8b 74 24 0c mov 0xc(%rsp),%esi