rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P10749 (detected by 0, t=10502 jiffies, g=64809, q=1509) task:syz.4.2482 state:R running task stack:23488 pid:10749 ppid: 9719 flags:0x00004008 Call Trace: sched_show_task+0x4a4/0x640 kernel/sched/core.c:8637 rcu_print_detail_task_stall_rnp kernel/rcu/tree_stall.h:233 [inline] print_other_cpu_stall+0x1111/0x14d0 kernel/rcu/tree_stall.h:573 check_cpu_stall kernel/rcu/tree_stall.h:745 [inline] rcu_pending kernel/rcu/tree.c:3932 [inline] rcu_sched_clock_irq+0xa38/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:ipv6_dev_get_saddr+0x53c/0xbb0 net/ipv6/addrconf.c:1839 Code: eb 05 e8 37 07 72 f8 49 bd 00 00 00 00 00 fc ff df 4c 89 f8 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 ff e8 37 d1 bb f8 4d 8b 3f <4d> 39 e7 74 64 e8 0a 07 72 f8 e9 12 ff ff ff e8 a0 ff 25 01 89 c3 RSP: 0018:ffffc90000006d60 EFLAGS: 00000246 RAX: 1ffff1100cdab808 RBX: 0000000000000001 RCX: ffff88802a411dc0 RDX: 0000000000000100 RSI: 00000000ffffff82 RDI: 0000000000000000 RBP: ffffc90000006eb0 R08: ffffffff890e5c1b R09: fffff52000000dbb R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88804e898150 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88804a950040 ip6_route_get_saddr include/net/ip6_route.h:145 [inline] ip6_dst_lookup_tail+0xc87/0x11a0 net/ipv6/ip6_output.c:1107 ip6_dst_lookup_flow+0xb5/0x170 net/ipv6/ip6_output.c:1232 geneve_get_v6_dst+0x852/0xb80 drivers/net/geneve.c:873 geneve6_xmit_skb drivers/net/geneve.c:1007 [inline] geneve_xmit+0x84a/0x3460 drivers/net/geneve.c:1090 __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 __dev_queue_xmit+0x1cee/0x3230 net/core/dev.c:4248 neigh_hh_output include/net/neighbour.h:493 [inline] neigh_output include/net/neighbour.h:507 [inline] ip6_finish_output2+0xead/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:bpf_get_numa_node_id+0x0/0x10 kernel/bpf/helpers.c:136 Code: ff 13 48 98 5b 41 5c 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 e8 8b f4 e9 ff e8 36 fb 9d 08 89 c0 c3 0f 1f 00 7b f4 e9 ff 65 8b 05 64 f6 6c 7e 48 98 c3 90 e8 6b f4 e9 ff e9 RSP: 0018:ffffc90003676e28 EFLAGS: 00000246 RAX: 1ffff9200027cc06 RBX: ffffc900013e6048 RCX: 1ffffffff1ecee00 RDX: 1ffffffff1ecee00 RSI: ffffc900013e6048 RDI: ffffe8ffff621000 RBP: ffffc90003676e30 R08: ffffffff8f677000 R09: ffffffff8f677008 R10: ffffffff8f677018 R11: ffffffff8f677010 R12: dffffc0000000000 R13: 0000000000000001 R14: ffffc900013e6000 R15: ffff8880653a24a8 bpf_prog_abe3471d98b428a0+0x10/0x700 bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline] __bpf_prog_run include/linux/filter.h:621 [inline] bpf_prog_run include/linux/filter.h:635 [inline] BPF_PROG_RUN_ARRAY include/linux/bpf.h:1341 [inline] trace_call_bpf+0x364/0x660 kernel/trace/bpf_trace.c:127 perf_trace_run_bpf_submit+0x7b/0x1d0 kernel/events/core.c:9987 perf_trace_lock+0x37f/0x440 include/trace/events/lock.h:39 trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x93c/0x9a0 kernel/locking/lockdep.c:5634 rcu_read_unlock include/linux/rcupdate.h:772 [inline] is_bpf_text_address+0x24f/0x260 kernel/bpf/core.c:723 kernel_text_address kernel/extable.c:151 [inline] __kernel_text_address+0x94/0x100 kernel/extable.c:105 unwind_get_return_address+0x49/0x80 arch/x86/kernel/unwind_orc.c:323 arch_stack_walk+0xf3/0x140 arch/x86/kernel/stacktrace.c:26 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_kmalloc+0xba/0xf0 mm/kasan/common.c:513 kasan_kmalloc include/linux/kasan.h:264 [inline] __kmalloc_node_track_caller+0x195/0x390 mm/slub.c:4963 kmalloc_reserve net/core/skbuff.c:356 [inline] pskb_expand_head+0x111/0x1130 net/core/skbuff.c:1709 __bpf_try_make_writable net/core/filter.c:1659 [inline] bpf_try_make_writable net/core/filter.c:1665 [inline] bpf_try_make_head_writable net/core/filter.c:1673 [inline] ____bpf_clone_redirect net/core/filter.c:2436 [inline] bpf_clone_redirect+0x110/0x360 net/core/filter.c:2414 bpf_prog_973cd02a7a0e8181+0x56/0x908 bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline] __bpf_prog_run include/linux/filter.h:621 [inline] bpf_prog_run include/linux/filter.h:635 [inline] bpf_test_run+0x5f4/0x8a0 net/bpf/test_run.c:119 bpf_prog_test_run_skb+0xb41/0x1420 net/bpf/test_run.c:669 bpf_prog_test_run+0x32f/0x3a0 kernel/bpf/syscall.c:3368 __sys_bpf+0x3ac/0x670 kernel/bpf/syscall.c:4669 __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:0x7f5e51860ef9 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:00007f5e4fcd9038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f5e51a18f80 RCX: 00007f5e51860ef9 RDX: 000000000000002c RSI: 0000000020000080 RDI: 000000000000000a RBP: 00007f5e518d3b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5e51a18f80 R15: 00007ffea5d2c578 rcu: rcu_preempt kthread starved for 10445 jiffies! g64809 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:I stack:26808 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: 20 Comm: ksoftirqd/1 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:perf_trace_lock+0x2da/0x440 include/trace/events/lock.h:39 Code: 49 8d 7d 08 48 89 f8 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 1d 01 00 00 45 89 75 08 49 8d 5d 18 48 8b 44 24 38 42 80 3c 38 00 <4c> 8b 74 24 40 74 08 4c 89 f7 e8 d7 cb 67 00 49 8b 06 48 85 c0 48 RSP: 0018:ffffc90000da7580 EFLAGS: 00000046 RAX: 1ffff1100548b500 RBX: ffffe8ffff723018 RCX: ffff888017e70000 RDX: 0000000000000100 RSI: 0000000000000001 RDI: ffffe8ffff723008 RBP: ffffc90000da7690 R08: ffffffff81888c17 R09: fffffbfff1bd2c16 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000024 R13: ffffe8ffff723000 R14: 00000000000c0018 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f930688d68 CR3: 0000000065872000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x93c/0x9a0 kernel/locking/lockdep.c:5634 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:158 [inline] _raw_spin_unlock_irqrestore+0x75/0x130 kernel/locking/spinlock.c:194 try_to_wake_up+0x807/0x1300 kernel/sched/core.c:4145 send_mayday kernel/workqueue.c:2070 [inline] pool_mayday_timeout+0x44a/0x5d0 kernel/workqueue.c:2090 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 run_ksoftirqd+0xc6/0x120 kernel/softirq.c:925 smpboot_thread_fn+0x51b/0x9d0 kernel/smpboot.c:164 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287