rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P24482/3:b..l rcu: (detected by 1, t=10502 jiffies, g=158337, q=177 ncpus=2) task:syz-executor.4 state:R running task stack:23280 pid:24482 tgid:24480 ppid:19475 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:unwind_get_return_address+0x4b/0xc0 arch/x86/kernel/unwind_orc.c:369 Code: e8 03 42 0f b6 04 30 84 c0 75 72 8b 2b 31 ff 89 ee e8 e9 3c 55 00 85 ed 74 4a 48 83 c3 48 49 89 df 49 c1 ef 03 43 80 3c 37 00 <74> 08 48 89 df e8 8b f8 ba 00 48 8b 3b e8 13 43 21 00 89 c5 31 ff RSP: 0018:ffffc90003126578 EFLAGS: 00000246 RAX: 0000000000000002 RBX: ffffc900031265e8 RCX: 0000000000040000 RDX: ffff88801a3a8000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff8140ddd7 R09: ffffffff8140f8cf R10: 0000000000000003 R11: ffff88801a3a8000 R12: ffff88801a3a8000 R13: ffffffff8181cfd0 R14: dffffc0000000000 R15: 1ffff92000624cbd arch_stack_walk+0x125/0x1b0 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:312 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:338 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3940 [inline] slab_alloc_node mm/slub.c:4000 [inline] kmem_cache_alloc_noprof+0x135/0x2a0 mm/slub.c:4007 skb_clone+0x20c/0x390 net/core/skbuff.c:2052 __netlink_deliver_tap_skb net/netlink/af_netlink.c:300 [inline] __netlink_deliver_tap+0x3cc/0x7c0 net/netlink/af_netlink.c:325 netlink_deliver_tap+0x19d/0x1b0 net/netlink/af_netlink.c:338 __netlink_sendskb net/netlink/af_netlink.c:1279 [inline] netlink_broadcast_deliver net/netlink/af_netlink.c:1412 [inline] do_one_broadcast net/netlink/af_netlink.c:1499 [inline] netlink_broadcast_filtered+0xe5b/0x1290 net/netlink/af_netlink.c:1544 nlmsg_multicast_filtered include/net/netlink.h:1125 [inline] nlmsg_multicast include/net/netlink.h:1144 [inline] xfrm_nlmsg_multicast+0x187/0x1f0 net/xfrm/xfrm_user.c:1447 xfrm_send_acquire+0x932/0x1240 net/xfrm/xfrm_user.c:3629 km_query+0x122/0x220 net/xfrm/xfrm_state.c:2432 xfrm_state_find+0x328e/0x4de0 net/xfrm/xfrm_state.c:1292 xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2490 [inline] xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2541 [inline] xfrm_resolve_and_create_bundle+0x6d2/0x2c80 net/xfrm/xfrm_policy.c:2835 xfrm_lookup_with_ifid+0x334/0x1ed0 net/xfrm/xfrm_policy.c:3169 xfrm_lookup net/xfrm/xfrm_policy.c:3298 [inline] xfrm_lookup_route+0x3c/0x1c0 net/xfrm/xfrm_policy.c:3309 ip6_dst_lookup_flow+0x13e/0x180 net/ipv6/ip6_output.c:1256 rawv6_sendmsg+0x1283/0x23c0 net/ipv6/raw.c:898 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x1a6/0x270 net/socket.c:745 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2585 ___sys_sendmsg net/socket.c:2639 [inline] __sys_sendmmsg+0x3b2/0x740 net/socket.c:2725 __do_sys_sendmmsg net/socket.c:2754 [inline] __se_sys_sendmmsg net/socket.c:2751 [inline] __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2751 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5544a7cf69 RSP: 002b:00007f55445ff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f5544bb3fa0 RCX: 00007f5544a7cf69 RDX: 00000000000002e9 RSI: 0000000020000480 RDI: 0000000000000007 RBP: 00007f5544ada706 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f5544bb3fa0 R15: 00007ffc653c4fb8 rcu: rcu_preempt kthread starved for 10573 jiffies! g158337 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:24464 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 24487 Comm: syz-executor.0 Not tainted 6.10.0-rc2-syzkaller-00010-g2ab795141095 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 90 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 ea 56 e1 f5 48 89 df e8 82 99 e2 f5 e8 2d 5f 0c f6 fb bf 01 00 00 00 92 66 d4 f5 65 8b 05 c3 b0 72 74 85 c0 74 06 5b e9 bc 1c 1f 00 RSP: 0018:ffffc900036c7b70 EFLAGS: 00000282 RAX: 462f827dd21adb00 RBX: ffff88801f96ef00 RCX: ffffffff947a0603 RDX: dffffc0000000000 RSI: ffffffff8bcaba80 RDI: 0000000000000001 RBP: ffffc900036c7c50 R08: ffffffff8fad462f R09: 1ffffffff1f5a8c5 R10: dffffc0000000000 R11: fffffbfff1f5a8c6 R12: 1ffff1100527e124 R13: ffff8880293f0918 R14: 0000000100000000 R15: ffff8880293f0000 FS: 00007f72d64846c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000005834a000 CR4: 0000000000350ef0 Call Trace: spin_unlock_irq include/linux/spinlock.h:401 [inline] __set_current_blocked+0x310/0x380 kernel/signal.c:3099 set_current_blocked kernel/signal.c:3083 [inline] signal_delivered kernel/signal.c:2945 [inline] signal_setup_done+0x39e/0x600 kernel/signal.c:2957 handle_signal arch/x86/kernel/signal.c:285 [inline] arch_do_signal_or_restart+0x51f/0x860 arch/x86/kernel/signal.c:312 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f72d56a46f0 Code: 83 c0 16 83 e0 f7 74 12 50 48 8d 3d da 9a 04 00 e8 35 78 fa ff 0f 1f 44 00 00 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <83> ff 21 74 0b c3 66 2e 0f 1f 84 00 00 00 00 00 55 53 48 89 f3 48 RSP: 002b:00007f72d6483378 EFLAGS: 00000283 RAX: 0000000000000000 RBX: 00007f72d6483f80 RCX: 0000000000000000 RDX: 00007f72d6483380 RSI: 00007f72d64834b0 RDI: 0000000000000021 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000080 R13: 00007f72d6483f40 R14: 0000000000000000 R15: 0000000000000000