rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=4674/1/0x4000000000000000 softirq=112068/112069 fqs=4 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P22785/1:b..l P22807/1:b..l rcu: (detected by 0, t=10502 jiffies, g=93405, q=201 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 22805 Comm: rm Not tainted 6.12.0-syzkaller-08446-g228a1157fb9f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__lock_acquire+0xc71/0x2100 kernel/locking/lockdep.c:5196 Code: 00 00 48 c7 c0 c0 99 3b 9a 48 c1 e8 03 48 bf 00 00 00 00 00 fc ff df 0f b6 04 38 84 c0 0f 85 24 0d 00 00 83 3d bf fb ca 18 00 <75> 39 48 63 9c 24 88 00 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 80 RSP: 0018:ffffc90000a18a50 EFLAGS: 00000046 RAX: 0000000000000004 RBX: 1ffff1100a85c160 RCX: ffffffff9a3b9903 RDX: 0000000000000000 RSI: 0000000000000008 RDI: dffffc0000000000 RBP: ffff8880542e0ae0 R08: ffffffff942b288f R09: 1ffffffff2856511 R10: dffffc0000000000 R11: fffffbfff2856512 R12: ffff8880542e0ac4 R13: ffff8880542e0000 R14: 0000000000000000 R15: ffff8880542e0b00 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a894059008 CR3: 0000000056580000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 __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:1743 [inline] __hrtimer_run_queues+0x670/0xd50 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x0/0x90 kernel/kcov.c:320 Code: 10 48 89 74 0a 18 4c 89 44 0a 20 c3 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 4c 8b 04 24 65 48 8b 0c 25 c0 d3 03 00 65 8b 05 f0 81 RSP: 0018:ffffc9000c137990 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 000000000000a728 RCX: ffff8880542e0000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000021000 R08: ffffffff822e78ae R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed100a85c001 R12: 00007ff8b922f000 R13: 0000000000000000 R14: 000000000000b000 R15: 0000000000000000 elf_map fs/binfmt_elf.c:385 [inline] elf_load+0x118/0x700 fs/binfmt_elf.c:414 load_elf_interp+0x440/0xac0 fs/binfmt_elf.c:681 load_elf_binary+0x1a44/0x2710 fs/binfmt_elf.c:1241 search_binary_handler fs/exec.c:1752 [inline] exec_binprm fs/exec.c:1794 [inline] bprm_execve+0xaf8/0x1770 fs/exec.c:1845 do_execveat_common+0x55f/0x6f0 fs/exec.c:1952 do_execve fs/exec.c:2026 [inline] __do_sys_execve fs/exec.c:2102 [inline] __se_sys_execve fs/exec.c:2097 [inline] __x64_sys_execve+0x92/0xb0 fs/exec.c:2097 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:0x7f20b0cdbef7 Code: Unable to access opcode bytes at 0x7f20b0cdbecd. RSP: 002b:00007ffd83662f38 EFLAGS: 00000246 ORIG_RAX: 000000000000003b RAX: ffffffffffffffda RBX: 00005606b1dd7f58 RCX: 00007f20b0cdbef7 RDX: 00005606b1dd7f78 RSI: 00005606b1dd7f58 RDI: 00005606b1dd8000 RBP: 00005606b1dd8000 R08: 00005606b1dd8005 R09: 00007ffd83666e16 R10: 0000000000000008 R11: 0000000000000246 R12: 00005606b1dd7f78 R13: 00007f20b0e89904 R14: 00005606b1dd7f78 R15: 0000000000000000 task:syz.8.3349 state:R running task stack:26024 pid:22807 tgid:22806 ppid:10324 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6935 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6959 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:1691 [inline] zap_pmd_range mm/memory.c:1739 [inline] zap_pud_range mm/memory.c:1768 [inline] zap_p4d_range mm/memory.c:1789 [inline] unmap_page_range+0x36b1/0x40e0 mm/memory.c:1810 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1900 exit_mmap+0x275/0xc40 mm/mmap.c:1923 __mmput+0x115/0x380 kernel/fork.c:1348 exit_mm+0x220/0x310 kernel/exit.c:570 do_exit+0x9b2/0x28e0 kernel/exit.c:925 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3016 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff7f877e819 RSP: 002b:00007ff7f65f60e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007ff7f8935fa8 RCX: 00007ff7f877e819 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007ff7f8935fac RBP: 00007ff7f8935fa0 R08: 7fffffffffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff7f8935fac R13: 0000000000000000 R14: 00007ffde38ca360 R15: 00007ffde38ca448 task:syz.1.3342 state:R running task stack:21352 pid:22785 tgid:22764 ppid:14175 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078 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:5853 Code: 2b 00 74 08 4c 89 f7 e8 8a 54 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:ffffc9000d8266e0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92001b04ce8 RCX: ffff888032a38ad8 RDX: dffffc0000000000 RSI: ffffffff8c0ae800 RDI: ffffffff8c5fa5e0 RBP: ffffc9000d826828 R08: ffffffff942b2887 R09: 1ffffffff2856510 R10: dffffc0000000000 R11: fffffbfff2856511 R12: 1ffff92001b04ce4 R13: dffffc0000000000 R14: ffffc9000d826740 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] page_ext_get+0x3d/0x2a0 mm/page_ext.c:525 __page_table_check_zero+0xb1/0x350 mm/page_table_check.c:148 page_table_check_free include/linux/page_table_check.h:41 [inline] free_pages_prepare mm/page_alloc.c:1128 [inline] free_unref_folios+0xf35/0x1a10 mm/page_alloc.c:2704 shrink_folio_list+0x461f/0x8fe0 mm/vmscan.c:1483 reclaim_folio_list mm/vmscan.c:2143 [inline] reclaim_pages+0x922/0xc70 mm/vmscan.c:2179 madvise_cold_or_pageout_pte_range+0x295a/0x32a0 mm/madvise.c:550 walk_pmd_range mm/pagewalk.c:106 [inline] walk_pud_range mm/pagewalk.c:178 [inline] walk_p4d_range mm/pagewalk.c:211 [inline] walk_pgd_range+0xb81/0x17f0 mm/pagewalk.c:246 __walk_page_range+0x132/0x720 mm/pagewalk.c:348 walk_page_range+0x58f/0x7c0 mm/pagewalk.c:474 madvise_pageout_page_range mm/madvise.c:609 [inline] madvise_pageout mm/madvise.c:636 [inline] madvise_vma_behavior mm/madvise.c:1045 [inline] madvise_walk_vmas mm/madvise.c:1274 [inline] do_madvise+0x33d5/0x46f0 mm/madvise.c:1461 __do_sys_madvise mm/madvise.c:1477 [inline] __se_sys_madvise mm/madvise.c:1475 [inline] __x64_sys_madvise+0xa6/0xc0 mm/madvise.c:1475 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:0x7f625337e819 RSP: 002b:00007f6254182038 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007f6253536160 RCX: 00007f625337e819 RDX: 0000000000000015 RSI: 0000000000600003 RDI: 0000000020000000 RBP: 00007f62533f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6253536160 R15: 00007ffc5aa951b8 rcu: rcu_preempt kthread starved for 10494 jiffies! g93405 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:26072 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 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: 0 UID: 0 PID: 12718 Comm: kworker/u8:3 Not tainted 6.12.0-syzkaller-08446-g228a1157fb9f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19f3/0x2ca0 kernel/smp.c:884 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 a6 e8 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 51 e4 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 35 e4 RSP: 0018:ffffc900034b76e0 EFLAGS: 00000293 RAX: ffffffff818968ab RBX: 1ffff110170e88a1 RCX: ffff88807ee98000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900034b78e0 R08: ffffffff8189687a R09: 1ffffffff2856510 R10: dffffc0000000000 R11: fffffbfff2856511 R12: dffffc0000000000 R13: ffff8880b8744508 R14: ffff8880b863f880 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ef20218 CR3: 000000000e738000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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+0xbc/0x260 mm/kfence/core.c:849 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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