rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=a574/1/0x4000000000000000 softirq=120380/120381 fqs=131 rcu: (detected by 1, t=10502 jiffies, g=219969, q=750 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4156 Comm: modprobe Not tainted 6.7.0-rc6-syzkaller-00010-g2cf4f94d8e86 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:19 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:67 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:103 [inline] RIP: 0010:__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] RIP: 0010:_raw_spin_lock_irqsave+0x7f/0x120 kernel/locking/spinlock.c:162 Code: e5 49 c1 ed 03 48 b8 f1 f1 f1 f1 00 f3 f3 f3 4b 89 44 3d 00 4c 89 e3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 e7 e8 51 73 c8 f6 <48> c7 44 24 20 00 00 00 00 9c 8f 44 24 20 42 80 3c 3b 00 74 08 4c RSP: 0018:ffffc90000007ba0 EFLAGS: 00000046 RAX: f3f3f300f1f1f1f1 RBX: 1ffff92000000f78 RCX: 0000000000019650 RDX: 0000000080010001 RSI: ffffffff8b6c9940 RDI: ffffffff92861d58 RBP: ffffc90000007c30 R08: ffffffff817d4800 R09: 0000000000000000 R10: ffff88801fa92340 R11: ffffed1003f5246b R12: ffffc90000007bc0 R13: 1ffff92000000f74 R14: ffffffff92861d58 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc42347ff8 CR3: 00000000726bb000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_object_deactivate+0xc5/0x3c0 lib/debugobjects.c:783 debug_hrtimer_deactivate kernel/time/hrtimer.c:427 [inline] debug_deactivate+0x1b/0x1f0 kernel/time/hrtimer.c:483 __run_hrtimer kernel/time/hrtimer.c:1656 [inline] __hrtimer_run_queues+0x321/0xd20 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline] __sysvec_apic_timer_interrupt+0x104/0x3a0 arch/x86/kernel/apic/apic.c:1082 sysvec_apic_timer_interrupt+0x92/0xb0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:stack_trace_consume_entry+0x5/0x280 kernel/stacktrace.c:83 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 7b ff ff ff 48 89 df e8 8c 95 6e 00 e9 6e ff ff ff e8 22 96 9b 09 66 90 f3 0f 1e fa 55 <41> 57 41 56 41 55 41 54 53 48 83 ec 18 48 89 fb 48 ba 00 00 00 00 RSP: 0018:ffffc90015a171b0 EFLAGS: 00000286 RAX: 0000000000000000 RBX: ffffffff81c6ce17 RCX: ffff888021b39dc0 RDX: 0000000000000000 RSI: ffffffff81c6ce17 RDI: ffffc90015a172a0 RBP: ffffc90015a17250 R08: ffffffff8134e52c R09: ffffffff813dc790 R10: 0000000000000003 R11: ffff888021b39dc0 R12: ffff888021b39dc0 R13: ffffffff817bd6b0 R14: ffffc90015a172a0 R15: ffffc90015a171c0 arch_stack_walk+0x13a/0x1a0 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x117/0x1c0 kernel/stacktrace.c:122 save_stack+0xfa/0x1e0 mm/page_owner.c:128 __reset_page_owner+0x4f/0x190 mm/page_owner.c:149 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1137 [inline] free_unref_page_prepare+0x931/0xa60 mm/page_alloc.c:2347 free_unref_page_list+0x5a0/0x840 mm/page_alloc.c:2533 release_pages+0x2117/0x2400 mm/swap.c:1042 tlb_batch_pages_flush mm/mmu_gather.c:98 [inline] tlb_flush_mmu_free mm/mmu_gather.c:293 [inline] tlb_flush_mmu+0x34c/0x4e0 mm/mmu_gather.c:300 tlb_finish_mmu+0xd4/0x1f0 mm/mmu_gather.c:392 shift_arg_pages fs/exec.c:738 [inline] setup_arg_pages+0xded/0x1090 fs/exec.c:837 load_elf_binary+0xb97/0x2590 fs/binfmt_elf.c:1013 search_binary_handler fs/exec.c:1737 [inline] exec_binprm fs/exec.c:1779 [inline] bprm_execve+0xa0f/0x18a0 fs/exec.c:1854 kernel_execve+0x8ec/0xa20 fs/exec.c:2022 call_usermodehelper_exec_async+0x233/0x370 kernel/umh.c:110 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 rcu: rcu_preempt kthread starved for 10240 jiffies! g219969 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:25168 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 schedule_timeout+0x1bd/0x300 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x30a/0x1500 kernel/rcu/tree.c:1631 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1830 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 4190 Comm: syz-executor.0 Not tainted 6.7.0-rc6-syzkaller-00010-g2cf4f94d8e86 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:__sanitizer_cov_trace_pc+0x5c/0x60 kernel/kcov.c:225 Code: d8 15 00 00 83 fa 02 75 21 48 8b 91 e0 15 00 00 48 8b 32 48 8d 7e 01 8b 89 dc 15 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 08 0f 1f 00 f3 0f 1e fa 4c 8b 04 24 65 48 8b 15 30 51 75 7e 65 8b RSP: 0018:ffffc900159c72d8 EFLAGS: 00000246 RAX: ffffffff8182e39a RBX: 1ffff110173087c5 RCX: 0000000000040000 RDX: ffffc90004819000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc900159c74e0 R08: ffffffff8182e369 R09: 1ffffffff21bae6c R10: dffffc0000000000 R11: fffffbfff21bae6d R12: dffffc0000000000 R13: ffff8880b9843e28 R14: ffff8880b993d480 R15: 0000000000000000 FS: 00007fcdb9b686c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcdb8f9d988 CR3: 000000006e6e1000 CR4: 00000000003506f0 DR0: 000000000000d8dd DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: csd_lock_wait kernel/smp.c:311 [inline] smp_call_function_many_cond+0x184a/0x2940 kernel/smp.c:855 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:2006 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2216 text_poke_flush arch/x86/kernel/alternative.c:2407 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2414 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x132/0x260 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 __sched_core_enable kernel/sched/core.c:397 [inline] sched_core_get+0xb3/0x180 kernel/sched/core.c:421 sched_core_alloc_cookie+0x71/0xa0 kernel/sched/core_sched.c:18 sched_core_share_pid+0x297/0x7d0 kernel/sched/core_sched.c:185 __do_sys_prctl kernel/sys.c:2703 [inline] __se_sys_prctl+0x50e/0x3a20 kernel/sys.c:2431 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fcdb8e7cbe9 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:00007fcdb9b680c8 EFLAGS: 00000246 ORIG_RAX: 000000000000009d RAX: ffffffffffffffda RBX: 00007fcdb8f9bf80 RCX: 00007fcdb8e7cbe9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 000000000000003e RBP: 00007fcdb8ec847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fcdb8f9bf80 R15: 00007ffdd4a58608