rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 1, t=10502 jiffies, g=5781, q=60) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4294953708-4294943206), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g5781 f0x2 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:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6780 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:kasan_check_range+0x1/0x290 mm/kasan/generic.c:188 Code: 01 c6 48 89 c7 e8 7f 65 54 08 31 c0 c3 0f 0b b8 ea ff ff ff c3 0f 0b b8 ea ff ff ff c3 cc cc cc cc cc cc cc cc cc cc cc cc 55 <41> 57 41 56 53 b0 01 48 85 f6 0f 84 9a 01 00 00 48 89 fd 48 01 f5 RSP: 0018:ffffc90000d47b60 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 1ffff11027fc4770 RCX: ffffffff8a263012 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88813fe23b80 RBP: ffffc90000d47c90 R08: ffffffff8186dcf0 R09: ffffed1017347469 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88813fe23b80 R14: 0000000000000000 R15: 00000000ffffa1e7 instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] test_ti_thread_flag include/linux/thread_info.h:118 [inline] need_resched include/linux/sched.h:2113 [inline] schedule+0x132/0x1f0 kernel/sched/core.c:6461 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:300 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: 3808 Comm: syz-executor.3 Not tainted 5.15.160-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:cgroup_id include/linux/cgroup.h:313 [inline] RIP: 0010:____bpf_get_current_cgroup_id kernel/bpf/helpers.c:371 [inline] RIP: 0010:bpf_get_current_cgroup_id+0x1c6/0x300 kernel/bpf/helpers.c:364 Code: 78 4c 89 f8 48 c1 e8 03 80 3c 28 00 74 08 4c 89 ff e8 9e b5 33 00 41 be 48 01 00 00 4d 03 37 4c 89 f0 48 c1 e8 03 80 3c 28 00 <74> 08 4c 89 f7 e8 80 b5 33 00 bb 90 00 00 00 49 03 1e 48 89 d8 48 RSP: 0018:ffffc900034b7488 EFLAGS: 00000046 RAX: 1ffff1100f7a9829 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc900044cf000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: dffffc0000000000 R08: ffffffff81967464 R09: fffffbfff1f7f019 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc9000113f030 R13: dffffc0000000000 R14: ffff88807bd4c148 R15: ffff88807474f878 FS: 00007f7d8a43b6c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7d8a43ad80 CR3: 000000005a8e8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bpf_prog_9fbc3d1d47c9b36c+0x1f/0xe0 bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run1+0x168/0x2f0 kernel/trace/bpf_trace.c:1916 trace_rcu_utilization+0x181/0x1a0 include/trace/events/rcu.h:27 rcu_note_context_switch+0xcd/0xeb0 kernel/rcu/tree_plugin.h:314 __schedule+0x2e8/0x45b0 kernel/sched/core.c:6273 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 freezable_schedule include/linux/freezer.h:172 [inline] futex_wait_queue_me+0x25b/0x480 kernel/futex/core.c:2863 futex_wait+0x2f8/0x740 kernel/futex/core.c:2964 do_futex+0x1414/0x1810 kernel/futex/core.c:3982 __do_sys_futex kernel/futex/core.c:4059 [inline] __se_sys_futex+0x407/0x490 kernel/futex/core.c:4040 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:0x7f7d8b8e2f69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7d8a43b178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007f7d8ba1a058 RCX: 00007f7d8b8e2f69 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f7d8ba1a058 RBP: 00007f7d8ba1a050 R08: 00007f7d8a43b6c0 R09: 00007f7d8a43b6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7d8ba1a05c R13: 000000000000006e R14: 00007ffeecfd7450 R15: 00007ffeecfd7538