rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=4f8c/1/0x4000000000000000 softirq=11800/11801 fqs=3 (detected by 0, t=10502 jiffies, g=14965, q=175 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6669 Comm: syz-executor.0 Not tainted 6.1.0-rc3-next-20221104-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:kasan_mem_to_shadow include/linux/kasan.h:59 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x34/0x180 mm/kasan/generic.c:189 Code: 89 f9 41 54 44 0f b6 c2 49 01 f1 55 53 0f 82 18 01 00 00 48 b8 ff ff ff ff ff 7f ff ff 48 39 c7 0f 86 05 01 00 00 49 83 e9 01 <48> 89 fd 48 b8 00 00 00 00 00 fc ff df 4d 89 ca 48 c1 ed 03 49 c1 RSP: 0018:ffffc900001e0bd0 EFLAGS: 00000082 RAX: ffff7fffffffffff RBX: 1ffff9200003c181 RCX: ffffffff815ff19c RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8de2f350 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8de2f357 R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff91463890 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c02e000 CR3: 000000000bc8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:72 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:444 [inline] cpu_online include/linux/cpumask.h:1030 [inline] trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0xec/0x630 kernel/locking/lockdep.c:5639 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:665 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer+0x2b/0x470 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0xc12/0xfb0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0x17c/0x640 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:lock_release+0x425/0x810 kernel/locking/lockdep.c:5676 Code: 7e 83 f8 01 0f 85 02 02 00 00 9c 58 f6 c4 02 0f 85 ed 01 00 00 48 f7 04 24 00 02 00 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c5 48 c7 45 00 00 00 00 00 c7 45 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc900064c75f8 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 38e9964990032a28 RCX: ffffc900064c7648 RDX: 1ffff110090bd895 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 1ffff92000c98ec1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000003 R14: ffff8880485ec4b0 R15: ffff8880485eba80 page_remove_rmap+0x3b1/0x1110 mm/rmap.c:1462 zap_pte_range mm/memory.c:1407 [inline] zap_pmd_range mm/memory.c:1528 [inline] zap_pud_range mm/memory.c:1557 [inline] zap_p4d_range mm/memory.c:1578 [inline] unmap_page_range+0x11b3/0x3950 mm/memory.c:1599 unmap_single_vma+0x190/0x2a0 mm/memory.c:1645 unmap_vmas+0x21e/0x370 mm/memory.c:1684 exit_mmap+0x189/0x7a0 mm/mmap.c:3094 __mmput+0x128/0x4c0 kernel/fork.c:1202 mmput+0x5c/0x70 kernel/fork.c:1224 exit_mm kernel/exit.c:516 [inline] do_exit+0x9a4/0x28c0 kernel/exit.c:807 do_group_exit+0xd0/0x2a0 kernel/exit.c:950 get_signal+0x21a1/0x2430 kernel/signal.c:2858 arch_do_signal_or_restart+0x75/0x5b0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:296 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f366908b639 Code: Unable to access opcode bytes at 0x7f366908b60f. RSP: 002b:00007f36683bd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: fffffffffffffffc RBX: 00007f36691ac120 RCX: 00007f366908b639 RDX: 000000000000048b RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007f36690e67e1 R08: 0000000000000018 R09: 0000000000000000 R10: 0000000020000280 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffce4414d6f R14: 00007f36683bd300 R15: 0000000000022000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10489 jiffies! g14965 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=11691 rcu: rcu_preempt kthread starved for 10490 jiffies! g14965 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:28680 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5211 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6523 schedule+0xda/0x1b0 kernel/sched/core.c:6599 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1654 rcu_gp_kthread+0x236/0x360 kernel/rcu/tree.c:1853 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 11 Comm: kworker/u4:1 Not tainted 6.1.0-rc3-next-20221104-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_many_cond+0x43f/0x10a0 kernel/smp.c:987 Code: e6 e8 95 e0 0a 00 45 85 e4 74 48 48 8b 04 24 49 89 c5 83 e0 07 49 c1 ed 03 49 89 c4 4d 01 fd 41 83 c4 03 e8 a3 e3 0a 00 f3 90 <41> 0f b6 45 00 41 38 c4 7c 08 84 c0 0f 85 4e 0a 00 00 8b 43 08 31 RSP: 0000:ffffc90000107970 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9b40aa0 RCX: 0000000000000000 RDX: ffff88813fecba80 RSI: ffffffff8171ec6d RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000003 R13: ffffed1017368155 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00cf9d000 CR3: 000000000bc8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1155 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1772 [inline] text_poke_bp_batch+0x22e/0x6b0 arch/x86/kernel/alternative.c:1963 text_poke_flush arch/x86/kernel/alternative.c:2131 [inline] text_poke_flush arch/x86/kernel/alternative.c:2128 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:2138 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32f/0x410 kernel/jump_label.c:797 static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:173 static_key_enable+0x16/0x20 kernel/jump_label.c:186 toggle_allocation_gate mm/kfence/core.c:800 [inline] toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:792 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308