rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=0d9c/1/0x4000000000000000 softirq=44535/44537 fqs=4 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P19410/1:b..l P19134/1:b..l (detected by 0, t=10502 jiffies, g=61325, q=28 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 19411 Comm: syz-executor.2 Not tainted 6.1.27-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:debug_lockdep_rcu_enabled+0x25/0x30 kernel/rcu/update.c:281 Code: cc cc cc cc cc 31 c0 83 3d b7 6f d1 03 00 74 1d 83 3d 42 a3 d1 03 00 74 14 65 48 8b 0d 94 f0 80 75 31 c0 83 b9 4c 0a 00 00 00 <0f> 94 c0 c3 cc cc cc cc cc cc cc 48 8b 3c 24 e8 57 fb ff ff 66 90 RSP: 0018:ffffc900001e0cb8 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff8880238e2ea0 RCX: ffff888087178000 RDX: dffffc0000000000 RSI: ffffffff8aebe1a0 RDI: ffffffff8b3cbfa0 RBP: ffff88803defd2e8 R08: dffffc0000000000 R09: fffffbfff2050445 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88803defd000 R13: ffff88803defd360 R14: dffffc0000000000 R15: 185558a0b0aab141 FS: 00007f11bf947700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001f40 CR3: 0000000022f98000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:748 [inline] advance_sched+0x6d3/0x940 net/sched/sch_taprio.c:753 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 02 d4 54 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 77 b8 d2 f6 65 8b 05 58 34 77 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc9000447fb60 EFLAGS: 00000206 RAX: d7b6cb9fe3895b00 RBX: 1ffff9200088ff70 RCX: ffffffff816a3a2a RDX: dffffc0000000000 RSI: ffffffff8aebd020 RDI: 0000000000000001 RBP: ffffc9000447fbf0 R08: dffffc0000000000 R09: fffffbfff2050445 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff9200088ff6c R14: ffffc9000447fb80 R15: 0000000000000246 clock_was_set+0x179/0x900 kernel/time/hrtimer.c:970 do_settimeofday64+0x673/0x7e0 kernel/time/timekeeping.c:1345 __do_sys_clock_settime kernel/time/posix-timers.c:1088 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1076 [inline] __x64_sys_clock_settime+0x232/0x270 kernel/time/posix-timers.c:1076 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f11bec8c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f11bf947168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007f11bedabf80 RCX: 00007f11bec8c169 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000000 RBP: 00007f11bece7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff6c64b4af R14: 00007f11bf947300 R15: 0000000000022000 task:syz-executor.1 state:R running task stack:24424 pid:19134 ppid:3580 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6866 irqentry_exit+0x53/0x80 kernel/entry/common.c:433 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:unwind_get_return_address+0x52/0x80 arch/x86/kernel/unwind_orc.c:323 Code: 83 c3 48 49 89 df 49 c1 ef 03 43 80 3c 37 00 74 08 48 89 df e8 7f aa a3 00 48 8b 3b e8 b7 ab 1e 00 85 c0 74 14 43 80 3c 37 00 <74> 08 48 89 df e8 64 aa a3 00 48 8b 03 eb 02 31 c0 5b 41 5e 41 5f RSP: 0018:ffffc9000386f660 EFLAGS: 00000246 RAX: 0000000000000001 RBX: ffffc9000386f6c8 RCX: ffffffff8f901000 RDX: ffffffff8fa58a01 RSI: ffffc90003868000 RDI: ffffffff81532a1b RBP: ffffc9000386f710 R08: ffffc9000386fd50 R09: ffffc9000386f6d0 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888027fd0000 R13: ffffffff8177c500 R14: dffffc0000000000 R15: 1ffff9200070ded9 arch_stack_walk+0xf3/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 save_stack+0xf6/0x1e0 mm/page_owner.c:127 __reset_page_owner+0x52/0x1a0 mm/page_owner.c:148 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1460 [inline] free_pcp_prepare mm/page_alloc.c:1510 [inline] free_unref_page_prepare+0xf63/0x1120 mm/page_alloc.c:3388 free_unref_page+0x98/0x570 mm/page_alloc.c:3484 __vunmap+0x834/0x9a0 mm/vmalloc.c:2717 kcov_put kernel/kcov.c:428 [inline] kcov_close+0x27/0x50 kernel/kcov.c:524 __fput+0x3b7/0x890 fs/file_table.c:320 task_work_run+0x246/0x300 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x6fb/0x2300 kernel/exit.c:869 do_group_exit+0x202/0x2b0 kernel/exit.c:1019 __do_sys_exit_group kernel/exit.c:1030 [inline] __se_sys_exit_group kernel/exit.c:1028 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1028 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f976e28c169 RSP: 002b:00007ffe0719a538 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000010badf00d RCX: 00007f976e28c169 RDX: 00007f976e23deb3 RSI: 000000000000000c RDI: 0000000000000000 RBP: 00000000ffffffff R08: 000000000000001a R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 00007ffe0719a630 R14: 00007f976e3ac9d8 R15: 000000000000000c task:syz-executor.5 state:R running task stack:24968 pid:19410 ppid:3588 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6866 irqentry_exit+0x53/0x80 kernel/entry/common.c:433 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5673 Code: 2b 00 74 08 4c 89 f7 e8 0f 40 76 00 f6 44 24 61 02 0f 85 84 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: 0000:ffffc90003a5f3e0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200074be88 RCX: 1ffff9200074be28 RDX: dffffc0000000000 RSI: ffffffff8aebe1a0 RDI: ffffffff8b3cbfa0 RBP: ffffc90003a5f540 R08: dffffc0000000000 R09: fffffbfff2050445 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200074be84 R13: dffffc0000000000 R14: ffffc90003a5f440 R15: 0000000000000246 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:306 rcu_read_lock include/linux/rcupdate.h:747 [inline] page_ext_get+0x18/0x270 mm/page_ext.c:157 __set_page_owner+0x32/0x390 mm/page_owner.c:192 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x18d/0x1b0 mm/page_alloc.c:2533 prep_new_page mm/page_alloc.c:2540 [inline] get_page_from_freelist+0x32ed/0x3480 mm/page_alloc.c:4292 __alloc_pages+0x28d/0x770 mm/page_alloc.c:5559 __folio_alloc+0xf/0x30 mm/page_alloc.c:5591 vma_alloc_folio+0x486/0x990 mm/mempolicy.c:2239 alloc_page_vma include/linux/gfp.h:284 [inline] wp_page_copy+0x25a/0x1740 mm/memory.c:3109 handle_pte_fault mm/memory.c:4982 [inline] __handle_mm_fault mm/memory.c:5106 [inline] handle_mm_fault+0x2522/0x5330 mm/memory.c:5227 do_user_addr_fault arch/x86/mm/fault.c:1428 [inline] handle_page_fault arch/x86/mm/fault.c:1519 [inline] exc_page_fault+0x58d/0x790 arch/x86/mm/fault.c:1575 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7fe8aa039610 RSP: 002b:00007ffd944d76e0 EFLAGS: 00010246 RAX: 0000000093c83f44 RBX: 00007fe8aa1ac018 RCX: 0000001b33320000 RDX: 0000000000000000 RSI: 0000001b33320018 RDI: 000000000de2f427 RBP: 0000000093c83f44 R08: 0000000000001f44 R09: 0000000093c83f48 R10: 00007ffd944d78a0 R11: 0000000000000246 R12: 00007fe8aa1a0000 R13: 0000000000000001 R14: 000000000000001a R15: ffffffff8a778e17 rcu: rcu_preempt kthread starved for 10494 jiffies! g61325 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:26016 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x2c2/0x1010 kernel/rcu/tree.c:1660 rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1859 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 5239 Comm: kworker/u4:11 Not tainted 6.1.27-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_many_cond+0x1f62/0x33d0 kernel/smp.c:987 Code: 2f 44 89 ee 83 e6 01 31 ff e8 5a 0c 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 e5 08 0b 00 e9 1b ff ff ff f3 90 <42> 0f b6 04 2b 84 c0 75 14 41 f7 07 01 00 00 00 0f 84 fe fe ff ff RSP: 0018:ffffc9000b1a75a0 EFLAGS: 00000293 RAX: ffffffff817ebffd RBX: 1ffff11017328021 RCX: ffff888019279d40 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000b1a7980 R08: ffffffff817ebfc6 R09: fffffbfff2050445 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880b9940108 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200000c0 CR3: 000000000cc8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1155 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1316 [inline] text_poke_bp_batch+0x2bb/0x940 arch/x86/kernel/alternative.c:1516 text_poke_flush arch/x86/kernel/alternative.c:1707 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1714 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x12e/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x480 mm/kfence/core.c:804 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2289 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2436 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306