rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P4605/1:b..l (detected by 1, t=10502 jiffies, g=9233, q=611) task:syz.1.117 state:R running task stack:22968 pid: 4605 ppid: 4180 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5029 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6375 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6779 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x0/0x80 kernel/kcov.c:294 Code: 39 d0 77 22 89 f8 89 f6 48 c7 44 0a 08 03 00 00 00 48 89 44 0a 10 48 89 74 0a 18 4c 89 44 0a 20 49 ff c1 4c 89 09 c3 0f 1f 00 <4c> 8b 04 24 65 48 8b 15 94 cf 81 7e 65 8b 05 95 cf 81 7e 25 00 01 RSP: 0000:ffffc900031fedb8 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffff88801e591dc0 RDX: ffffc90011265000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900031ff040 R08: ffffffff890fc93e R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 1ffff11004dfa958 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880258abc00 rcu_read_unlock include/linux/rcupdate.h:768 [inline] xfrm_state_find+0x18c6/0x2f20 net/xfrm/xfrm_state.c:1202 xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2417 [inline] xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2462 [inline] xfrm_resolve_and_create_bundle+0x774/0x3110 net/xfrm/xfrm_policy.c:2757 xfrm_lookup_with_ifid+0x31a/0x2420 net/xfrm/xfrm_policy.c:3091 xfrm_lookup net/xfrm/xfrm_policy.c:3220 [inline] xfrm_lookup_route+0x38/0x1a0 net/xfrm/xfrm_policy.c:3231 udp_sendmsg+0x1a84/0x2e80 net/ipv4/udp.c:1245 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2436 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2490 __sys_sendmmsg+0x2bf/0x560 net/socket.c:2576 __do_sys_sendmmsg net/socket.c:2605 [inline] __se_sys_sendmmsg net/socket.c:2602 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2602 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:0x7fc8faf1e169 RSP: 002b:00007fc8f8d45038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007fc8fb137160 RCX: 00007fc8faf1e169 RDX: 000000000800001d RSI: 0000400000007fc0 RDI: 000000000000000f RBP: 00007fc8faf9f2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc8fb137160 R15: 00007ffd22a51cd8 rcu: rcu_preempt kthread starved for 9790 jiffies! g9233 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:26712 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5029 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6375 schedule+0x11b/0x1f0 kernel/sched/core.c:6458 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 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_safe_halt drivers/acpi/processor_idle.c:108 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:562 sched: RT throttling activated