rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (1 GPs behind) idle=dbf/1/0x4000000000000000 softirq=28772/28773 fqs=1 (t=10502 jiffies g=43517 q=924) rcu: rcu_preempt kthread starved for 10501 jiffies! g43517 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:27256 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 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: 5716 Comm: syz.3.301 Not tainted 5.15.163-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:strcpy+0x2a/0x90 lib/string.c:93 Code: 55 41 57 41 56 41 54 53 49 89 f6 49 89 fc 49 bf 00 00 00 00 00 fc ff df 31 db 49 8d 3c 1e 48 89 f8 48 c1 e8 03 42 0f b6 04 38 <84> c0 75 27 41 0f b6 2c 1e 49 8d 3c 1c 48 89 f8 48 c1 e8 03 42 0f RSP: 0018:ffffc90000dcfe70 EFLAGS: 00000807 RAX: 0000000000000000 RBX: 0000000000000006 RCX: ffff888017fd9dc0 RDX: 0000000000010504 RSI: ffffffff8a8cbc20 RDI: ffffffff8a8cbc26 RBP: 0000000000000065 R08: ffffffff81888f57 R09: fffffbfff1bc8ede R10: 0000000000000000 R11: dffffc0000000001 R12: ffffe8ffff9b9018 R13: ffffe8ffff9b9000 R14: ffffffff8a8cbc20 R15: dffffc0000000000 FS: 00007f0532a8a6c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffec0000 CR3: 000000001bbdb000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: perf_trace_lock+0x302/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 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:158 [inline] _raw_spin_unlock_irqrestore+0x75/0x130 kernel/locking/spinlock.c:194 __run_hrtimer kernel/time/hrtimer.c:1682 [inline] __hrtimer_run_queues+0x48c/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 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:queued_write_lock_slowpath+0x154/0x440 kernel/locking/qrwlock.c:78 Code: 42 f1 65 00 f0 41 81 0f 00 01 00 00 48 8b 5c 24 08 43 0f b6 04 2e 84 c0 0f 85 94 00 00 00 41 8b 07 3d 00 01 00 00 74 27 f3 90 <43> 0f b6 04 2e 84 c0 74 eb 44 89 f9 80 e1 07 80 c1 03 38 c1 7c de RSP: 0018:ffffc90000dd0500 EFLAGS: 00000206 RAX: 00000000000001ff RBX: 1ffff920001ba0aa RCX: ffffffff816440fe RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff8daea398 RBP: ffffc90000dd05b0 R08: dffffc0000000000 R09: fffffbfff1b5d474 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000dd0550 R13: dffffc0000000000 R14: 1ffffffff1b5d473 R15: ffffffff8daea398 queued_write_lock include/asm-generic/qrwlock.h:97 [inline] do_raw_write_lock+0x38b/0x4e0 kernel/locking/spinlock_debug.c:210 neigh_forced_gc net/core/neighbour.c:236 [inline] neigh_alloc net/core/neighbour.c:429 [inline] ___neigh_create+0x202/0x2220 net/core/neighbour.c:591 ip6_finish_output2+0x11aa/0x14f0 net/ipv6/ip6_output.c:123 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:509 addrconf_rs_timer+0x357/0x610 net/ipv6/addrconf.c:3958 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:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0xc/0x60 kernel/kcov.c:197 Code: 89 fb e8 17 00 00 00 48 8b 3d 18 1b 64 0c 48 89 de 5b e9 77 fb 48 00 cc cc cc cc cc cc cc 48 8b 04 24 65 48 8b 0d a4 11 82 7e <65> 8b 15 a5 11 82 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 RSP: 0018:ffffc90002507340 EFLAGS: 00000246 RAX: ffffffff81966935 RBX: ffffc9000126a048 RCX: ffff888017fd9dc0 RDX: ffffc9000ce54000 RSI: ffffc9000126a048 RDI: ffffe8ffff9b5000 RBP: ffffc90002507350 R08: ffffffff818a1a45 R09: fffffbfff1f7f419 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000001 R14: ffffc9000126a030 R15: ffff888072371128 bpf_get_numa_node_id+0x5/0x10 kernel/bpf/helpers.c:136 bpf_prog_abe3471d98b428a0+0x10/0xb20 bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] BPF_PROG_RUN_ARRAY include/linux/bpf.h:1341 [inline] trace_call_bpf+0x2e1/0x660 kernel/trace/bpf_trace.c:127 perf_trace_run_bpf_submit+0x7b/0x1d0 kernel/events/core.c:9955 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] inet_twsk_purge+0x934/0x9d0 net/ipv4/inet_timewait_sock.c:309 ops_exit_list net/core/net_namespace.c:177 [inline] setup_net+0x81c/0x9e0 net/core/net_namespace.c:355 copy_net_ns+0x392/0x5d0 net/core/net_namespace.c:476 create_new_namespaces+0x425/0x7a0 kernel/nsproxy.c:110 copy_namespaces+0x365/0x3b0 kernel/nsproxy.c:178 copy_process+0x1841/0x3ef0 kernel/fork.c:2209 kernel_clone+0x210/0x960 kernel/fork.c:2604 __do_sys_clone kernel/fork.c:2721 [inline] __se_sys_clone kernel/fork.c:2705 [inline] __x64_sys_clone+0x23f/0x290 kernel/fork.c:2705 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:0x7f0534009b59 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:00007f0532a89ff8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007f0534199f60 RCX: 00007f0534009b59 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000640c7000 RBP: 00007f0534078e5d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007f0534199f60 R15: 00007fffd0e460b8 NMI backtrace for cpu 0 CPU: 0 PID: 5688 Comm: syz.0.292 Not tainted 5.15.163-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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:1686 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 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:stack_trace_consume_entry+0x0/0x270 kernel/stacktrace.c:83 Code: ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 7b ff ff ff 48 89 df e8 50 39 5c 00 e9 6e ff ff ff e8 16 b6 b0 08 66 0f 1f 44 00 00 <55> 41 57 41 56 41 55 41 54 53 48 83 ec 18 48 89 fb 48 ba 00 00 00 RSP: 0018:ffffc90000007138 EFLAGS: 00000286 RAX: ffffffff816df6a3 RBX: ffffc90000007140 RCX: 0000000000000502 RDX: dffffc0000000000 RSI: ffffffff816df6a3 RDI: ffffc90000007220 RBP: ffffc900000071d0 R08: ffffc900000071d0 R09: ffffc90000007190 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888021720000 R13: ffffffff816df750 R14: ffffc90000007220 R15: 0000000000000000 arch_stack_walk+0x101/0x140 arch/x86/kernel/stacktrace.c:27 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] kmem_cache_alloc_node+0x121/0x2c0 mm/slub.c:3256 __alloc_skb+0xdd/0x590 net/core/skbuff.c:415 alloc_skb include/linux/skbuff.h:1167 [inline] nlmsg_new include/net/netlink.h:953 [inline] __neigh_notify+0x7c/0x130 net/core/neighbour.c:3375 neigh_cleanup_and_release+0xa5/0x260 net/core/neighbour.c:101 neigh_del net/core/neighbour.c:197 [inline] neigh_remove_one+0x4b1/0x5c0 net/core/neighbour.c:218 neigh_forced_gc net/core/neighbour.c:251 [inline] neigh_alloc net/core/neighbour.c:429 [inline] ___neigh_create+0x45a/0x2220 net/core/neighbour.c:591 ip6_finish_output2+0x11aa/0x14f0 net/ipv6/ip6_output.c:123 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:509 addrconf_rs_timer+0x357/0x610 net/ipv6/addrconf.c:3958 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 5c 82 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:ffffc90002e571e0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920005cae48 RCX: 1ffff920005cade8 RDX: dffffc0000000000 RSI: ffffffff8a8b3ca0 RDI: ffffffff8ad8f700 RBP: ffffc90002e57340 R08: dffffc0000000000 R09: fffffbfff1f7f419 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920005cae44 R13: dffffc0000000000 R14: ffffc90002e57240 R15: 0000000000000246 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] BPF_PROG_RUN_ARRAY include/linux/bpf.h:1333 [inline] trace_call_bpf+0x146/0x660 kernel/trace/bpf_trace.c:127 perf_trace_run_bpf_submit+0x7b/0x1d0 kernel/events/core.c:9955 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] inet_twsk_purge+0x934/0x9d0 net/ipv4/inet_timewait_sock.c:309 ops_exit_list net/core/net_namespace.c:177 [inline] setup_net+0x81c/0x9e0 net/core/net_namespace.c:355 copy_net_ns+0x392/0x5d0 net/core/net_namespace.c:476 create_new_namespaces+0x425/0x7a0 kernel/nsproxy.c:110 copy_namespaces+0x365/0x3b0 kernel/nsproxy.c:178 copy_process+0x1841/0x3ef0 kernel/fork.c:2209 kernel_clone+0x210/0x960 kernel/fork.c:2604 __do_sys_clone kernel/fork.c:2721 [inline] __se_sys_clone kernel/fork.c:2705 [inline] __x64_sys_clone+0x23f/0x290 kernel/fork.c:2705 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:0x7faae73f9b59 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:00007faae5e79ff8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007faae7589f60 RCX: 00007faae73f9b59 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000640c7000 RBP: 00007faae7468e5d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007faae7589f60 R15: 00007ffde2998498