rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=837c/1/0x4000000000000000 softirq=8622/8623 fqs=39 rcu: (detected by 1, t=10502 jiffies, g=9425, q=1584 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5399 Comm: syz.1.9 Not tainted 6.11.0-rc3-syzkaller-00013-g6b0f8db921ab #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:__preempt_count_add kernel/rcu/tree.c:722 [inline] RIP: 0010:rcu_is_watching+0x6/0xb0 kernel/rcu/tree.c:725 Code: 80 e8 ce 57 3c 0a 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 <41> 56 53 65 ff 05 a8 25 8a 7e e8 fb 75 3c 0a 89 c3 83 f8 08 73 7a RSP: 0018:ffffc90000007b50 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff816fbc04 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9017ce28 RBP: ffffc90000007ca8 R08: ffffffff9017ce2f R09: 1ffffffff202f9c5 R10: dffffc0000000000 R11: fffffbfff202f9c6 R12: 1ffff92000000f74 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f2e118ff6c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c24f155 CR3: 000000001ee4a000 CR4: 0000000000350ef0 Call Trace: trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0xe3/0x550 kernel/locking/lockdep.c:5730 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0xd3/0x120 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1693 [inline] __hrtimer_run_queues+0x670/0xd50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x112/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__might_resched+0xf6/0x780 kernel/sched/core.c:8425 Code: 00 00 48 c7 c2 a0 67 0a 8c e8 c6 8b 0b 00 e8 81 7f 51 0a 85 c0 74 46 48 c7 c7 60 82 93 8e be ff ff ff ff e8 9c 7b 51 0a 85 c0 <74> 31 e8 63 7f 51 0a 85 c0 74 28 80 3d e4 e9 9c 0e 00 75 1f c6 05 RSP: 0018:ffffc900038377e0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888025048000 RCX: ffff888025048000 RDX: 0000000000000000 RSI: ffffffff8c0ae6e0 RDI: ffffffff8c606400 RBP: ffffc900038378f8 R08: ffffffff81e1e0f1 R09: ffffc900038379c0 R10: dffffc0000000000 R11: fffff52000706f3f R12: 0000000000000000 R13: dffffc0000000000 R14: 000000000000009a R15: 1ffff92000706f04 __might_fault+0x72/0x120 mm/memory.c:6385 _inline_copy_from_user include/linux/uaccess.h:154 [inline] _copy_from_user+0x2a/0xe0 lib/usercopy.c:18 copy_from_user include/linux/uaccess.h:196 [inline] copy_msghdr_from_user+0xae/0x680 net/socket.c:2527 recvmsg_copy_msghdr net/socket.c:2782 [inline] ___sys_recvmsg net/socket.c:2854 [inline] do_recvmmsg+0x40f/0xae0 net/socket.c:2952 __sys_recvmmsg net/socket.c:3031 [inline] __do_sys_recvmmsg net/socket.c:3054 [inline] __se_sys_recvmmsg net/socket.c:3047 [inline] __x64_sys_recvmmsg+0x199/0x250 net/socket.c:3047 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2e10b799f9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2e118ff038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f2e10d16058 RCX: 00007f2e10b799f9 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000004 RBP: 00007f2e10be78ee R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f2e10d16058 R15: 00007ffe14375238 rcu: rcu_preempt kthread starved for 10129 jiffies! g9425 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:25168 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2034 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2236 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 UID: 0 PID: 2556 Comm: kworker/u8:9 Not tainted 6.11.0-rc3-syzkaller-00013-g6b0f8db921ab #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:312 [inline] RIP: 0010:smp_call_function_many_cond+0x1871/0x29d0 kernel/smp.c:856 Code: 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 44 10 0c 00 eb 38 f3 90 42 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 <74> 1e e8 28 10 0c 00 eb e4 44 89 e9 80 e1 07 80 c1 03 38 c1 7c e2 RSP: 0018:ffffc900098cf700 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 1ffff11017248c61 RCX: ffff88802a20da00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900098cf8e0 R08: ffffffff81876737 R09: 1ffffffff26e5d08 R10: dffffc0000000000 R11: fffffbfff26e5d09 R12: dffffc0000000000 R13: ffff8880b9246308 R14: ffff8880b933fb80 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd828045000 CR3: 000000000e734000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x726/0xb30 arch/x86/kernel/alternative.c:2357 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:833 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2e/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244