rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (10417 ticks this GP) idle=a06/1/0x4000000000000000 softirq=304117/304121 fqs=0 (t=10500 jiffies g=567509 q=17) rcu: rcu_preempt kthread starved for 10500 jiffies! g567509 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 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:28864 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4681 [inline] __schedule+0x93a/0x26f0 kernel/sched/core.c:5938 schedule+0xd3/0x270 kernel/sched/core.c:6017 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 rcu_gp_fqs_loop kernel/rcu/tree.c:1996 [inline] rcu_gp_kthread+0xd34/0x1980 kernel/rcu/tree.c:2169 kthread+0x3e5/0x4d0 kernel/kthread.c:319 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 22977 Comm: syz-executor.5 Not tainted 5.14.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:pv_wait_node kernel/locking/qspinlock_paravirt.h:301 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x5c4/0xb40 kernel/locking/qspinlock.c:473 Code: 32 84 c0 75 23 41 0f b6 14 24 4c 89 e9 83 e1 07 38 ca 7f 08 84 d2 0f 85 ed 03 00 00 0f b6 53 14 84 d2 0f 85 9e 00 00 00 f3 90 <83> e8 01 0f 84 93 00 00 00 0f b6 16 84 d2 74 09 80 fa 03 0f 8e 96 RSP: 0018:ffffc90000007a30 EFLAGS: 00000286 RAX: 00000000000007eb RBX: ffff8880b9d52900 RCX: 0000000000000004 RDX: 0000000000000000 RSI: ffffed101738a521 RDI: ffff8880b9c52914 RBP: ffff8880b9c52914 R08: 0000000000000001 R09: ffff8880b9c52914 R10: ffffed101738a522 R11: 0000000000000080 R12: ffffed10173aa522 R13: ffff8880b9d52914 R14: dffffc0000000000 R15: ffff8880b9c52900 FS: 00007fd96eb16700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd81cf6c718 CR3: 00000000a539b000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [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:113 spin_lock include/linux/spinlock.h:354 [inline] mac80211_hwsim_tx_frame_no_nl.isra.0+0x68f/0x1330 drivers/net/wireless/mac80211_hwsim.c:1516 mac80211_hwsim_tx_frame+0x1ee/0x2a0 drivers/net/wireless/mac80211_hwsim.c:1784 mac80211_hwsim_beacon_tx+0x49b/0x930 drivers/net/wireless/mac80211_hwsim.c:1838 __iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x70/0x180 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xd5/0x1a0 drivers/net/wireless/mac80211_hwsim.c:1861 __run_hrtimer kernel/time/hrtimer.c:1537 [inline] __hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1601 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1618 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x16e/0x1c0 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:_flat_send_IPI_mask+0x2d/0x60 arch/x86/kernel/apic/apic_flat_64.c:58 Code: ec 10 9c 58 fa 25 00 02 00 00 48 89 c3 75 1d ba 00 08 00 00 e8 14 04 ff ff 9c 58 f6 c4 02 75 32 48 85 db 74 01 fb 48 83 c4 10 <5b> c3 89 74 24 0c 48 89 3c 24 e8 84 2b 49 00 8b 74 24 0c ba 00 08 RSP: 0018:ffffc90002ac7550 EFLAGS: 00000286 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff1f9b132 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000000 RBP: ffff8880b9c52c10 R08: 0000000000000001 R09: ffffffff8fcd58e7 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000001 R14: dffffc0000000000 R15: 0000000000000008 smp_call_function_many_cond+0xa33/0xc20 kernel/smp.c:947 on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1133 on_each_cpu include/linux/smp.h:71 [inline] flush_tlb_kernel_range+0x80/0xb0 arch/x86/mm/tlb.c:1001 __purge_vmap_area_lazy+0x8f9/0x1c50 mm/vmalloc.c:1670 _vm_unmap_aliases.part.0+0x3f0/0x500 mm/vmalloc.c:2073 _vm_unmap_aliases mm/vmalloc.c:2047 [inline] vm_unmap_aliases+0x47/0x50 mm/vmalloc.c:2096 change_page_attr_set_clr+0x241/0x500 arch/x86/mm/pat/set_memory.c:1740 change_page_attr_clear arch/x86/mm/pat/set_memory.c:1797 [inline] set_memory_ro+0x78/0xa0 arch/x86/mm/pat/set_memory.c:1943 bpf_jit_binary_lock_ro include/linux/filter.h:866 [inline] bpf_int_jit_compile+0xe36/0x11e0 arch/x86/net/bpf_jit_comp.c:2319 bpf_prog_select_runtime+0x464/0x6a0 kernel/bpf/core.c:1914 bpf_prog_load+0xe8b/0x21f0 kernel/bpf/syscall.c:2278 __sys_bpf+0x65a/0x53b0 kernel/bpf/syscall.c:4469 __do_sys_bpf kernel/bpf/syscall.c:4573 [inline] __se_sys_bpf kernel/bpf/syscall.c:4571 [inline] __x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:4571 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:0x4665f9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007fd96eb16188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000024 RSI: 0000000020000200 RDI: 0000000000000005 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffe50e6b76f R14: 00007fd96eb16300 R15: 0000000000022000 NMI backtrace for cpu 1 CPU: 1 PID: 22978 Comm: syz-executor.4 Not tainted 5.14.0-rc7-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:105 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 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:342 print_cpu_stall kernel/rcu/tree_stall.h:625 [inline] check_cpu_stall kernel/rcu/tree_stall.h:700 [inline] rcu_pending kernel/rcu/tree.c:3922 [inline] rcu_sched_clock_irq.cold+0x9f/0x747 kernel/rcu/tree.c:2641 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:1421 __run_hrtimer kernel/time/hrtimer.c:1537 [inline] __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1601 hrtimer_interrupt+0x330/0xa00 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:434 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x3ba/0xb40 kernel/locking/qspinlock.c:508 Code: eb c6 45 01 01 41 bc 00 80 00 00 48 c1 e9 03 83 e3 07 41 be 01 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8d 2c 01 eb 0c f3 90 <41> 83 ec 01 0f 84 72 04 00 00 41 0f b6 45 00 38 d8 7f 08 84 c0 0f RSP: 0018:ffffc90000dc0a30 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 1ffffffff18efc7c RDX: 0000000000000001 RSI: dffffc0000000000 RDI: ffffffff8c77e3e2 RBP: ffffffff8c77e3e0 R08: 0000000000000001 R09: ffffffff8c77e3e3 R10: fffffbfff18efc7c R11: 0000000000000080 R12: 00000000000054d0 R13: fffffbfff18efc7c R14: 0000000000000001 R15: ffff8880b9d52900 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [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:113 spin_lock include/linux/spinlock.h:354 [inline] mac80211_hwsim_tx_frame_no_nl.isra.0+0x68f/0x1330 drivers/net/wireless/mac80211_hwsim.c:1516 mac80211_hwsim_tx_frame+0x1ee/0x2a0 drivers/net/wireless/mac80211_hwsim.c:1784 mac80211_hwsim_beacon_tx+0x49b/0x930 drivers/net/wireless/mac80211_hwsim.c:1838 __iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x70/0x180 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xd5/0x1a0 drivers/net/wireless/mac80211_hwsim.c:1861 __run_hrtimer kernel/time/hrtimer.c:1537 [inline] __hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1601 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1618 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x16e/0x1c0 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:preempt_schedule_irq+0x49/0x90 kernel/sched/core.c:6326 Code: 55 53 65 48 8b 1c 25 40 f0 01 00 48 89 dd 48 c1 ed 03 48 01 c5 bf 01 00 00 00 e8 02 80 23 f8 e8 1d cc 4f f8 fb bf 01 00 00 00 d2 cd ff ff 9c 58 fa f6 c4 02 75 27 bf 01 00 00 00 e8 10 6f 23 RSP: 0018:ffffc90002b171e8 EFLAGS: 00000202 RAX: 000000000001847f RBX: ffff888023959c40 RCX: 1ffffffff1fa3fe2 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffed100472b388 R08: 0000000000000001 R09: ffffffff8fcd59a7 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 irqentry_exit+0x31/0x80 kernel/entry/common.c:427 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__local_bh_enable_ip+0xa8/0x120 kernel/softirq.c:390 Code: 1d 9d a5 bb 7e 65 8b 05 96 a5 bb 7e a9 00 ff ff 00 74 45 bf 01 00 00 00 e8 85 2a 09 00 e8 70 87 35 00 fb 65 8b 05 78 a5 bb 7e <85> c0 74 58 5b 5d c3 65 8b 05 c6 ac bb 7e 85 c0 75 a2 0f 0b eb 9e RSP: 0018:ffffc90002b172b0 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 00000000fffffe01 RCX: 1ffffffff1fa3fe2 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffff87cf7fc4 R08: 0000000000000001 R09: ffffffff8fcd59a7 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: ffff8880a191b0c8 R14: 00000000000000b0 R15: ffff8880a191b000 local_bh_enable include/linux/bottom_half.h:32 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:757 [inline] ip6_finish_output2+0x7b2/0x19d0 net/ipv6/ip6_output.c:146 ip6_fragment+0xa8f/0x2700 net/ipv6/ip6_output.c:989 __ip6_finish_output net/ipv6/ip6_output.c:208 [inline] __ip6_finish_output+0x5fa/0x1050 net/ipv6/ip6_output.c:189 ip6_finish_output+0x32/0x200 net/ipv6/ip6_output.c:220 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip6_output+0x1e4/0x530 net/ipv6/ip6_output.c:243 dst_output include/net/dst.h:448 [inline] ip6_local_out+0xaf/0x1a0 net/ipv6/output_core.c:161 ip6_send_skb+0xb7/0x340 net/ipv6/ip6_output.c:1935 udp_v6_send_skb+0x7c3/0x15e0 net/ipv6/udp.c:1248 udp_v6_push_pending_frames+0x26e/0x380 net/ipv6/udp.c:1281 udpv6_sendmsg+0x1c58/0x2c40 net/ipv6/udp.c:1573 inet6_sendmsg+0x99/0xe0 net/ipv6/af_inet6.c:642 sock_sendmsg_nosec net/socket.c:703 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:723 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2394 ___sys_sendmsg+0xf3/0x170 net/socket.c:2448 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2477 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:0x4665f9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f733ca4f188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffe58030a0f R14: 00007f733ca4f300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 32 84 c0 75 23 41 0f xor 0xf412375(%rax,%rax,8),%al 7: b6 14 mov $0x14,%dh 9: 24 4c and $0x4c,%al b: 89 e9 mov %ebp,%ecx d: 83 e1 07 and $0x7,%ecx 10: 38 ca cmp %cl,%dl 12: 7f 08 jg 0x1c 14: 84 d2 test %dl,%dl 16: 0f 85 ed 03 00 00 jne 0x409 1c: 0f b6 53 14 movzbl 0x14(%rbx),%edx 20: 84 d2 test %dl,%dl 22: 0f 85 9e 00 00 00 jne 0xc6 28: f3 90 pause * 2a: 83 e8 01 sub $0x1,%eax <-- trapping instruction 2d: 0f 84 93 00 00 00 je 0xc6 33: 0f b6 16 movzbl (%rsi),%edx 36: 84 d2 test %dl,%dl 38: 74 09 je 0x43 3a: 80 fa 03 cmp $0x3,%dl 3d: 0f .byte 0xf 3e: 8e .byte 0x8e 3f: 96 xchg %eax,%esi