rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (3 ticks this GP) idle=c514/1/0x4000000000000000 softirq=180212/180212 fqs=4 rcu: (detected by 1, t=10502 jiffies, g=220561, q=220 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 14955 Comm: syz-executor.2 Not tainted 6.4.0-syzkaller-11479-g6cd06ab12d1a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:arch_atomic_try_cmpxchg arch/x86/include/asm/atomic.h:115 [inline] RIP: 0010:raw_atomic_try_cmpxchg_acquire include/linux/atomic/atomic-arch-fallback.h:2155 [inline] RIP: 0010:atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1296 [inline] RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:111 [inline] RIP: 0010:do_raw_spin_lock+0x136/0x2b0 kernel/locking/spinlock_debug.c:115 Code: 00 00 00 00 e8 7b 69 71 00 be 04 00 00 00 48 8d 7c 24 28 e8 6c 69 71 00 8b 44 24 28 ba 01 00 00 00 89 44 24 04 f0 0f b1 55 00 <0f> 85 91 00 00 00 65 44 8b 35 88 0c 9d 7e 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc90000007cf8 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 1ffff92000000fa0 RCX: ffffffff8166ace4 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc90000007d20 RBP: ffff8880477392e8 R08: 0000000000000001 R09: fffff52000000fa4 R10: 0000000000000003 R11: 0000000000000001 R12: ffff8880477392f0 R13: ffff8880477392f8 R14: ffff8880b982b880 R15: ffffffff884bd0a0 FS: 00007fe14df78700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000203bd030 CR3: 000000001e8b3000 CR4: 0000000000350ef0 Call Trace: spin_lock include/linux/spinlock.h:351 [inline] advance_sched+0xd2/0xd20 net/sched/sch_taprio.c:935 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x604/0xc00 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1115 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:218 [inline] RIP: 0010:unwind_next_frame+0x1f8/0x1f70 arch/x86/kernel/unwind_orc.c:494 Code: 48 89 54 24 28 48 89 74 24 20 44 89 5c 24 18 e8 fe 1c 9f 00 48 8b 54 24 28 48 8b 74 24 20 44 8b 5c 24 18 8b 0c 95 b4 5b de 8f <8d> 56 01 48 b8 00 00 00 00 00 fc ff df 48 8d 3c 95 b4 5b de 8f 49 RSP: 0018:ffffc900046aef38 EFLAGS: 00000246 RAX: 0000000000000003 RBX: 0000000000000001 RCX: 000000000002edcb RDX: 000000000000cd41 RSI: 000000000000cd41 RDI: ffffffff8fe190b8 RBP: ffffc900046aeff0 R08: 0000000000000001 R09: ffffc900046af508 R10: ffffc900046aefa8 R11: 0000000000096001 R12: ffffc900046aeff8 R13: ffffc900046aefa8 R14: ffffc900046aefdd R15: ffffffff81cd41f5 arch_stack_walk+0x81/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x90/0xc0 kernel/stacktrace.c:122 save_stack+0x151/0x1e0 mm/page_owner.c:128 __set_page_owner+0x1f/0x60 mm/page_owner.c:192 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x2db/0x350 mm/page_alloc.c:1570 prep_new_page mm/page_alloc.c:1577 [inline] get_page_from_freelist+0xfed/0x2d30 mm/page_alloc.c:3221 __alloc_pages+0x1cb/0x4a0 mm/page_alloc.c:4477 __folio_alloc+0x16/0x40 mm/page_alloc.c:4509 vma_alloc_folio+0x155/0x890 mm/mempolicy.c:2240 wp_page_copy mm/memory.c:3081 [inline] do_wp_page+0x167b/0x37c0 mm/memory.c:3446 handle_pte_fault mm/memory.c:4948 [inline] __handle_mm_fault+0x1573/0x3c50 mm/memory.c:5072 handle_mm_fault+0x2a7/0x9e0 mm/memory.c:5226 do_user_addr_fault+0x661/0x1360 arch/x86/mm/fault.c:1392 handle_page_fault arch/x86/mm/fault.c:1486 [inline] exc_page_fault+0x98/0x170 arch/x86/mm/fault.c:1542 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0010:__put_user_nocheck_4+0xb/0x20 arch/x86/lib/putuser.S:101 Code: 0f 1e fa 48 89 cb 48 c1 fb 3f 48 09 d9 0f 01 cb 89 01 31 c9 0f 01 ca c3 0f 1f 80 00 00 00 00 f3 0f 1e fa f3 0f 1e fa 0f 01 cb <89> 01 31 c9 0f 01 ca c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 RSP: 0018:ffffc900046afa00 EFLAGS: 00050246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00000000203bd030 RDX: 0000000000040000 RSI: ffffffff88100e62 RDI: 0000000000000005 RBP: ffffc900046afdb0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000001 R12: 0000000000000000 R13: 00000000203bd030 R14: 0000000000000002 R15: 0000000000000000 ____sys_recvmsg+0x2fd/0x5a0 net/socket.c:2726 ___sys_recvmsg+0xf2/0x180 net/socket.c:2755 do_recvmmsg+0x25e/0x6f0 net/socket.c:2849 __sys_recvmmsg net/socket.c:2928 [inline] __do_sys_recvmmsg net/socket.c:2951 [inline] __se_sys_recvmmsg net/socket.c:2944 [inline] __x64_sys_recvmmsg+0x20f/0x260 net/socket.c:2944 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe14d28c389 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:00007fe14df78168 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fe14d3ac050 RCX: 00007fe14d28c389 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000005 RBP: 00007fe14d2d7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe17e41fdf R14: 00007fe14df78300 R15: 0000000000022000 rcu: rcu_preempt kthread starved for 10492 jiffies! g220561 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:28216 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 schedule+0xde/0x1a0 kernel/sched/core.c:6786 schedule_timeout+0x14e/0x2b0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1808 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 6699 Comm: kworker/u4:9 Not tainted 6.4.0-syzkaller-11479-g6cd06ab12d1a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:296 [inline] RIP: 0010:smp_call_function_many_cond+0x699/0x1720 kernel/smp.c:835 Code: 0b 00 85 ed 74 48 48 8b 44 24 08 49 89 c4 83 e0 07 49 c1 ec 03 48 89 c5 4d 01 f4 83 c5 03 e8 ee 53 0b 00 f3 90 41 0f b6 04 24 <40> 38 c5 7c 08 84 c0 0f 85 d1 0d 00 00 8b 43 08 31 ff 83 e0 01 41 RSP: 0018:ffffc9000c77f948 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9844fe0 RCX: 0000000000000000 RDX: ffff888035533b80 RSI: ffffffff81798b82 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffed10173089fd R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc701bcf28 CR3: 000000000c775000 CR4: 0000000000350ee0 Call Trace: on_each_cpu_cond_mask+0x5a/0xa0 kernel/smp.c:1003 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1938 [inline] text_poke_bp_batch+0x24f/0x780 arch/x86/kernel/alternative.c:2148 text_poke_flush arch/x86/kernel/alternative.c:2339 [inline] text_poke_flush arch/x86/kernel/alternative.c:2336 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2346 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32f/0x410 kernel/jump_label.c:829 static_key_enable_cpuslocked+0x1b5/0x270 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate mm/kfence/core.c:831 [inline] toggle_allocation_gate+0xf8/0x230 mm/kfence/core.c:823 process_one_work+0xa34/0x16f0 kernel/workqueue.c:2597 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2748 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308