rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=c544/1/0x4000000000000000 softirq=62824/62825 fqs=1 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P10166/1:b..l P10053/1:b..l P11042/1:b..l P11037/1:b..l rcu: (detected by 0, t=10502 jiffies, g=62781, q=317 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 8765 Comm: syz.4.1327 Not tainted 6.11.0-syzkaller-07337-g2004cef11ea0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] RIP: 0010:_raw_spin_lock_irqsave+0xbe/0x120 kernel/locking/spinlock.c:162 Code: 4c 89 e7 e8 84 02 33 f6 4c 8b 64 24 20 fa 41 f7 c4 00 02 00 00 74 05 e8 80 df d2 f5 bf 01 00 00 00 e8 f6 d0 99 f5 49 8d 7e 18 <31> f6 31 d2 31 c9 41 b8 01 00 00 00 45 31 c9 ff 75 08 e8 6b e3 a6 RSP: 0018:ffffc90000a18ba0 EFLAGS: 00000002 RAX: 0000000000010002 RBX: 1ffff92000143178 RCX: ffffffff9a3a6903 RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffffff9a585f68 RBP: ffffc90000a18c30 R08: ffffc90000a18c8f R09: ffffc90000a18c80 R10: dffffc0000000000 R11: fffff52000143192 R12: 0000000000000046 R13: 1ffff92000143174 R14: ffffffff9a585f50 R15: dffffc0000000000 FS: 00007f35506df6c0(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc3a196fd8 CR3: 000000002ff28000 CR4: 0000000000350ef0 Call Trace: debug_object_deactivate+0x158/0x390 lib/debugobjects.c:763 debug_hrtimer_deactivate kernel/time/hrtimer.c:428 [inline] debug_deactivate+0x1b/0x220 kernel/time/hrtimer.c:484 __run_hrtimer kernel/time/hrtimer.c:1659 [inline] __hrtimer_run_queues+0x305/0xd50 kernel/time/hrtimer.c:1755 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1817 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1026 [inline] __sysvec_apic_timer_interrupt+0x112/0x3f0 arch/x86/kernel/apic/apic.c:1043 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1037 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_release+0x658/0xa30 kernel/locking/lockdep.c:5847 Code: 3c 3b 00 74 08 4c 89 f7 e8 95 f1 8b 00 f6 84 24 91 00 00 00 02 75 77 41 f7 c5 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 27 00 00 00 00 4b c7 44 27 08 00 00 00 00 65 48 8b 04 25 RSP: 0018:ffffc9001d02f940 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92003a05f3a RCX: ffffc9001d02f903 RDX: 0000000000000000 RSI: ffffffff8c0ae940 RDI: ffffffff8c60dd00 RBP: ffffc9001d02fa70 R08: ffffffff901c5aaf R09: 1ffffffff2038b55 R10: dffffc0000000000 R11: fffffbfff2038b56 R12: 1ffff92003a05f34 R13: 0000000000000246 R14: ffffc9001d02f9d0 R15: dffffc0000000000 __mutex_unlock_slowpath+0xe2/0x750 kernel/locking/mutex.c:912 io_cqring_do_overflow_flush io_uring/io_uring.c:657 [inline] io_cqring_wait io_uring/io_uring.c:2602 [inline] __do_sys_io_uring_enter io_uring/io_uring.c:3369 [inline] __se_sys_io_uring_enter+0x201e/0x2bf0 io_uring/io_uring.c:3261 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f354f97def9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f35506df038 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f354fb35f80 RCX: 00007f354f97def9 RDX: 0000000000000003 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f354f9f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f354fb35f80 R15: 00007ffff0d6cca8 task:syz.0.1981 state:R running task stack:24672 pid:11037 tgid:11037 ppid:10610 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5264 [inline] __schedule+0x1893/0x4b50 kernel/sched/core.c:6607 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6929 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:filter_irq_stacks+0x4f/0xa0 kernel/stacktrace.c:397 Code: e0 7d c9 8b 48 89 fb eb 0c 49 ff c7 48 83 c3 08 4d 39 fc 74 4f 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 <74> 08 48 89 df e8 a7 bc 7b 00 4b 8b 04 fe 48 39 e8 72 0c 48 c7 c1 RSP: 0018:ffffc90004f9f308 EFLAGS: 00000246 RAX: 1ffff920009f3e83 RBX: ffffc90004f9f418 RCX: dffffc0000000000 RDX: 0000000000002800 RSI: 000000000000000e RDI: ffffc90004f9f3e0 RBP: ffffffff8be00230 R08: ffffffff901c5aaf R09: 1ffffffff2038b55 R10: dffffc0000000000 R11: fffffbfff2038b56 R12: 000000000000000e R13: ffffffff8bc97de0 R14: ffffc90004f9f3e0 R15: 0000000000000007 stack_depot_save_flags+0x29/0x830 lib/stackdepot.c:609 save_stack+0x109/0x1f0 mm/page_owner.c:157 __reset_page_owner+0x76/0x430 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_folios+0x103a/0x1b00 mm/page_alloc.c:2667 folios_put_refs+0x76e/0x860 mm/swap.c:1039 free_pages_and_swap_cache+0x2ea/0x690 mm/swap_state.c:332 __tlb_batch_free_encoded_pages mm/mmu_gather.c:136 [inline] tlb_batch_pages_flush mm/mmu_gather.c:149 [inline] tlb_flush_mmu_free mm/mmu_gather.c:366 [inline] tlb_flush_mmu+0x3a3/0x680 mm/mmu_gather.c:373 tlb_finish_mmu+0xd4/0x200 mm/mmu_gather.c:465 exit_mmap+0x44f/0xc80 mm/mmap.c:3425 __mmput+0x115/0x390 kernel/fork.c:1345 exit_mm+0x220/0x310 kernel/exit.c:571 do_exit+0x9b2/0x27f0 kernel/exit.c:869 do_group_exit+0x207/0x2c0 kernel/exit.c:1031 __do_sys_exit_group kernel/exit.c:1042 [inline] __se_sys_exit_group kernel/exit.c:1040 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1040 x64_sys_call+0x2634/0x2640 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f92f9f7def9 RSP: 002b:00007fff55d436f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f92f9f7def9 RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fff55d4374c R08: 00007fff55d437df R09: 000000000008bff8 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000032 R13: 000000000008bff8 R14: 000000000008bfc4 R15: 00007fff55d437a0 task:syz.5.1984 state:R running task stack:24672 pid:11042 tgid:11042 ppid:10092 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5264 [inline] __schedule+0x1893/0x4b50 kernel/sched/core.c:6607 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6786 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6810 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] zap_pte_range mm/memory.c:1688 [inline] zap_pmd_range mm/memory.c:1736 [inline] zap_pud_range mm/memory.c:1765 [inline] zap_p4d_range mm/memory.c:1786 [inline] unmap_page_range+0x3818/0x42c0 mm/memory.c:1807 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1897 exit_mmap+0x264/0xc80 mm/mmap.c:3412 __mmput+0x115/0x390 kernel/fork.c:1345 exit_mm+0x220/0x310 kernel/exit.c:571 do_exit+0x9b2/0x27f0 kernel/exit.c:869 do_group_exit+0x207/0x2c0 kernel/exit.c:1031 __do_sys_exit_group kernel/exit.c:1042 [inline] __se_sys_exit_group kernel/exit.c:1040 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1040 x64_sys_call+0x2634/0x2640 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1faa57def9 RSP: 002b:00007ffd12947928 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1faa57def9 RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffd1294797c R08: 00007ffd12947a0f R09: 000000000008c047 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000032 R13: 000000000008c047 R14: 000000000008baa3 R15: 00007ffd129479d0 task:syz-executor state:R running task stack:21168 pid:10053 tgid:10053 ppid:10050 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5264 [inline] __schedule+0x1893/0x4b50 kernel/sched/core.c:6607 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6929 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:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5826 Code: 2b 00 74 08 4c 89 f7 e8 9a 1c 8c 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc90009747600 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920012e8ecc RCX: c3e832e7d140a100 RDX: dffffc0000000000 RSI: ffffffff8c0ae940 RDI: ffffffff8c60dd00 RBP: ffffc90009747760 R08: ffffffff9424f787 R09: 1ffffffff2849ef0 R10: dffffc0000000000 R11: fffffbfff2849ef1 R12: 1ffff920012e8ec8 R13: dffffc0000000000 R14: ffffc90009747660 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] percpu_ref_get_many+0x36/0x140 include/linux/percpu-refcount.h:202 percpu_ref_get include/linux/percpu-refcount.h:222 [inline] obj_cgroup_get include/linux/memcontrol.h:791 [inline] __memcg_slab_post_alloc_hook+0x452/0x7e0 mm/memcontrol.c:3025 memcg_slab_post_alloc_hook mm/slub.c:2157 [inline] slab_post_alloc_hook mm/slub.c:4096 [inline] slab_alloc_node mm/slub.c:4135 [inline] kmem_cache_alloc_noprof+0x1de/0x2a0 mm/slub.c:4142 vm_area_dup+0x27/0x290 kernel/fork.c:486 dup_mmap kernel/fork.c:695 [inline] dup_mm kernel/fork.c:1672 [inline] copy_mm+0xc7b/0x1f30 kernel/fork.c:1721 copy_process+0x1854/0x3d80 kernel/fork.c:2373 kernel_clone+0x226/0x8f0 kernel/fork.c:2780 __do_sys_clone kernel/fork.c:2923 [inline] __se_sys_clone kernel/fork.c:2907 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:2907 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1d8a574753 RSP: 002b:00007ffd6bf1b1b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1d8a574753 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 000055556343a7d0 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000008c171 R14: 000000000008c0e6 R15: 00007ffd6bf1b340 task:syz-executor state:R running task stack:21488 pid:10166 tgid:10166 ppid:10162 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5264 [inline] __schedule+0x1893/0x4b50 kernel/sched/core.c:6607 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6786 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6810 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] copy_pte_range mm/memory.c:1191 [inline] copy_pmd_range+0x7ad5/0x8500 mm/memory.c:1252 copy_pud_range mm/memory.c:1289 [inline] copy_p4d_range mm/memory.c:1313 [inline] copy_page_range+0x99f/0xe90 mm/memory.c:1411 dup_mmap kernel/fork.c:749 [inline] dup_mm kernel/fork.c:1672 [inline] copy_mm+0x11e2/0x1f30 kernel/fork.c:1721 copy_process+0x1854/0x3d80 kernel/fork.c:2373 kernel_clone+0x226/0x8f0 kernel/fork.c:2780 __do_sys_clone kernel/fork.c:2923 [inline] __se_sys_clone kernel/fork.c:2907 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:2907 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fef70974753 RSP: 002b:00007fff17cd2df8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fef70974753 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 000055557695b7d0 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000008c1f4 R14: 000000000008c10b R15: 00007fff17cd2f80 rcu: rcu_preempt kthread starved for 10500 jiffies! g62781 f0x0 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:26144 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5264 [inline] __schedule+0x1893/0x4b50 kernel/sched/core.c:6607 __schedule_loop kernel/sched/core.c:6684 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6699 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 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: CPU: 0 UID: 0 PID: 1288 Comm: kworker/u8:6 Not tainted 6.11.0-syzkaller-07337-g2004cef11ea0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:rep_nop arch/x86/include/asm/vdso/processor.h:13 [inline] RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:18 [inline] RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19f1/0x2ca0 kernel/smp.c:884 Code: 00 00 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 86 f1 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 31 ed 0b 00 eb 38 90 42 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 RSP: 0018:ffffc90004c776e0 EFLAGS: 00000293 RAX: ffffffff8188d20b RBX: 1ffff110171288f9 RCX: ffff888027999e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90004c778e0 R08: ffffffff8188d1da R09: 1ffffffff2849ef0 R10: dffffc0000000000 R11: fffffbfff2849ef1 R12: dffffc0000000000 R13: ffff8880b89447c8 R14: ffff8880b883fb80 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e71dff8 CR3: 000000000e734000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2295 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:833 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa65/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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 sched: DL replenish lagged too much