rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=b4e4/1/0x4000000000000000 softirq=108785/108786 fqs=2 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P30884/1:b..l rcu: (detected by 0, t=10502 jiffies, g=183649, q=88 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 30897 Comm: syz-executor.5 Not tainted 6.7.0-rc5-next-20231212-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:kasan_check_range+0x1a/0x190 mm/kasan/generic.c:187 Code: ff ff 89 43 08 5b 5d 41 5c c3 66 0f 1f 44 00 00 66 0f 1f 00 48 85 f6 0f 84 48 01 00 00 48 89 f8 41 54 44 0f b6 c2 48 01 f0 55 <53> 0f 82 c6 00 00 00 48 b8 ff ff ff ff ff 7f ff ff 48 39 f8 0f 83 RSP: 0018:ffffc900001f0bb8 EFLAGS: 00000096 RAX: ffffffff92134f50 RBX: 0000000000000066 RCX: ffffffff81679f8e RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92134f48 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000014 R11: 0000000000000004 R12: 0000000000000002 R13: 0000000000000000 R14: ffff8880771864a0 R15: 0000000000000066 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30c2a000 CR3: 000000004f5fd000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class+0x4e/0x130 kernel/locking/lockdep.c:228 check_wait_context kernel/locking/lockdep.c:4773 [inline] __lock_acquire+0x3f2/0x3b30 kernel/locking/lockdep.c:5087 lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x530 kernel/locking/lockdep.c:5719 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0x36/0x50 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x2bd/0xc20 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline] __sysvec_apic_timer_interrupt+0x10c/0x410 arch/x86/kernel/apic/apic.c:1082 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:lock_acquire+0x1f2/0x530 kernel/locking/lockdep.c:5722 Code: c1 05 5a f4 99 7e 83 f8 01 0f 85 c4 02 00 00 9c 58 f6 c4 02 0f 85 af 02 00 00 48 85 ed 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc900050a77a8 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff92000a14ef7 RCX: 000000002584880b RDX: 0000000000000001 RSI: ffffffff8accbfa0 RDI: ffffffff8b2f38c0 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff24269e8 R10: ffffffff92134f47 R11: 0000000000000003 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8d1ab8e0 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:298 [inline] rcu_read_lock include/linux/rcupdate.h:744 [inline] pfn_valid include/linux/mmzone.h:2034 [inline] page_table_check_clear mm/page_table_check.c:68 [inline] __page_table_check_pte_clear+0x1af/0x5a0 mm/page_table_check.c:158 page_table_check_pte_clear include/linux/page_table_check.h:49 [inline] ptep_get_and_clear_full arch/x86/include/asm/pgtable.h:1301 [inline] zap_pte_range mm/memory.c:1449 [inline] zap_pmd_range mm/memory.c:1592 [inline] zap_pud_range mm/memory.c:1621 [inline] zap_p4d_range mm/memory.c:1642 [inline] unmap_page_range+0x1860/0x2b60 mm/memory.c:1663 unmap_single_vma+0x194/0x2b0 mm/memory.c:1709 unmap_vmas+0x22f/0x490 mm/memory.c:1753 exit_mmap+0x1c1/0xb60 mm/mmap.c:3274 __mmput+0x12a/0x4d0 kernel/fork.c:1341 mmput+0x62/0x70 kernel/fork.c:1363 exit_mm kernel/exit.c:567 [inline] do_exit+0x9a1/0x2ad0 kernel/exit.c:858 __do_sys_exit kernel/exit.c:988 [inline] __se_sys_exit kernel/exit.c:986 [inline] __x64_sys_exit+0x42/0x50 kernel/exit.c:986 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7f214f47cba9 Code: Unable to access opcode bytes at 0x7f214f47cb7f. RSP: 002b:0000000020003318 EFLAGS: 00000246 ORIG_RAX: 000000000000003c RAX: ffffffffffffffda RBX: 000000000000000b RCX: 00007f214f47cba9 RDX: 00007f214f47cba9 RSI: 0000000020003340 RDI: 000000000000000b RBP: 00007f214f4c847a R08: 0000000020003980 R09: 0000000000000000 R10: 0000000020003980 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f214f59c050 R15: 00007ffd5c986518 task:syz-executor.5 state:R running task stack:27392 pid:30884 tgid:30874 ppid:5082 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5399 [inline] __schedule+0xf15/0x5c80 kernel/sched/core.c:6726 preempt_schedule_common+0x44/0xc0 kernel/sched/core.c:6903 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x5d/0x70 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] timerfd_clock_was_set+0x164/0x310 fs/timerfd.c:113 clock_was_set+0x67c/0x850 kernel/time/hrtimer.c:982 timekeeping_inject_offset+0x4d1/0x640 kernel/time/timekeeping.c:1395 do_adjtimex+0x373/0xaa0 kernel/time/timekeeping.c:2444 do_clock_adjtime kernel/time/posix-timers.c:1159 [inline] __do_sys_clock_adjtime+0x173/0x280 kernel/time/posix-timers.c:1171 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7f214f47cba9 RSP: 002b:00007f21501e00c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007f214f59c050 RCX: 00007f214f47cba9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f214f4c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f214f59c050 R15: 00007ffd5c986518 rcu: rcu_preempt kthread starved for 10498 jiffies! g183649 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:27792 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5399 [inline] __schedule+0xf15/0x5c80 kernel/sched/core.c:6726 __schedule_loop kernel/sched/core.c:6801 [inline] schedule+0xe7/0x270 kernel/sched/core.c:6816 schedule_timeout+0x136/0x290 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:1631 rcu_gp_kthread+0x245/0x380 kernel/rcu/tree.c:1830 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 17760 Comm: kworker/u4:7 Not tainted 6.7.0-rc5-next-20231212-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:write_comp_data+0x7d/0x80 kernel/kcov.c:262 Code: 00 00 4a 8d 34 dd 28 00 00 00 48 39 f2 72 1b 48 83 c7 01 48 89 38 4c 89 44 30 e0 4c 89 4c 30 e8 4c 89 54 30 f0 4a 89 4c d8 20 66 90 f3 0f 1e fa 48 8b 0c 24 40 0f b6 d6 40 0f b6 f7 31 ff e9 RSP: 0018:ffffc9000941f918 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9941a60 RCX: ffffffff817c5a68 RDX: ffff8880796fbb80 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000006 R12: ffffed101732834d R13: 0000000000000001 R14: ffff8880b9941a68 R15: ffff8880b983d8c0 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7a544023b0 CR3: 000000000cf78000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_lock_wait kernel/smp.c:311 [inline] smp_call_function_many_cond+0x508/0x1570 kernel/smp.c:855 on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2007 [inline] text_poke_bp_batch+0x22b/0x750 arch/x86/kernel/alternative.c:2217 text_poke_flush arch/x86/kernel/alternative.c:2408 [inline] text_poke_flush arch/x86/kernel/alternative.c:2405 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2415 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:829 static_key_enable_cpuslocked+0x1b7/0x270 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate mm/kfence/core.c:826 [inline] toggle_allocation_gate+0xf4/0x250 mm/kfence/core.c:818 process_one_work+0x8a4/0x15f0 kernel/workqueue.c:2633 process_scheduled_works kernel/workqueue.c:2706 [inline] worker_thread+0x8b6/0x1290 kernel/workqueue.c:2787 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242