rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=dbc4/1/0x4000000000000000 softirq=23151/23153 fqs=44 rcu: (detected by 1, t=10506 jiffies, g=34573, q=593 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8543 Comm: syz-executor.0 Not tainted 6.9.0-rc4-next-20240418-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:check_preemption_disabled+0x49/0x120 lib/smp_processor_id.c:55 Code: 74 65 8b 05 81 8e 7d 74 a9 ff ff ff 7f 74 26 65 48 8b 04 25 28 00 00 00 48 3b 44 24 08 0f 85 ce 00 00 00 89 d8 48 83 c4 10 5b <41> 5c 41 5e 41 5f c3 cc cc cc cc 48 c7 04 24 00 00 00 00 9c 8f 04 RSP: 0018:ffffc90000007b20 EFLAGS: 00000086 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8172b284 RDX: 0000000000000000 RSI: ffffffff8c1f8ba0 RDI: ffffffff8c1f8b60 RBP: ffffc90000007ca8 R08: ffffffff8fabdf2f R09: 1ffffffff1f57be5 R10: dffffc0000000000 R11: fffffbfff1f57be6 R12: 1ffff92000000f74 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007fa4a08276c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa49f620000 CR3: 000000006a1b2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] rcu_is_watching+0x15/0xb0 kernel/rcu/tree.c:725 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0xe3/0x550 kernel/locking/lockdep.c:5725 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0xd3/0x120 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1696 [inline] __hrtimer_run_queues+0x67a/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+0x110/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_switch+0xe/0x120 kernel/kcov.c:321 Code: 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 41 56 41 54 53 4c 8b 16 <48> 8b 46 08 48 83 c0 f8 48 c1 c0 3d 48 83 f8 02 7f 1f 48 85 c0 74 RSP: 0018:ffffc9000313f810 EFLAGS: 00000246 RAX: 1ffff92000627f42 RBX: 00007fa49ea00fff RCX: ffff88805f008000 RDX: 0000000000000000 RSI: ffffffff8f937720 RDI: 0000000000000001 RBP: ffffc9000313fa10 R08: ffffffff8b7aeb9c R09: ffffffff8b7aebf9 R10: 0000000000000004 R11: ffff88805f008000 R12: 0000000000000001 R13: dffffc0000000000 R14: 0000000000000003 R15: ffff88807cd9f800 ma_slots lib/maple_tree.c:760 [inline] mas_next_slot+0xa29/0xf90 lib/maple_tree.c:4688 mas_find+0x950/0xbb0 lib/maple_tree.c:6068 vma_next include/linux/mm.h:981 [inline] acct_collect+0x23e/0x830 kernel/acct.c:564 do_exit+0x92a/0x27e0 kernel/exit.c:856 do_group_exit+0x207/0x2c0 kernel/exit.c:1026 get_signal+0x16a1/0x1740 kernel/signal.c:2911 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 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:0x7fa49fa7dea9 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:00007fa4a08270c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffea RBX: 00007fa49fbac050 RCX: 00007fa49fa7dea9 RDX: 0000000000000000 RSI: 0000000020000680 RDI: 0000000000000000 RBP: 00007fa49faca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa49fbac050 R15: 00007ffe5fb7cb18 rcu: rcu_preempt kthread starved for 10285 jiffies! g34573 f0x0 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:26320 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:2030 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2232 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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: CPU: 1 PID: 8554 Comm: syz-executor.4 Not tainted 6.9.0-rc4-next-20240418-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1894/0x2a00 kernel/smp.c:855 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 d5 f0 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 80 ec 0b 00 eb 38 f3 90 <42> 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 64 ec RSP: 0018:ffffc9000304f280 EFLAGS: 00000246 RAX: ffffffff818a712c RBX: 1ffff11017288c89 RCX: 0000000000040000 RDX: ffffc9001132d000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000304f480 R08: ffffffff818a70fb R09: 1ffffffff25ef6b4 R10: dffffc0000000000 R11: fffffbfff25ef6b5 R12: dffffc0000000000 R13: ffff8880b9446448 R14: ffff8880b953f900 R15: 0000000000000000 FS: 00007effa4bff6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c521000 CR3: 000000002c2e0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2069 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2279 text_poke_bp+0xb0/0x100 arch/x86/kernel/alternative.c:2506 __static_call_transform+0x51a/0x810 arch/x86/kernel/static_call.c:111 arch_static_call_transform+0x141/0x380 arch/x86/kernel/static_call.c:163 __static_call_update+0xd8/0x5e0 kernel/static_call_inline.c:147 bpf_dispatcher_update kernel/bpf/dispatcher.c:126 [inline] bpf_dispatcher_change_prog+0xe5c/0xf10 kernel/bpf/dispatcher.c:167 bpf_prog_test_run_xdp+0x75c/0x11b0 net/bpf/test_run.c:1272 bpf_prog_test_run+0x33a/0x3b0 kernel/bpf/syscall.c:4269 __sys_bpf+0x48d/0x810 kernel/bpf/syscall.c:5682 __do_sys_bpf kernel/bpf/syscall.c:5771 [inline] __se_sys_bpf kernel/bpf/syscall.c:5769 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5769 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:0x7effa507dea9 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:00007effa4bff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007effa51abf80 RCX: 00007effa507dea9 RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a RBP: 00007effa50ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007effa51abf80 R15: 00007ffcffbeedc8