rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 1, t=10502 jiffies, g=52981, q=232) rcu: All QSes seen, last rcu_preempt kthread activity 10503 (4294987388-4294976885), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10504 jiffies! g52981 f0x2 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:28816 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4339 [inline] __schedule+0x916/0x23e0 kernel/sched/core.c:5147 schedule+0xcf/0x270 kernel/sched/core.c:5226 schedule_timeout+0x14a/0x250 kernel/time/timer.c:1892 rcu_gp_fqs_loop kernel/rcu/tree.c:2004 [inline] rcu_gp_kthread+0xd07/0x2300 kernel/rcu/tree.c:2177 kthread+0x3b1/0x4a0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 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: 18718 Comm: syz-executor.5 Not tainted 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:native_apic_mem_read+0x36/0x40 arch/x86/include/asm/apic.h:115 Code: fb 48 8d bb 00 c0 5f ff 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 08 8b 83 00 c0 5f ff <5b> c3 e8 33 8b 87 00 eb f1 90 b8 01 00 00 00 c3 66 2e 0f 1f 84 00 RSP: 0018:ffffc90000007050 EFLAGS: 00000046 RAX: 00000000000400f6 RBX: 0000000000000300 RCX: ffffffff81297543 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffffff5fc300 RBP: fffffbfff161cd14 R08: 0000000000000000 R09: ffffffff8dc94167 R10: fffffbfff1b9282c R11: 0000000000000000 R12: dffffc0000000000 R13: ffffc90000007140 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fa9d5201700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3242f000 CR3: 000000007844a000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: apic_read arch/x86/include/asm/apic.h:388 [inline] native_apic_wait_icr_idle+0x47/0x70 arch/x86/kernel/apic/apic.c:255 __irq_work_queue_local kernel/irq_work.c:59 [inline] __irq_work_queue_local+0x133/0x190 kernel/irq_work.c:53 irq_work_queue kernel/irq_work.c:78 [inline] irq_work_queue+0x4f/0x80 kernel/irq_work.c:67 __perf_event_overflow+0x239/0x3d0 kernel/events/core.c:9144 perf_swevent_hrtimer+0x37c/0x3f0 kernel/events/core.c:10540 __run_hrtimer kernel/time/hrtimer.c:1537 [inline] __hrtimer_run_queues+0x1c0/0xe40 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/0x540 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:632 RIP: 0010:__in6_dev_get include/net/addrconf.h:313 [inline] RIP: 0010:ip6_ignore_linkdown include/net/addrconf.h:404 [inline] RIP: 0010:find_match.part.0+0x73/0xcc0 net/ipv6/route.c:737 Code: 00 00 00 00 00 fc ff df 4c 8b 3b 49 8d bf 48 03 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 23 0b 00 00 4d 8b bf 48 03 00 00 38 e8 50 01 31 ff 89 c6 89 45 c0 e8 4c c3 af f9 8b 45 c0 85 c0 RSP: 0018:ffffc900000075a0 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff888038c44aa0 RCX: 0000000000000100 RDX: 1ffff11005c90c69 RSI: ffffffff87c506bc RDI: ffff88802e486348 RBP: ffffc90000007610 R08: ffffc90000007800 R09: ffffc900000077f0 R10: ffffffff87c5c4fa R11: 0000000000000000 R12: 0000000000000003 R13: 0000000000000001 R14: 0000000000000010 R15: ffff888076ad4000 find_match net/ipv6/route.c:824 [inline] __find_rr_leaf+0x17f/0xd10 net/ipv6/route.c:825 find_rr_leaf net/ipv6/route.c:846 [inline] rt6_select net/ipv6/route.c:890 [inline] fib6_table_lookup+0x5b3/0xa20 net/ipv6/route.c:2174 ip6_pol_route+0x1e1/0x11c0 net/ipv6/route.c:2210 pol_lookup_func include/net/ip6_fib.h:579 [inline] fib6_rule_lookup+0x111/0x6f0 net/ipv6/fib6_rules.c:115 ip6_route_input_lookup net/ipv6/route.c:2280 [inline] ip6_route_input+0x681/0xad0 net/ipv6/route.c:2449 ip6_rcv_finish_core.constprop.0.isra.0+0x168/0x570 net/ipv6/ip6_input.c:63 ip6_rcv_finish net/ipv6/ip6_input.c:74 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] NF_HOOK include/linux/netfilter.h:295 [inline] ipv6_rcv+0x229/0x3c0 net/ipv6/ip6_input.c:297 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5440 __netif_receive_skb+0x27/0x1c0 net/core/dev.c:5554 process_backlog+0x232/0x6c0 net/core/dev.c:6418 __napi_poll+0xaf/0x440 net/core/dev.c:6966 napi_poll net/core/dev.c:7033 [inline] net_rx_action+0x801/0xb40 net/core/dev.c:7120 __do_softirq+0x29b/0x9f6 kernel/softirq.c:559 invoke_softirq kernel/softirq.c:433 [inline] __irq_exit_rcu+0x136/0x200 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:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0010:smp_call_function_many_cond+0x302/0xc20 kernel/smp.c:962 Code: 02 00 00 e8 30 3d 0b 00 48 8b 74 24 20 8b 7c 24 18 48 8b 04 24 ff d0 31 ff 89 c3 89 c6 e8 c6 43 0b 00 84 db 0f 85 e9 01 00 00 09 3d 0b 00 0f b6 5c 24 43 31 ff 89 de e8 ab 43 0b 00 84 db 0f RSP: 0018:ffffc90001b6f5c8 EFLAGS: 00000212 RAX: 000000000001fb0c RBX: 0000000000000200 RCX: ffffc90014168000 RDX: 0000000000040000 RSI: ffffffff816987fa RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff902258a7 R10: ffffffff816987ec R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000001 R14: dffffc0000000000 R15: 0000000000000008 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:995 __purge_vmap_area_lazy+0x8f9/0x1c50 mm/vmalloc.c:1652 _vm_unmap_aliases.part.0+0x3dd/0x4f0 mm/vmalloc.c:2055 _vm_unmap_aliases mm/vmalloc.c:2029 [inline] vm_unmap_aliases+0x47/0x50 mm/vmalloc.c:2078 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:852 [inline] bpf_int_jit_compile+0xe11/0x11b0 arch/x86/net/bpf_jit_comp.c:2329 bpf_prog_select_runtime+0x464/0x6a0 kernel/bpf/core.c:1867 bpf_prog_load+0xe75/0x1f40 kernel/bpf/syscall.c:2220 __do_sys_bpf+0x1272/0x4f40 kernel/bpf/syscall.c:4410 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 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:00007fa9d5201188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 00000000004665f9 RDX: 0000000000000048 RSI: 0000000020000080 RDI: 0000000000000005 RBP: 00000000004bfce1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffc48d3a67f R14: 00007fa9d5201300 R15: 0000000000022000