rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P11297/1:b..l rcu: (detected by 1, t=10503 jiffies, g=57213, q=334 ncpus=2) task:syz-executor.2 state:R running task stack:23696 pid:11297 tgid:11296 ppid:9677 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7068 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:constant_test_bit arch/x86/include/asm/bitops.h:206 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:238 [inline] RIP: 0010:tif_need_resched include/linux/thread_info.h:184 [inline] RIP: 0010:need_resched include/linux/sched.h:2106 [inline] RIP: 0010:bpf_test_timer_continue+0x10b/0x350 net/bpf/test_run.c:81 Code: 48 83 e5 04 0f 85 d9 00 00 00 43 80 3c 3c 00 74 08 48 89 df e8 56 a2 67 f8 48 8b 1b 48 89 de 48 83 e6 08 31 ff e8 95 fb 02 f8 <48> 83 e3 08 0f 85 f0 00 00 00 e8 a6 f6 02 f8 e9 51 01 00 00 e8 9c RSP: 0018:ffffc900032cf958 EFLAGS: 00000297 RAX: 0000000000000002 RBX: 0000000000004002 RCX: ffff888022bc0000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff899311cb R09: 1ffff11004578000 R10: dffffc0000000000 R11: ffffed1004578001 R12: 1ffff11004578000 R13: ffffc900032cfae0 R14: 1ffff92000659f5c R15: dffffc0000000000 bpf_test_run+0x459/0x900 net/bpf/test_run.c:427 bpf_prog_test_run_skb+0xafa/0x13a0 net/bpf/test_run.c:1058 bpf_prog_test_run+0x33c/0x3b0 kernel/bpf/syscall.c:4269 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5678 __do_sys_bpf kernel/bpf/syscall.c:5767 [inline] __se_sys_bpf kernel/bpf/syscall.c:5765 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5765 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f78d907dd69 RSP: 002b:00007f78d9d390c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f78d91abf80 RCX: 00007f78d907dd69 RDX: 0000000000000050 RSI: 0000000020000900 RDI: 000000000000000a RBP: 00007f78d90ca49e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78d91abf80 R15: 00007ffdd478f7d8 rcu: rcu_preempt kthread starved for 10530 jiffies! g57213 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:26256 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2582 rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:1663 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1862 kthread+0x2f2/0x390 kernel/kthread.c:388 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: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 11290 Comm: syz-executor.0 Not tainted 6.9.0-rc7-syzkaller-00012-gdccb07f2914c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__rcu_read_unlock+0xe/0x110 kernel/rcu/tree_plugin.h:419 Code: 4c 89 ff e8 c4 80 7d 00 eb a0 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 41 57 41 56 41 55 41 54 53 <49> bc 00 00 00 00 00 fc ff df 65 4c 8b 34 25 c0 d3 03 00 4d 8d ae RSP: 0018:ffffc90000007be8 EFLAGS: 00000046 RAX: ffffffff815cafe3 RBX: ffffffff815cab21 RCX: ffff888056f13c00 RDX: 0000000080010001 RSI: ffffffff8c1f80c0 RDI: ffffffff8c1f8080 RBP: ffffc90000007ce8 R08: ffffffff815cafd1 R09: 1ffff11004acbcb8 R10: dffffc0000000000 R11: ffffed1004acbcb9 R12: 1ffff92000000f8c R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888056f14510 FS: 00005555755bb480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6d4e4d56c6 CR3: 000000007d9c2000 CR4: 0000000000350ef0 Call Trace: rcu_read_unlock include/linux/rcupdate.h:813 [inline] send_sigqueue+0x644/0x760 kernel/signal.c:2028 posix_timer_event kernel/time/posix-timers.c:298 [inline] posix_timer_fn+0x18a/0x3a0 kernel/time/posix-timers.c:324 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x5a7/0xd50 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x112/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200 Code: 89 fb e8 23 00 00 00 48 8b 3d 4c f9 3e 0c 48 89 de 5b e9 23 2c 59 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 8b 04 24 65 48 8b 0c 25 c0 d3 03 00 65 8b 15 30 cb RSP: 0018:ffffc9000320fdb8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00000000ffffffff RCX: ffff888056f13c00 RDX: 1ffff92000641fa4 RSI: 00000000ffffffff RDI: 00000000ffffffff RBP: ffffc9000320fec8 R08: ffffffff8132b63a R09: 1ffffffff1f51ef5 R10: dffffc0000000000 R11: fffffbfff1f51ef6 R12: ffff888056f13c00 R13: ffffc9000320ff58 R14: 1ffff92000641fbc R15: 00000000ffffffff handle_signal arch/x86/kernel/signal.c:237 [inline] arch_do_signal_or_restart+0xe4/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+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd1a66a9175 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 f6 b9 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 4f ba ff ff 48 8b 04 24 48 83 c4 28 f7 d8 RSP: 002b:00007ffeeb105d50 EFLAGS: 00000293 RAX: fffffffffffffffc RBX: 00007fd1a67abf80 RCX: 00007fd1a66a9175 RDX: 00007ffeeb105d90 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fd1a67ad980 R08: 0000000000000000 R09: 00007fd1a73050b0 R10: 0000000000000000 R11: 0000000000000293 R12: 00000000000685e2 R13: 00007fd1a67abf8c R14: 00007ffeeb105ea0 R15: 0000000000000032