rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (1 GPs behind) idle=741/1/0x4000000000000000 softirq=17712/17713 fqs=10 (t=10502 jiffies g=21425 q=1008) rcu: rcu_preempt kthread starved for 10472 jiffies! g21425 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:26168 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5052 Comm: syz.4.348 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:trace_local_timer_exit arch/x86/include/asm/trace/irq_vectors.h:41 [inline] RIP: 0010:__sysvec_apic_timer_interrupt+0x13e/0x470 arch/x86/kernel/apic/apic.c:1103 Code: 7d 00 00 0f 84 90 00 00 00 65 ff 05 94 96 cd 7e 42 80 3c 3b 00 74 08 48 89 ef e8 4d 22 94 00 48 89 ef ff 55 00 0f 1f 44 00 00 <65> 8b 1d 03 13 cc 7e 83 fb 08 0f 83 7e 01 00 00 89 d8 c1 e8 06 48 RSP: 0018:ffffc90000006d58 EFLAGS: 00000092 RAX: ffff8880b902a24c RBX: 1ffff11017204e48 RCX: ffff8880217d0000 RDX: 0000000000010100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff8880b9027240 R08: ffffffff816f5fd1 R09: fffffbfff1bd2c16 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007fc3675fa6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffff0000 CR3: 0000000061bc0000 CR4: 00000000003506f0 DR0: 0000000020000300 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: 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:memset+0x1f/0x40 mm/kasan/shadow.c:44 Code: 24 ba 01 00 00 00 e9 50 ef ff ff 55 41 56 53 48 89 d3 41 89 f6 48 89 fd 48 8b 4c 24 18 48 89 d6 ba 01 00 00 00 e8 31 ef ff ff <84> c0 74 12 48 89 ef 44 89 f6 48 89 da 5b 41 5e 5d e9 bb d3 67 02 RSP: 0018:ffffc90000006e48 EFLAGS: 00000256 RAX: 0000000000000001 RBX: 0000000000000010 RCX: ffffffff81389418 RDX: 0000000000000001 RSI: 0000000000000010 RDI: ffffc90000006f70 RBP: ffffc90000006f70 R08: dffffc0000000000 R09: fffff52000000df0 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff1cc7702 R13: 1ffffffff1cc7702 R14: 0000000000000000 R15: ffffc90000006f20 unwind_next_frame+0xbc8/0x1fa0 arch/x86/kernel/unwind_orc.c:547 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+0x4b/0x80 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0xd8/0x120 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0xdd/0x160 mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kmem_cache_free+0x91/0x1f0 mm/slub.c:3515 packet_rcv_spkt+0x39a/0x4a0 dev_queue_xmit_nit+0x9bb/0xae0 net/core/dev.c:2342 xmit_one net/core/dev.c:3612 [inline] dev_hard_start_xmit+0x137/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:lock_acquire+0x252/0x4f0 kernel/locking/lockdep.c:5627 Code: 2b 00 74 08 4c 89 f7 e8 0c 75 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:ffffc9000322f1e0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000645e48 RCX: 1ffff92000645de8 RDX: dffffc0000000000 RSI: ffffffff8a8b3da0 RDI: ffffffff8ad904c0 RBP: ffffc9000322f340 R08: dffffc0000000000 R09: fffffbfff20e2419 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000645e44 R13: dffffc0000000000 R14: ffffc9000322f240 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: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] 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:0x7fc369181ff9 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:00007fc3675f9fe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007fc369339f80 RCX: 00007fc369181ff9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040020000 RBP: 00007fc3691f4296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc369339f80 R15: 00007ffe17563c88 NMI backtrace for cpu 1 CPU: 1 PID: 5109 Comm: syz.2.360 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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:__dev_queue_xmit+0x8ee/0x3230 net/core/dev.c:4212 Code: 08 fd 34 f9 eb 05 e8 01 fd 34 f9 4c 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 4c 89 ef e8 02 c7 7e f9 <49> 83 7d 00 00 0f 84 98 00 00 00 4c 8d a4 24 e0 00 00 00 4c 89 e1 RSP: 0018:ffffc90000dd0580 EFLAGS: 00000246 RAX: 1ffff1100edbba00 RBX: 0000000000000001 RCX: dffffc0000000000 RDX: 0000000000000100 RSI: ffffffff8ad904a0 RDI: ffffffff8ad90460 RBP: ffffc90000dd0770 R08: ffffffff884b5d51 R09: fffffbfff1bd2c16 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff888076ddd000 R14: ffff8880570cbe01 R15: ffff8880570cbdc0 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:strlen+0x1e/0x60 Code: ef e8 46 0a 9c fd eb d9 0f 1f 40 00 41 57 41 56 41 54 53 49 89 fe 48 c7 c0 ff ff ff ff 49 bf 00 00 00 00 00 fc ff df 48 89 fb <49> 89 c4 48 89 d8 48 c1 e8 03 42 0f b6 04 38 84 c0 75 12 48 ff c3 RSP: 0018:ffffc900022d7118 EFLAGS: 00000206 RAX: 0000000000000003 RBX: ffffffff8a8c2e64 RCX: 00000000022d7103 RDX: ffffffff818aabc5 RSI: ffffffff8c91fc60 RDI: ffffffff8a8c2e60 RBP: ffffc900022d7250 R08: dffffc0000000000 R09: fffffbfff1bd2c16 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000002 R13: ffffffff818aabc5 R14: ffffffff8a8c2e60 R15: dffffc0000000000 trace_event_get_offsets_lock include/trace/events/lock.h:39 [inline] perf_trace_lock+0x10c/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] BPF_PROG_RUN_ARRAY include/linux/bpf.h:1346 [inline] trace_call_bpf+0x5a6/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 memcg_slab_free_hook+0x6b/0x200 mm/slab.h:367 do_slab_free mm/slub.c:3432 [inline] ___cache_free+0x67/0x100 mm/slub.c:3506 qlist_free_all+0x36/0x90 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x162/0x180 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0x2f/0xc0 mm/kasan/common.c:444 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 __d_alloc+0x2a/0x700 fs/dcache.c:1749 d_alloc_pseudo+0x19/0x70 fs/dcache.c:1878 alloc_file_pseudo+0x131/0x2f0 fs/file_table.c:225 __anon_inode_getfile fs/anon_inodes.c:109 [inline] anon_inode_getfile+0xc4/0x180 fs/anon_inodes.c:147 __do_sys_perf_event_open kernel/events/core.c:12561 [inline] __se_sys_perf_event_open+0x11a0/0x4510 kernel/events/core.c:12335 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:0x7f8033b70ff9 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:00007f8031fe9038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007f8033d28f80 RCX: 00007f8033b70ff9 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 00000000200003c0 RBP: 00007f8033be3296 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8033d28f80 R15: 00007fffb3cf8598