rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 ticks this GP) idle=09a4/1/0x4000000000000000 softirq=71187/71187 fqs=2 rcu: (detected by 1, t=10503 jiffies, g=110325, q=156 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 21432 Comm: syz-executor.2 Not tainted 6.4.0-syzkaller-01406-ge8f75c0270d9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:87 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [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:178 [inline] RIP: 0010:kasan_check_range+0xd6/0x190 mm/kasan/generic.c:187 Code: 48 83 c0 01 48 39 d0 74 7a 80 38 00 74 f2 48 89 c2 b8 01 00 00 00 48 85 d2 75 56 5b 5d 41 5c c3 48 85 d2 74 5e 48 01 ea eb 09 <48> 83 c0 01 48 39 d0 74 50 80 38 00 74 f2 eb d4 41 bc 08 00 00 00 RSP: 0018:ffffc90000007a90 EFLAGS: 00000046 RAX: fffffbfff22a65a0 RBX: fffffbfff22a65a1 RCX: ffffffff8164b195 RDX: fffffbfff22a65a1 RSI: 0000000000000008 RDI: ffffffff91532d00 RBP: fffffbfff22a65a0 R08: 0000000000000000 R09: ffffffff91532d07 R10: fffffbfff22a65a0 R11: ffffc90000007ff8 R12: ffffffff8d0ffba0 R13: 0000000000000000 R14: ffff8880734eec70 R15: ffff8880734eec98 FS: 00007f9b23c31700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002032b030 CR3: 000000007cce3000 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 kernel/locking/lockdep.c:228 [inline] check_wait_context kernel/locking/lockdep.c:4751 [inline] __lock_acquire+0x405/0x5f30 kernel/locking/lockdep.c:5038 lock_acquire kernel/locking/lockdep.c:5705 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5670 debug_objects_fill_pool lib/debugobjects.c:614 [inline] debug_object_activate+0x128/0x4f0 lib/debugobjects.c:713 debug_hrtimer_activate kernel/time/hrtimer.c:422 [inline] debug_activate kernel/time/hrtimer.c:477 [inline] enqueue_hrtimer+0x27/0x320 kernel/time/hrtimer.c:1087 __run_hrtimer kernel/time/hrtimer.c:1705 [inline] __hrtimer_run_queues+0xa5b/0xbe0 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:stack_trace_consume_entry+0xe3/0x160 kernel/stacktrace.c:94 Code: 43 10 48 8b 03 48 8d 2c e8 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 80 3c 02 00 75 5c 48 89 75 00 8b 43 08 39 43 10 <0f> 92 c0 48 83 c4 08 5b 5d c3 83 e8 01 89 43 0c 48 83 c4 08 b8 01 RSP: 0018:ffffc90005386f90 EFLAGS: 00000287 RAX: 0000000000000010 RBX: ffffc90005387068 RCX: 0000000000000000 RDX: 1ffff92000a70e24 RSI: ffffffff81c10edd RDI: ffffc90005387074 RBP: ffffc90005387120 R08: 0000000000000001 R09: ffffc900053875d8 R10: ffffc90005386fb0 R11: 0000000000094001 R12: ffffc90005387068 R13: 0000000000000000 R14: ffff8880734ee180 R15: 0000000000000000 arch_stack_walk+0x71/0xf0 arch/x86/kernel/stacktrace.c:27 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:1744 prep_new_page mm/page_alloc.c:1751 [inline] get_page_from_freelist+0xf41/0x2c00 mm/page_alloc.c:3523 __alloc_pages+0x1cb/0x4a0 mm/page_alloc.c:4794 __folio_alloc+0x16/0x40 mm/page_alloc.c:4826 vma_alloc_folio+0x155/0x890 mm/mempolicy.c:2240 wp_page_copy mm/memory.c:3070 [inline] do_wp_page+0x173d/0x33c0 mm/memory.c:3432 handle_pte_fault mm/memory.c:4964 [inline] __handle_mm_fault+0x1635/0x41c0 mm/memory.c:5089 handle_mm_fault+0x2a7/0x9e0 mm/memory.c:5243 do_user_addr_fault+0x51a/0x1210 arch/x86/mm/fault.c:1440 handle_page_fault arch/x86/mm/fault.c:1534 [inline] exc_page_fault+0x98/0x170 arch/x86/mm/fault.c:1590 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:ffffc90005387a00 EFLAGS: 00050246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000002032b030 RDX: 0000000000040000 RSI: ffffffff8804fb92 RDI: 0000000000000005 RBP: ffffc90005387db0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000001 R12: 0000000000000000 R13: 000000002032b030 R14: 0000000000000002 R15: 0000000000000000 ____sys_recvmsg+0x2fd/0x5a0 net/socket.c:2736 ___sys_recvmsg+0xf2/0x180 net/socket.c:2765 do_recvmmsg+0x25e/0x6f0 net/socket.c:2859 __sys_recvmmsg net/socket.c:2938 [inline] __do_sys_recvmmsg net/socket.c:2961 [inline] __se_sys_recvmmsg net/socket.c:2954 [inline] __x64_sys_recvmmsg+0x20f/0x260 net/socket.c:2954 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:0x7f9b22e8c389 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:00007f9b23c31168 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f9b22fac050 RCX: 00007f9b22e8c389 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f9b22ed7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd659fa80f R14: 00007f9b23c31300 R15: 0000000000022000 rcu: rcu_preempt kthread starved for 10495 jiffies! g110325 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:28624 pid:15 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 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:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 5667 Comm: kworker/u4:12 Not tainted 6.4.0-syzkaller-01406-ge8f75c0270d9 #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 de 4b 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:ffffc900050ef948 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9847fc0 RCX: 0000000000000000 RDX: ffff888075b92080 RSI: ffffffff817855c2 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffed1017308ff9 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb5be8d56be CR3: 000000000c571000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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+0x99a/0x15e0 kernel/workqueue.c:2408 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2555 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308