rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (2 ticks this GP) idle=6b3c/1/0x4000000000000000 softirq=9822/9822 fqs=1061 rcu: (detected by 1, t=10502 jiffies, g=11181, q=1280 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5481 Comm: dhcpcd Not tainted 6.10.0-rc7-syzkaller-00141-g43db1e03c086 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:preempt_count_add+0xcd/0x190 kernel/sched/core.c:5877 Code: 8b 1c 25 c0 d4 03 00 48 81 c3 c8 14 00 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 c9 51 96 00 4c 89 33 5b 41 5e <41> 5f e9 c7 a3 4a 0a 90 e8 76 2e 46 03 85 c0 74 36 48 c7 c0 f0 c6 RSP: 0018:ffffc90000007c70 EFLAGS: 00000002 RAX: 0000000000010002 RBX: ffff8880230a02e8 RCX: ffffffff947a5603 RDX: 0000000000010001 RSI: 0000000000000000 RDI: 0000000000000001 RBP: dffffc0000000000 R08: ffffffff8183810f R09: 1ffffffff1f5b295 R10: dffffc0000000000 R11: ffffffff898fa720 R12: 0000000000000002 R13: ffffffff898fa720 R14: ffff8880230a0340 R15: dffffc0000000000 FS: 00007fa3370b3740(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4dcb806080 CR3: 0000000028dac000 CR4: 0000000000350ef0 Call Trace: __raw_spin_lock include/linux/spinlock_api_smp.h:132 [inline] _raw_spin_lock+0x12/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] advance_sched+0xab/0xca0 net/sched/sch_taprio.c:924 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x59d/0xd50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x112/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:lock_release+0x630/0x9f0 kernel/locking/lockdep.c:5778 Code: 3c 3b 00 74 08 4c 89 f7 e8 ad 59 89 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:ffffc90002f0f820 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920005e1f16 RCX: ffffc90002f0f803 RDX: 0000000000000001 RSI: ffffffff8bcaccc0 RDI: ffffffff8c202880 RBP: ffffc90002f0f948 R08: ffffffff8fad94af R09: 1ffffffff1f5b295 R10: dffffc0000000000 R11: fffffbfff1f5b296 R12: 1ffff920005e1f10 R13: 0000000000000246 R14: ffffc90002f0f8b0 R15: dffffc0000000000 rcu_lock_release include/linux/rcupdate.h:339 [inline] rcu_read_unlock_sched include/linux/rcupdate.h:894 [inline] pfn_valid include/linux/mmzone.h:2032 [inline] __virt_addr_valid+0x42f/0x530 arch/x86/mm/physaddr.c:65 kasan_addr_to_slab+0xd/0x80 mm/kasan/common.c:37 __kasan_record_aux_stack+0x11/0xc0 mm/kasan/generic.c:526 __call_rcu_common kernel/rcu/tree.c:3072 [inline] call_rcu+0x167/0xa70 kernel/rcu/tree.c:3176 remove_vma mm/mmap.c:148 [inline] remove_mt mm/mmap.c:2344 [inline] do_vmi_align_munmap+0x155c/0x18c0 mm/mmap.c:2687 do_vmi_munmap+0x261/0x2f0 mm/mmap.c:2759 __vm_munmap+0x1fc/0x400 mm/mmap.c:3038 __do_sys_munmap mm/mmap.c:3055 [inline] __se_sys_munmap mm/mmap.c:3052 [inline] __x64_sys_munmap+0x68/0x80 mm/mmap.c:3052 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:0x7fa33728ab97 Code: b8 09 00 00 00 0f 05 48 3d 00 f0 ff ff 76 0c f7 d8 89 05 dc 46 01 00 48 83 c8 ff c3 0f 1f 80 00 00 00 00 b8 0b 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8d 0d b9 46 01 00 f7 d8 89 01 48 83 RSP: 002b:00007ffe6dc0c9c8 EFLAGS: 00000202 ORIG_RAX: 000000000000000b RAX: ffffffffffffffda RBX: 000055adf3407810 RCX: 00007fa33728ab97 RDX: 0000000000000001 RSI: 0000000000026610 RDI: 00007fa337063000 RBP: 00007ffe6dc0cac0 R08: 0000000000000000 R09: 13b07cc1a46334ca R10: 00007ffe6dc0c950 R11: 0000000000000202 R12: 00007fa33729e000 R13: 0000000000000000 R14: 000055adf3407810 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 8368 jiffies! g11181 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:24976 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 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/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 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: 1 PID: 2420 Comm: kworker/u8:8 Not tainted 6.10.0-rc7-syzkaller-00141-g43db1e03c086 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1865/0x29d0 kernel/smp.c:855 Code: 89 e6 83 e6 01 31 ff e8 c9 0c 0c 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 74 08 0c 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 58 08 0c 00 eb e4 44 RSP: 0018:ffffc900094b7700 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff11017288c01 RCX: ffff888029960000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900094b78e0 R08: ffffffff818a1f97 R09: 1ffffffff25f5ab0 R10: dffffc0000000000 R11: fffffbfff25f5ab1 R12: dffffc0000000000 R13: ffff8880b9446008 R14: ffff8880b953f8c0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa337062178 CR3: 000000000e132000 CR4: 0000000000350ef0 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_flush arch/x86/kernel/alternative.c:2470 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2477 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:826 process_one_work kernel/workqueue.c:3248 [inline] process_scheduled_works+0xa2e/0x1830 kernel/workqueue.c:3329 worker_thread+0x86d/0xd50 kernel/workqueue.c:3409 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