rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=93c4/1/0x4000000000000000 softirq=65396/65404 fqs=1 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P15644/1:b..l rcu: (detected by 1, t=10502 jiffies, g=57361, q=431 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 15654 Comm: syz.3.2523 Not tainted 6.13.0-rc5-syzkaller-00012-g0bc21e701a6f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__sanitizer_cov_trace_cmp4+0x8/0x20 kernel/kcov.c:288 Code: bf 02 00 00 00 e9 18 ff ff ff 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 0c 24 <89> f2 89 fe bf 04 00 00 00 e9 ea fe ff ff 66 2e 0f 1f 84 00 00 00 RSP: 0018:ffffc90000007d78 EFLAGS: 00000092 RAX: 1ffff1100679b519 RBX: 1821c061f0000000 RCX: ffffffff89415cef RDX: ffff888030a3c880 RSI: 0000000000000002 RDI: 0000000000000002 RBP: ffff888033cda810 R08: 0000000000000006 R09: 0000000000000000 R10: 0000000004000000 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000001 R14: 0000000000000002 R15: 0000000004000000 FS: 00007f2c0b9d46c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32106ff8 CR3: 000000004969a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 00000000872c9164 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: advance_sched+0x3cf/0xc60 net/sched/sch_taprio.c:960 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x20a/0xae0 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x392/0x8e0 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x10f/0x400 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 56 71 4a f6 48 89 df e8 ae f0 4a f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 95 d5 3b f6 65 8b 05 f6 90 d7 74 85 c0 74 16 5b RSP: 0018:ffffc90004e3fb88 EFLAGS: 00000246 RAX: 0000000000000006 RBX: ffff888024fe8a00 RCX: 1ffffffff20bde71 RDX: 0000000000000000 RSI: ffffffff8b6cd9e0 RDI: ffffffff8bd1ede0 RBP: 0000000000000283 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff905f36d7 R11: 0000000000000000 R12: ffff888024fe8014 R13: ffff888024fe8a00 R14: ffff888024fe8000 R15: ffffc90004e3fbe8 class_raw_spinlock_irqsave_destructor include/linux/spinlock.h:551 [inline] try_to_wake_up+0x949/0x1490 kernel/sched/core.c:4205 wake_up_process kernel/sched/core.c:4454 [inline] wake_up_q+0x91/0x140 kernel/sched/core.c:1066 futex_wake+0x43e/0x4e0 kernel/futex/waitwake.c:199 do_futex+0x1e5/0x350 kernel/futex/syscalls.c:107 __do_sys_futex kernel/futex/syscalls.c:179 [inline] __se_sys_futex kernel/futex/syscalls.c:160 [inline] __x64_sys_futex+0x1e1/0x4c0 kernel/futex/syscalls.c:160 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2c0ab85d29 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:00007f2c0b9d40e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007f2c0ad76088 RCX: 00007f2c0ab85d29 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f2c0ad7608c RBP: 00007f2c0ad76080 R08: 00007f2c0b9f6000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2c0ad7608c R13: 0000000000000000 R14: 00007ffea203d620 R15: 00007ffea203d708 task:syz.0.2522 state:R running task stack:26336 pid:15644 tgid:15641 ppid:5814 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe58/0x5ad0 kernel/sched/core.c:6756 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7078 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:lock_acquire.part.0+0x155/0x380 kernel/locking/lockdep.c:5814 Code: b8 ff ff ff ff 65 0f c1 05 d0 c1 8b 7e 83 f8 01 0f 85 d0 01 00 00 9c 58 f6 c4 02 0f 85 e5 01 00 00 48 85 ed 0f 85 b6 01 00 00 <48> b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 00 00 00 48 c7 RSP: 0000:ffffc90004a8f490 EFLAGS: 00000206 RAX: 0000000000000046 RBX: 1ffff92000951e93 RCX: 000000009f2502c7 RDX: 0000000000000001 RSI: ffffffff8b6cdce0 RDI: ffffffff8bd1ede0 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff2dca398 R10: ffffffff96e51cc7 R11: 0000000000000001 R12: 0000000000000000 R13: ffffffff8e1bb900 R14: 0000000000000000 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] ___pte_offset_map+0x48/0x540 mm/pgtable-generic.c:287 __pte_offset_map include/linux/mm.h:3020 [inline] __pte_offset_map_lock+0x8e/0x300 mm/pgtable-generic.c:398 pte_offset_map_lock include/linux/mm.h:3035 [inline] zap_pte_range mm/memory.c:1606 [inline] zap_pmd_range mm/memory.c:1753 [inline] zap_pud_range mm/memory.c:1782 [inline] zap_p4d_range mm/memory.c:1803 [inline] unmap_page_range+0x7d5/0x3d10 mm/memory.c:1824 unmap_single_vma+0x194/0x2b0 mm/memory.c:1870 unmap_vmas+0x22f/0x490 mm/memory.c:1914 exit_mmap+0x1c6/0xb20 mm/mmap.c:1668 __mmput+0x12a/0x4c0 kernel/fork.c:1348 mmput+0x62/0x70 kernel/fork.c:1370 exit_mm kernel/exit.c:570 [inline] do_exit+0x9ba/0x2d70 kernel/exit.c:925 do_group_exit+0xd3/0x2a0 kernel/exit.c:1087 get_signal+0x24ed/0x26c0 kernel/signal.c:3017 arch_do_signal_or_restart+0x90/0x7e0 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+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f06b5185d29 RSP: 002b:00007f06b5f190e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f06b5375fa8 RCX: 00007f06b5185d29 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f06b5375fa8 RBP: 00007f06b5375fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f06b5375fac R13: 0000000000000000 R14: 00007ffcd9c6c3f0 R15: 00007ffcd9c6c4d8 rcu: rcu_preempt kthread starved for 10500 jiffies! g57361 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:27744 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe58/0x5ad0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_timeout+0x124/0x280 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2045 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2247 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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 UID: 0 PID: 14416 Comm: kworker/u8:16 Not tainted 6.13.0-rc5-syzkaller-00012-g0bc21e701a6f #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+0x458/0x1300 kernel/smp.c:884 Code: 0c 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 ba 0e 0c 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 a7 0c 00 00 8b 43 08 31 RSP: 0018:ffffc9000450f998 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b86469c0 RCX: ffffffff818e078c RDX: ffff88807f4d2440 RSI: ffffffff818e0766 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000006 R12: ffffed10170c8d39 R13: 0000000000000001 R14: ffff8880b86469c8 R15: ffff8880b873fe40 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc5ff577bac CR3: 000000000df7e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 00000000872c9164 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2114 [inline] text_poke_bp_batch+0x22b/0x760 arch/x86/kernel/alternative.c:2324 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_flush arch/x86/kernel/alternative.c:2512 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2522 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:920 static_key_enable_cpuslocked+0x1b7/0x270 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate mm/kfence/core.c:849 [inline] toggle_allocation_gate+0xfc/0x260 mm/kfence/core.c:841 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244