rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10500 ticks this GP) idle=1fd/1/0x4000000000000000 softirq=9924/9924 fqs=0 (t=10500 jiffies g=10345 q=227) rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g10345 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=2684 rcu: rcu_preempt kthread starved for 10500 jiffies! g10345 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:27064 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: NMI backtrace for cpu 0 CPU: 0 PID: 4864 Comm: syz.0.107 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_check_gp_kthread_starvation+0x1d2/0x240 kernel/rcu/tree_stall.h:487 print_cpu_stall+0x31b/0x600 kernel/rcu/tree_stall.h:631 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+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:memcmp lib/string.c:955 [inline] RIP: 0010:bcmp+0x179/0x1e0 lib/string.c:976 Code: 4d 85 f6 74 6c 31 ed 49 8d 3c 2c 48 89 f8 48 c1 e8 03 0f b6 04 10 84 c0 75 2b 41 0f b6 1c 2c 49 8d 3c 2f 48 89 f8 48 c1 e8 03 <0f> b6 04 10 84 c0 75 29 41 0f b6 04 2f 29 c3 75 38 48 ff c5 49 39 RSP: 0018:ffffc900036a63a0 EFLAGS: 00000a02 RAX: 1ffff920006d4c8c RBX: 000000000000006e RCX: 00000000036a6400 RDX: dffffc0000000000 RSI: ffffc900036a6460 RDI: ffffc900036a6461 RBP: 0000000000000001 R08: ffffffff89e659a5 R09: fffffbfff20e2419 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880232f2f20 R13: fffffffffffffa58 R14: 0000000000000004 R15: ffffc900036a6460 rhashtable_compare include/linux/rhashtable.h:577 [inline] __rhashtable_lookup include/linux/rhashtable.h:602 [inline] rhashtable_lookup include/linux/rhashtable.h:638 [inline] tipc_sk_lookup+0x3e9/0x920 net/tipc/socket.c:2999 tipc_sk_rcv+0x428/0x1d40 net/tipc/socket.c:2492 tipc_node_xmit+0x1b7/0xf20 net/tipc/node.c:1703 tipc_node_xmit_skb net/tipc/node.c:1768 [inline] tipc_node_distr_xmit+0x309/0x440 net/tipc/node.c:1783 tipc_sk_rcv+0x1629/0x1d40 net/tipc/socket.c:2501 tipc_node_xmit+0x1b7/0xf20 net/tipc/node.c:1703 tipc_sk_push_backlog+0x507/0x920 net/tipc/socket.c:1316 tipc_sk_conn_proto_rcv net/tipc/socket.c:1370 [inline] tipc_sk_proto_rcv+0xa8e/0x1820 net/tipc/socket.c:2158 tipc_sk_filter_rcv+0x315b/0x33d0 net/tipc/socket.c:2352 tipc_sk_enqueue net/tipc/socket.c:2445 [inline] tipc_sk_rcv+0x8a7/0x1d40 net/tipc/socket.c:2497 tipc_node_xmit+0x1b7/0xf20 net/tipc/node.c:1703 tipc_node_xmit_skb net/tipc/node.c:1768 [inline] tipc_node_distr_xmit+0x309/0x440 net/tipc/node.c:1783 tipc_sk_backlog_rcv+0x199/0x220 net/tipc/socket.c:2412 sk_backlog_rcv include/net/sock.h:1059 [inline] __release_sock+0x198/0x4b0 net/core/sock.c:2724 release_sock+0x5d/0x1c0 net/core/sock.c:3265 sock_setsockopt+0x155d/0x2f10 net/core/sock.c:1378 __sys_setsockopt+0x5dd/0x990 net/socket.c:2194 __do_sys_setsockopt net/socket.c:2209 [inline] __se_sys_setsockopt net/socket.c:2206 [inline] __x64_sys_setsockopt+0xb1/0xc0 net/socket.c:2206 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:0x7f2eafbdfef9 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:00007f2eaee3f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f2eafd98058 RCX: 00007f2eafbdfef9 RDX: 0000000000000021 RSI: 0000000000000001 RDI: 0000000000000003 RBP: 00007f2eafc52b76 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000020000540 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f2eafd98058 R15: 00007fff5e7bcdc8 NMI backtrace for cpu 0 CPU: 0 PID: 4864 Comm: syz.0.107 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+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:memcmp lib/string.c:955 [inline] RIP: 0010:bcmp+0x179/0x1e0 lib/string.c:976 Code: 4d 85 f6 74 6c 31 ed 49 8d 3c 2c 48 89 f8 48 c1 e8 03 0f b6 04 10 84 c0 75 2b 41 0f b6 1c 2c 49 8d 3c 2f 48 89 f8 48 c1 e8 03 <0f> b6 04 10 84 c0 75 29 41 0f b6 04 2f 29 c3 75 38 48 ff c5 49 39 RSP: 0018:ffffc900036a63a0 EFLAGS: 00000a02 RAX: 1ffff920006d4c8c RBX: 000000000000006e RCX: 00000000036a6400 RDX: dffffc0000000000 RSI: ffffc900036a6460 RDI: ffffc900036a6461 RBP: 0000000000000001 R08: ffffffff89e659a5 R09: fffffbfff20e2419 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880232f2f20 R13: fffffffffffffa58 R14: 0000000000000004 R15: ffffc900036a6460 rhashtable_compare include/linux/rhashtable.h:577 [inline] __rhashtable_lookup include/linux/rhashtable.h:602 [inline] rhashtable_lookup include/linux/rhashtable.h:638 [inline] tipc_sk_lookup+0x3e9/0x920 net/tipc/socket.c:2999 tipc_sk_rcv+0x428/0x1d40 net/tipc/socket.c:2492 tipc_node_xmit+0x1b7/0xf20 net/tipc/node.c:1703 tipc_node_xmit_skb net/tipc/node.c:1768 [inline] tipc_node_distr_xmit+0x309/0x440 net/tipc/node.c:1783 tipc_sk_rcv+0x1629/0x1d40 net/tipc/socket.c:2501 tipc_node_xmit+0x1b7/0xf20 net/tipc/node.c:1703 tipc_sk_push_backlog+0x507/0x920 net/tipc/socket.c:1316 tipc_sk_conn_proto_rcv net/tipc/socket.c:1370 [inline] tipc_sk_proto_rcv+0xa8e/0x1820 net/tipc/socket.c:2158 tipc_sk_filter_rcv+0x315b/0x33d0 net/tipc/socket.c:2352 tipc_sk_enqueue net/tipc/socket.c:2445 [inline] tipc_sk_rcv+0x8a7/0x1d40 net/tipc/socket.c:2497 tipc_node_xmit+0x1b7/0xf20 net/tipc/node.c:1703 tipc_node_xmit_skb net/tipc/node.c:1768 [inline] tipc_node_distr_xmit+0x309/0x440 net/tipc/node.c:1783 tipc_sk_backlog_rcv+0x199/0x220 net/tipc/socket.c:2412 sk_backlog_rcv include/net/sock.h:1059 [inline] __release_sock+0x198/0x4b0 net/core/sock.c:2724 release_sock+0x5d/0x1c0 net/core/sock.c:3265 sock_setsockopt+0x155d/0x2f10 net/core/sock.c:1378 __sys_setsockopt+0x5dd/0x990 net/socket.c:2194 __do_sys_setsockopt net/socket.c:2209 [inline] __se_sys_setsockopt net/socket.c:2206 [inline] __x64_sys_setsockopt+0xb1/0xc0 net/socket.c:2206 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:0x7f2eafbdfef9 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:00007f2eaee3f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f2eafd98058 RCX: 00007f2eafbdfef9 RDX: 0000000000000021 RSI: 0000000000000001 RDI: 0000000000000003 RBP: 00007f2eafc52b76 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000020000540 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f2eafd98058 R15: 00007fff5e7bcdc8 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4863 Comm: syz.0.107 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:trylock_clear_pending kernel/locking/qspinlock_paravirt.h:121 [inline] RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:435 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x5be/0xc40 kernel/locking/qspinlock.c:508 Code: dc c6 03 00 48 8b 44 24 10 0f b6 04 10 84 c0 0f 85 48 01 00 00 48 8b 44 24 08 c6 00 01 bb 00 80 ff ff eb 06 f3 90 ff c3 74 5e <41> 0f b6 44 15 00 84 c0 75 36 41 80 3f 00 75 ea 4c 89 ff be 02 00 RSP: 0018:ffffc900034c77e0 EFLAGS: 00000282 RAX: 0000000000000000 RBX: 00000000ffff8f94 RCX: ffffffff81631ae8 RDX: dffffc0000000000 RSI: ffffffff8a8b2b00 RDI: ffffffff8ad904c0 RBP: ffffc900034c78d8 R08: dffffc0000000000 R09: fffffbfff20e243f R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b913b114 R13: 1ffff1100465e551 R14: 1ffff11017220001 R15: ffff8880232f2a88 FS: 00007f2eaee606c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000000 CR3: 0000000024d62000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline] queued_spin_lock_slowpath+0x42/0x50 arch/x86/include/asm/qspinlock.h:51 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x269/0x370 kernel/locking/spinlock_debug.c:115 spin_lock_bh include/linux/spinlock.h:368 [inline] lock_sock_nested+0x68/0x100 net/core/sock.c:3253 lock_sock include/net/sock.h:1676 [inline] tipc_sendstream+0x43/0x70 net/tipc/socket.c:1549 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:0x7f2eafbdfef9 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:00007f2eaee60038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f2eafd97f80 RCX: 00007f2eafbdfef9 RDX: 0000000000000000 RSI: 0000000020000500 RDI: 0000000000000004 RBP: 00007f2eafc52b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2eafd97f80 R15: 00007fff5e7bcdc8