rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (1 GPs behind) idle=a9b/1/0x4000000000000000 softirq=83899/83902 fqs=6 (t=10502 jiffies g=133453 q=961) rcu: rcu_preempt kthread starved for 10465 jiffies! g133453 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:26712 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: 23071 Comm: syz.3.7147 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:91 [inline] RIP: 0010:lock_release+0x115/0x9a0 kernel/locking/lockdep.c:5636 Code: 9f 7e 85 c0 0f 85 2f 05 00 00 65 48 8b 05 53 9b 9f 7e 48 89 44 24 18 48 8d 98 ec 0a 00 00 48 89 d8 48 c1 e8 03 42 0f b6 04 38 <84> c0 0f 85 c2 05 00 00 83 3b 00 0f 85 fe 04 00 00 4c 8d b4 24 b0 RSP: 0018:ffffc90000dd0140 EFLAGS: 00000803 RAX: 0000000000000000 RBX: ffff88803060e42c RCX: ffffffff8162d418 RDX: 0000000000000000 RSI: ffffffff8ad904a0 RDI: ffffffff8ad90460 RBP: ffffc90000dd0270 R08: dffffc0000000000 R09: fffffbfff1bd2c16 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920001ba034 R13: ffffffff816fafd1 R14: ffffffff816fafd1 R15: dffffc0000000000 FS: 00007fe9b11b46c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9eae5e6f40 CR3: 000000002dc06000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: seqcount_lockdep_reader_access+0x10b/0x220 include/linux/seqlock.h:104 ktime_get+0x31/0x270 kernel/time/timekeeping.c:829 clockevents_program_event+0xe1/0x310 kernel/time/clockevents.c:326 hrtimer_interrupt+0x546/0x980 kernel/time/hrtimer.c:1827 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+0x148/0x440 kernel/locking/qrwlock.c:78 Code: 01 00 00 4c 89 ff be 04 00 00 00 e8 f2 e3 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 RSP: 0018:ffffc90000dd05c0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff920001ba0c2 RCX: ffffffff8164423e RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff8db33c98 RBP: ffffc90000dd0670 R08: dffffc0000000000 R09: fffffbfff1b66794 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000dd0610 R13: dffffc0000000000 R14: 1ffffffff1b66793 R15: ffffffff8db33c98 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+0x11c5/0x15a0 net/ipv6/ip6_output.c:127 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+0x162/0x240 kernel/softirq.c:459 __local_bh_enable_ip+0x1b1/0x1f0 kernel/softirq.c:383 __nf_conntrack_confirm+0xc66/0x1090 net/netfilter/nf_conntrack_core.c:1256 nf_conntrack_confirm include/net/netfilter/nf_conntrack_core.h:62 [inline] nf_confirm+0x303/0x420 net/netfilter/nf_conntrack_proto.c:154 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_slow+0xae/0x1e0 net/netfilter/core.c:584 nf_hook+0x2a6/0x430 include/linux/netfilter.h:257 NF_HOOK_COND include/linux/netfilter.h:290 [inline] ip_output+0x1f2/0x2b0 net/ipv4/ip_output.c:430 dst_output include/net/dst.h:443 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0x1296/0x1ce0 net/ipv4/ip_output.c:532 __tcp_transmit_skb+0x1f39/0x3810 net/ipv4/tcp_output.c:1402 tcp_transmit_skb net/ipv4/tcp_output.c:1420 [inline] tcp_send_syn_data net/ipv4/tcp_output.c:3851 [inline] tcp_connect+0x2d5f/0x4880 net/ipv4/tcp_output.c:3890 tcp_v4_connect+0x10db/0x1b10 net/ipv4/tcp_ipv4.c:320 __inet_stream_connect+0x254/0xe50 net/ipv4/af_inet.c:674 tcp_sendmsg_fastopen+0x39d/0x600 net/ipv4/tcp.c:1195 tcp_sendmsg_locked+0x3468/0x3a90 net/ipv4/tcp.c:1237 tcp_sendmsg+0x2c/0x40 net/ipv4/tcp.c:1457 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2431 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2485 __sys_sendmsg net/socket.c:2514 [inline] __do_sys_sendmsg net/socket.c:2523 [inline] __se_sys_sendmsg+0x19a/0x260 net/socket.c:2521 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:0x7fe9b2d5cf39 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:00007fe9b11b4038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fe9b2f15058 RCX: 00007fe9b2d5cf39 RDX: 0000000030004081 RSI: 0000000020000080 RDI: 0000000000000006 RBP: 00007fe9b2dcf216 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fe9b2f15058 R15: 00007ffc2a3b0308 NMI backtrace for cpu 0 CPU: 0 PID: 23073 Comm: syz.4.7155 Not tainted 5.15.167-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:native_save_fl arch/x86/include/asm/irqflags.h:35 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:lock_is_held_type+0x65/0x180 kernel/locking/lockdep.c:5662 Code: 00 00 65 4c 8b 2d bb 1f ce 75 41 83 bd ec 0a 00 00 00 0f 85 db 00 00 00 41 89 f6 49 89 ff 48 c7 04 24 00 00 00 00 9c 8f 04 24 <4c> 8b 24 24 fa 48 c7 c7 00 39 8b 8a e8 0a 12 00 00 65 ff 05 c3 28 RSP: 0018:ffffc900000076d8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff110054e7100 RCX: ffff888030608000 RDX: ffff888030608000 RSI: 00000000ffffffff RDI: ffffffff8db33cb0 RBP: 00000000ffffffff R08: ffffffff884f3699 R09: ffffed100824df0e R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8db33cb0 R13: ffff888030608000 R14: 00000000ffffffff R15: ffffffff8db33cb0 lock_is_held include/linux/lockdep.h:287 [inline] neigh_del net/core/neighbour.c:189 [inline] neigh_remove_one+0x29a/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+0x11c5/0x15a0 net/ipv6/ip6_output.c:127 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+0x162/0x240 kernel/softirq.c:459 __local_bh_enable_ip+0x1b1/0x1f0 kernel/softirq.c:383 __inet_hash_connect+0xd08/0x1020 net/ipv4/inet_hashtables.c:808 tcp_v4_connect+0xc58/0x1b10 net/ipv4/tcp_ipv4.c:283 __inet_stream_connect+0x254/0xe50 net/ipv4/af_inet.c:674 tcp_sendmsg_fastopen+0x39d/0x600 net/ipv4/tcp.c:1195 tcp_sendmsg_locked+0x3468/0x3a90 net/ipv4/tcp.c:1237 tcp_sendmsg+0x2c/0x40 net/ipv4/tcp.c:1457 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2431 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2485 __sys_sendmsg net/socket.c:2514 [inline] __do_sys_sendmsg net/socket.c:2523 [inline] __se_sys_sendmsg+0x19a/0x260 net/socket.c:2521 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:0x7fc033864f39 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:00007fc031cbc038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fc033a1d058 RCX: 00007fc033864f39 RDX: 0000000030004081 RSI: 0000000020000080 RDI: 0000000000000006 RBP: 00007fc0338d7216 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc033a1d058 R15: 00007ffcde657aa8