rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 0, t=10502 jiffies, g=36565, q=97 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4294985695-4294975193), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g36565 f0x2 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:26448 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 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:preempt_count_add+0x0/0x190 kernel/sched/core.c:5860 Code: c1 03 38 c1 7c 97 48 8b 3c 24 e8 3b 4d 96 00 eb 8c e9 ee fe ff ff 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 41 57 41 56 53 89 fb 48 c7 c0 e0 16 7a 94 48 c1 e8 03 RSP: 0018:ffffc90000167b60 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 1ffff11002f59000 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8bcabb80 RDI: 0000000000000001 RBP: ffff888017ac8000 R08: ffffffff8fad476f R09: 1ffffffff1f5a8ed R10: dffffc0000000000 R11: fffffbfff1f5a8ee R12: dffffc0000000000 R13: 1ffff9200002cf74 R14: ffffffff8b8f99a0 R15: ffff888017ac9278 __schedule_loop kernel/sched/core.c:6821 [inline] schedule+0x144/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: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 99 Comm: kworker/1:1H Not tainted 6.10.0-rc2-syzkaller-00097-g2df0193e62cf #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: 0x0 (kblockd) RIP: 0010:__lock_acquire+0xc1d/0x1fd0 kernel/locking/lockdep.c:5107 Code: 00 0f 84 d0 04 00 00 4c 89 ef 48 89 ee ba 08 00 00 00 e8 b6 5f 00 00 85 c0 0f 84 64 05 00 00 48 c7 c0 e0 16 7a 94 48 c1 e8 03 <48> bf 00 00 00 00 00 fc ff df 0f b6 04 38 84 c0 0f 85 aa 0c 00 00 RSP: 0018:ffffc900015f7670 EFLAGS: 00000012 RAX: 1ffffffff28f42dc RBX: ffffffff92c92426 RCX: ffffffff8172d78a RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92fa9580 RBP: ffff88801a3e4708 R08: ffffffff92fa9587 R09: 1ffffffff25f52b0 R10: dffffc0000000000 R11: fffffbfff25f52b1 R12: 0000000000000000 R13: ffff88801a3e3c00 R14: 1ffff1100347c8e5 R15: ffff88801a3e4728 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33037000 CR3: 000000005020e000 CR4: 0000000000350ef0 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 rcu_lock_acquire include/linux/rcupdate.h:329 [inline] rcu_read_lock include/linux/rcupdate.h:781 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2402 [inline] bpf_trace_run4+0x261/0x590 kernel/trace/bpf_trace.c:2446 __traceiter_sched_switch+0x9a/0xd0 include/trace/events/sched.h:222 trace_sched_switch include/trace/events/sched.h:222 [inline] __schedule+0x2587/0x4a20 kernel/sched/core.c:6742 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: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:2110 [inline] RIP: 0010:__schedule_loop kernel/sched/core.c:6824 [inline] RIP: 0010:schedule+0x15a/0x320 kernel/sched/core.c:6837 Code: 48 f7 45 00 08 00 00 00 74 2c bf 01 00 00 00 e8 dc fe d5 f5 31 ff e8 85 b4 ff ff bf 01 00 00 00 e8 6b 00 d6 f5 42 80 3c 23 00 <74> d4 48 89 ef e8 0c 4c 6c f6 eb ca 4c 8d 75 2c 4d 89 f5 49 c1 ed RSP: 0018:ffffc900015f7d98 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 1ffff1100347c780 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8bcabb80 RDI: 0000000000000001 RBP: ffff88801a3e3c00 R08: ffffffff8fad476f R09: 1ffffffff1f5a8ed R10: dffffc0000000000 R11: fffffbfff1f5a8ee R12: dffffc0000000000 R13: ffff8880b953e360 R14: ffffffff8b8f99a0 R15: ffff88801a3e4e78 worker_thread+0xa2c/0xd70 kernel/workqueue.c:3408 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