rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10499 ticks this GP) idle=31f/1/0x4000000000000000 softirq=56123/56123 fqs=0 (t=10500 jiffies g=78945 q=1446) rcu: rcu_preempt kthread starved for 10500 jiffies! g78945 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:26400 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 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: 1282 Comm: syz.2.1957 Not tainted 5.15.166-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:cpumask_test_cpu include/linux/cpumask.h:344 [inline] RIP: 0010:cpu_online include/linux/cpumask.h:895 [inline] RIP: 0010:trace_lock_acquire include/trace/events/lock.h:13 [inline] RIP: 0010:lock_acquire+0xcc/0x4f0 kernel/locking/lockdep.c:5594 Code: 44 00 00 65 8b 1d bc 67 9f 7e 83 fb 08 0f 83 e2 02 00 00 89 d8 c1 e8 06 48 8d 3c c5 28 5b e9 8d be 08 00 00 00 e8 b4 76 67 00 <89> d8 48 0f a3 05 62 ad 86 0c 73 0d e8 03 6b 08 00 84 c0 0f 84 b9 RSP: 0018:ffffc90000dcfaa0 EFLAGS: 00000056 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff8162adbc RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8de95b28 RBP: ffffc90000dcfbe8 R08: dffffc0000000000 R09: fffffbfff1bd2b66 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920001b9f5c R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff920001b9f80 FS: 00007f85596126c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000202cb000 CR3: 000000007c8e1000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: seqcount_lockdep_reader_access+0xf8/0x220 include/linux/seqlock.h:103 timekeeping_get_delta kernel/time/timekeeping.c:254 [inline] timekeeping_get_ns kernel/time/timekeeping.c:388 [inline] ktime_get+0x7f/0x270 kernel/time/timekeeping.c:831 hrtimer_forward_now include/linux/hrtimer.h:508 [inline] perf_swevent_hrtimer+0x4aa/0x560 kernel/events/core.c:10881 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:unwind_next_frame+0x1303/0x1fa0 Code: 00 00 48 0f bf 03 49 01 c0 49 8d 57 40 4c 89 ff 4c 89 c6 e8 af 0c 00 00 84 c0 48 ba 00 00 00 00 00 fc ff df 0f 84 8f 03 00 00 <48> 8b 44 24 38 0f b6 04 10 84 c0 0f 85 03 08 00 00 8b 44 24 74 41 RSP: 0018:ffffc90000dd02c8 EFLAGS: 00000202 RAX: 1ffff920001ba001 RBX: ffffffff8e63a92e RCX: 0000000000000000 RDX: dffffc0000000000 RSI: ffffc90000dd0e10 RDI: ffffc90000dd0e10 RBP: ffffffff8e63a930 R08: ffffc90000dd0e10 R09: ffffc90000dd03d0 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff1cc7526 R13: 1ffffffff1cc7526 R14: ffffffff8e63a92f R15: ffffc90000dd0380 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x8e/0xc0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x53/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0xf3/0x280 mm/slub.c:3233 dst_alloc+0x12c/0x190 net/core/dst.c:88 ip6_dst_alloc net/ipv6/route.c:342 [inline] icmp6_dst_alloc+0x76/0x4f0 net/ipv6/route.c:3275 ndisc_send_skb+0x305/0x13c0 net/ipv6/ndisc.c:491 addrconf_rs_timer+0x357/0x610 net/ipv6/addrconf.c:3959 call_timer_fn+0x16d/0x560 kernel/time/timer.c:1451 expire_timers kernel/time/timer.c:1496 [inline] __run_timers+0x67c/0x890 kernel/time/timer.c:1767 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:lock_acquire+0x252/0x4f0 kernel/locking/lockdep.c:5627 Code: 2b 00 74 08 4c 89 f7 e8 bc 73 67 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc90005a0f6a0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000b41ee0 RCX: ffffffff81636652 RDX: dffffc0000000000 RSI: ffffffff8a8b3cc0 RDI: ffffffff8ad90100 RBP: ffffc90005a0f7f8 R08: dffffc0000000000 R09: fffffbfff20e2219 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000b41edc R13: dffffc0000000000 R14: ffffc90005a0f700 R15: 0000000000000246 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:363 [inline] do_anonymous_page mm/memory.c:3788 [inline] handle_pte_fault mm/memory.c:4618 [inline] __handle_mm_fault mm/memory.c:4755 [inline] handle_mm_fault+0x3e24/0x5960 mm/memory.c:4853 do_user_addr_fault arch/x86/mm/fault.c:1357 [inline] handle_page_fault arch/x86/mm/fault.c:1445 [inline] exc_page_fault+0x271/0x700 arch/x86/mm/fault.c:1501 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568 RIP: 0010:copy_user_enhanced_fast_string+0xe/0x40 arch/x86/lib/copy_user_64.S:206 Code: 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 01 ca c3 0f 1f 80 00 00 00 00 0f 01 cb 83 fa 40 0f 82 70 ff ff ff 89 d1 a4 31 c0 0f 01 ca c3 66 2e 0f 1f 84 00 00 00 00 00 89 d1 83 f8 RSP: 0018:ffffc90005a0fc08 EFLAGS: 00050206 RAX: ffffffff84095c01 RBX: 00000000203feb00 RCX: 0000000000133b00 RDX: 00000000001ff000 RSI: 00000000202cb000 RDI: ffff8880a28cb500 RBP: ffffc90005a0fd68 R08: dffffc0000000000 R09: ffffed101453fe00 R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000001ff000 R13: 00007ffffffff000 R14: ffff8880a2800000 R15: 00000000201ffb00 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline] raw_copy_from_user arch/x86/include/asm/uaccess_64.h:52 [inline] _copy_from_user+0xf9/0x170 lib/usercopy.c:23 copy_from_user include/linux/uaccess.h:192 [inline] generic_map_update_batch+0x49f/0x8b0 kernel/bpf/syscall.c:1416 bpf_map_do_batch+0x4d0/0x620 __sys_bpf+0x55c/0x670 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4753 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f855b198ef9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8559612038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f855b351f80 RCX: 00007f855b198ef9 RDX: 0000000000000038 RSI: 00000000200005c0 RDI: 000000000000001a RBP: 00007f855b20b046 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f855b351f80 R15: 00007ffdaacc61c8 NMI backtrace for cpu 0 CPU: 0 PID: 1358 Comm: syz.2.1957 Not tainted 5.15.166-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline] rcu_dump_cpu_stacks+0x223/0x390 kernel/rcu/tree_stall.h:349 print_cpu_stall+0x320/0x600 kernel/rcu/tree_stall.h:633 check_cpu_stall kernel/rcu/tree_stall.h:727 [inline] rcu_pending kernel/rcu/tree.c:3932 [inline] rcu_sched_clock_irq+0x8d9/0x1150 kernel/rcu/tree.c:2619 update_process_times+0x196/0x200 kernel/time/timer.c:1818 tick_sched_handle kernel/time/tick-sched.c:254 [inline] tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:check_kcov_mode kernel/kcov.c:172 [inline] RIP: 0010:write_comp_data kernel/kcov.c:227 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x1a/0x80 kernel/kcov.c:300 Code: 18 4c 89 44 0a 20 49 ff c1 4c 89 09 c3 0f 1f 00 4c 8b 04 24 65 48 8b 0d d4 11 82 7e 65 8b 05 d5 11 82 7e 25 00 01 ff 00 74 10 <3d> 00 01 00 00 75 57 83 b9 34 16 00 00 00 74 4e 8b 81 10 16 00 00 RSP: 0018:ffffc900000070b0 EFLAGS: 00000206 RAX: 0000000000000100 RBX: ffffea0000000000 RCX: ffff88809ccabb80 RDX: 0000000000000100 RSI: ffff88809ebf58c0 RDI: ffffffff7fffffff RBP: ffffc90000007318 R08: ffffffff81398c2f R09: ffffffff88443459 R10: 0000000000000002 R11: ffff88809ccabb80 R12: ffff88809ebf58c0 R13: ffff88803e3be150 R14: ffff88809ebf58c0 R15: ffff88801bfe4140 __phys_addr+0x1f/0x170 arch/x86/mm/physaddr.c:20 virt_to_head_page include/linux/mm.h:900 [inline] kmem_cache_free+0x42/0x1f0 mm/slub.c:3515 kfree_skb include/linux/skbuff.h:1123 [inline] ip_tunnel_xmit+0x1d22/0x27b0 net/ipv4/ip_tunnel.c:847 __gre_xmit net/ipv4/ip_gre.c:474 [inline] erspan_xmit+0xa9c/0x1530 net/ipv4/ip_gre.c:723 __netdev_start_xmit include/linux/netdevice.h:5019 [inline] netdev_start_xmit include/linux/netdevice.h:5033 [inline] xmit_one net/core/dev.c:3617 [inline] dev_hard_start_xmit+0x298/0x7a0 net/core/dev.c:3633 sch_direct_xmit+0x2b2/0x5e0 net/sched/sch_generic.c:342 __dev_xmit_skb net/core/dev.c:3844 [inline] __dev_queue_xmit+0x18ee/0x3230 net/core/dev.c:4213 neigh_output include/net/neighbour.h:509 [inline] ip6_finish_output2+0xee8/0x15a0 net/ipv6/ip6_output.c:130 dst_output include/net/dst.h:443 [inline] NF_HOOK include/linux/netfilter.h:302 [inline] ndisc_send_skb+0xae0/0x13c0 net/ipv6/ndisc.c:511 addrconf_rs_timer+0x357/0x610 net/ipv6/addrconf.c:3959 call_timer_fn+0x16d/0x560 kernel/time/timer.c:1451 expire_timers kernel/time/timer.c:1496 [inline] __run_timers+0x67c/0x890 kernel/time/timer.c:1767 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:lock_acquire+0x252/0x4f0 kernel/locking/lockdep.c:5627 Code: 2b 00 74 08 4c 89 f7 e8 bc 73 67 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc900035f74c0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920006beea4 RCX: ffffffff81636652 RDX: dffffc0000000000 RSI: ffffffff8a8b3cc0 RDI: ffffffff8ad90100 RBP: ffffc900035f7618 R08: dffffc0000000000 R09: fffffbfff20e2219 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920006beea0 R13: dffffc0000000000 R14: ffffc900035f7520 R15: 0000000000000246 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:363 [inline] __get_locked_pte+0x169/0x1c0 mm/memory.c:1749 get_locked_pte include/linux/mm.h:2058 [inline] __text_poke+0x275/0x9e0 arch/x86/kernel/alternative.c:1095 text_poke arch/x86/kernel/alternative.c:1178 [inline] text_poke_bp_batch+0x46f/0x930 arch/x86/kernel/alternative.c:1429 text_poke_flush arch/x86/kernel/alternative.c:1598 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1605 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x12e/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 tracepoint_add_func+0x947/0x9d0 kernel/tracepoint.c:361 tracepoint_probe_register_prio kernel/tracepoint.c:511 [inline] tracepoint_probe_register+0x101/0x160 kernel/tracepoint.c:531 perf_trace_event_reg kernel/trace/trace_event_perf.c:129 [inline] perf_trace_event_init+0x494/0x940 kernel/trace/trace_event_perf.c:202 perf_trace_init+0x23b/0x2d0 kernel/trace/trace_event_perf.c:226 perf_tp_event_init+0x89/0x110 kernel/events/core.c:10067 perf_try_init_event+0x135/0x3e0 kernel/events/core.c:11543 perf_init_event kernel/events/core.c:11607 [inline] perf_event_alloc+0x1175/0x2180 kernel/events/core.c:11899 __do_sys_perf_event_open kernel/events/core.c:12437 [inline] __se_sys_perf_event_open+0xb27/0x4510 kernel/events/core.c:12329 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f855b198ef9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f85595f1038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007f855b352058 RCX: 00007f855b198ef9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000480 RBP: 00007f855b20b046 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f855b352058 R15: 00007ffdaacc61c8