rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P12789/1:b..l rcu: (detected by 0, t=10503 jiffies, g=61237, q=76 ncpus=2) task:syz-executor.5 state:R running task stack:27120 pid:12789 ppid:5051 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6709 preempt_schedule_common+0x45/0xb0 kernel/sched/core.c:6878 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45 __local_bh_enable_ip+0x10d/0x130 kernel/softirq.c:388 local_bh_enable include/linux/bottom_half.h:33 [inline] bpf_test_run+0x2fc/0x9f0 net/bpf/test_run.c:423 bpf_prog_test_run_skb+0xb60/0x1e10 net/bpf/test_run.c:1032 bpf_prog_test_run kernel/bpf/syscall.c:3770 [inline] __sys_bpf+0x13bf/0x5450 kernel/bpf/syscall.c:5155 __do_sys_bpf kernel/bpf/syscall.c:5241 [inline] __se_sys_bpf kernel/bpf/syscall.c:5239 [inline] __x64_sys_bpf+0x79/0xc0 kernel/bpf/syscall.c:5239 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb6fc48c389 RSP: 002b:00007fb6fd123168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fb6fc5abf80 RCX: 00007fb6fc48c389 RDX: 000000000000002c RSI: 0000000020000080 RDI: 000000000000000a RBP: 00007fb6fc4d7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc05c9c4bf R14: 00007fb6fd123300 R15: 0000000000022000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10500 jiffies! g61237 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=43432 rcu: rcu_preempt kthread starved for 10501 jiffies! g61237 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:28360 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6709 schedule+0xde/0x1a0 kernel/sched/core.c:6785 schedule_timeout+0x14e/0x2b0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1808 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 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: 12788 Comm: syz-executor.4 Not tainted 6.5.0-rc1-next-20230710-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:lock_acquire+0x4d/0x520 kernel/locking/lockdep.c:5729 Code: 44 89 c5 53 48 81 ec b0 00 00 00 48 8d 5c 24 10 4c 89 0c 24 48 c7 44 24 10 b3 8a b5 41 48 c1 eb 03 48 c7 44 24 18 bb 86 27 8c <48> 01 d8 48 c7 44 24 20 30 7f 66 81 c7 00 f1 f1 f1 f1 c7 40 04 f1 RSP: 0018:ffffc900001e0c90 EFLAGS: 00000802 RAX: dffffc0000000000 RBX: 1ffff9200003c194 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88807a836300 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88807a836300 R15: 0000000000000000 FS: 00007f905cdfd700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f905c1a8000 CR3: 000000005202a000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] advance_sched+0xd2/0xd20 net/sched/sch_taprio.c:935 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x604/0xc00 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1115 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:finish_task_switch.isra.0+0x2bf/0xc70 kernel/sched/core.c:5252 Code: 8b 3a 4c 89 e7 48 c7 02 00 00 00 00 ff d1 4d 85 ff 75 bf 4c 89 e7 e8 60 f8 ff ff e8 9b 77 32 00 fb 65 48 8b 1c 25 80 b9 03 00 <48> 8d bb e0 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 RSP: 0018:ffffc90012bef920 EFLAGS: 00000202 RAX: 00000000000000d3 RBX: ffff888023a79dc0 RCX: 1ffffffff1d550e9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90012bef968 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8eaab8d7 R11: 0000000000000001 R12: ffff8880b993c3c0 R13: ffff888076875940 R14: ffff888027c5a600 R15: ffff8880b993ce00 context_switch kernel/sched/core.c:5383 [inline] __schedule+0xca2/0x5880 kernel/sched/core.c:6709 preempt_schedule_common+0x45/0xb0 kernel/sched/core.c:6878 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45 try_to_wake_up+0x8f7/0x1e00 kernel/sched/core.c:4350 wake_up_process kernel/sched/core.c:4478 [inline] wake_up_q+0x82/0xf0 kernel/sched/core.c:1029 futex_wake+0x3ed/0x490 kernel/futex/waitwake.c:184 do_futex+0x268/0x360 kernel/futex/syscalls.c:111 __do_sys_futex kernel/futex/syscalls.c:183 [inline] __se_sys_futex kernel/futex/syscalls.c:164 [inline] __x64_sys_futex+0x1ca/0x4d0 kernel/futex/syscalls.c:164 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f905c08c389 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f905cdfd218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007f905c1abf88 RCX: 00007f905c08c389 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f905c1abf8c RBP: 00007f905c1abf80 R08: 00007ffc6a102080 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000246 R12: 00007f905c1abf8c R13: 00007ffc6a01396f R14: 00007f905cdfd300 R15: 0000000000022000