rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=5244/1/0x4000000000000000 softirq=121609/121610 fqs=0 rcu: (detected by 0, t=10506 jiffies, g=103449, q=489 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 22064 Comm: syz.0.3423 Not tainted 6.14.0-rc5-syzkaller-00013-g99fa936e8e4f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] RIP: 0010:hlock_class+0x41/0x130 kernel/locking/lockdep.c:230 Code: ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e da 00 00 00 0f b7 5b 20 66 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 e8 06 <48> 8d 3c c5 c0 2c ec 96 e8 02 4b 87 00 48 0f a3 1d fa 74 56 15 73 RSP: 0018:ffffc90000a18b28 EFLAGS: 00000003 RAX: 0000000000000034 RBX: 0000000000000d3c RCX: ffffffff8195b7be RDX: 1ffff110095e75ef RSI: 0000000000000008 RDI: ffff88804af3af78 RBP: ffffffff96f0e4c8 R08: 0000000000000000 R09: fffffbfff2dd85b0 R10: ffffffff96ec2d87 R11: 0000000000000001 R12: ffff88804af3af51 R13: ffff88804af3a440 R14: 0000000000000003 R15: ffff88804af3af58 FS: 00007f178e3f66c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000040000007d030 CR3: 000000005247a000 CR4: 00000000003526f0 DR0: 0000000000000002 DR1: ffffffffffffffff DR2: 0000000000010001 DR3: 0000000000000004 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0xcc5/0x3c40 kernel/locking/lockdep.c:5225 lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5851 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] advance_sched+0xd8/0xc60 net/sched/sch_taprio.c:924 __run_hrtimer kernel/time/hrtimer.c:1801 [inline] __hrtimer_run_queues+0x20a/0xae0 kernel/time/hrtimer.c:1865 hrtimer_interrupt+0x392/0x8e0 kernel/time/hrtimer.c:1927 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x10f/0x400 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 96 dc 3c f6 48 89 df e8 ee 5b 3d f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 65 31 2e f6 65 8b 05 a6 13 aa 74 85 c0 74 16 5b RSP: 0018:ffffc900046af738 EFLAGS: 00000246 RAX: 0000000000000002 RBX: ffff8880339f4b40 RCX: 1ffffffff2de1ca5 RDX: 0000000000000000 RSI: ffffffff8b6cee00 RDI: ffffffff8bd35aa0 RBP: 0000000000000246 R08: 0000000000000001 R09: fffffbfff2dd85b0 R10: ffffffff96ec2d87 R11: 0000000000000001 R12: ffff8880339f4b28 R13: ffff888051fff000 R14: 0000000000000246 R15: ffffc900046af8d8 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __skb_try_recv_datagram+0x177/0x4f0 net/core/datagram.c:266 __unix_dgram_recvmsg+0x1d1/0xe50 net/unix/af_unix.c:2430 unix_dgram_recvmsg+0xd0/0x110 net/unix/af_unix.c:2532 sock_recvmsg_nosec net/socket.c:1023 [inline] ____sys_recvmsg+0x5f8/0x6b0 net/socket.c:2791 ___sys_recvmsg+0x115/0x1a0 net/socket.c:2835 do_recvmmsg+0x2f8/0x740 net/socket.c:2930 __sys_recvmmsg net/socket.c:3004 [inline] __do_sys_recvmmsg net/socket.c:3027 [inline] __se_sys_recvmmsg net/socket.c:3020 [inline] __x64_sys_recvmmsg+0x239/0x290 net/socket.c:3020 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f179058d169 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:00007f178e3f6038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f17907a6080 RCX: 00007f179058d169 RDX: 0000000000010106 RSI: 00004000000000c0 RDI: 0000000000000003 RBP: 00007f179060e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f17907a6080 R15: 00007ffcea379598 rcu: rcu_preempt kthread starved for 10506 jiffies! g103449 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:27824 pid:17 tgid:17 ppid:2 task_flags:0x208040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5378 [inline] __schedule+0xf43/0x5890 kernel/sched/core.c:6765 __schedule_loop kernel/sched/core.c:6842 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6857 schedule_timeout+0x124/0x280 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2024 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2226 kthread+0x3af/0x750 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 UID: 0 PID: 22065 Comm: syz.0.3423 Not tainted 6.14.0-rc5-syzkaller-00013-g99fa936e8e4f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x4cb/0x12c0 kernel/smp.c:885 Code: 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 fc 4c 89 fd 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 7c 0e 0c 00 f3 90 41 0f b6 04 24 <40> 38 c5 7c 08 84 c0 0f 85 e8 0b 00 00 8b 43 08 31 ff 83 e0 01 41 RSP: 0018:ffffc900046175a0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff8880b8744a80 RCX: ffffc90024408000 RDX: 0000000000080000 RSI: ffffffff81add344 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000005 R12: ffffed10170e8951 R13: 0000000000000001 R14: ffff8880b863fe80 R15: ffff8880b8744a88 FS: 00007f178e3d56c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30d19ff8 CR3: 000000005247a000 CR4: 00000000003526f0 DR0: 0000000440000000 DR1: 0000000000000008 DR2: 000000000000007f DR3: ffff7ffffffffffd DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1052 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2118 [inline] text_poke_bp_batch+0x22b/0x760 arch/x86/kernel/alternative.c:2328 text_poke_bp+0xa3/0xd0 arch/x86/kernel/alternative.c:2555 __static_call_transform+0x34d/0x770 arch/x86/kernel/static_call.c:111 arch_static_call_transform+0x5d/0xb0 arch/x86/kernel/static_call.c:163 __static_call_update+0xee/0x660 kernel/static_call_inline.c:147 tracepoint_update_call kernel/tracepoint.c:271 [inline] tracepoint_add_func+0xa90/0xeb0 kernel/tracepoint.c:312 tracepoint_probe_register_prio_may_exist+0xbd/0x110 kernel/tracepoint.c:435 tracepoint_probe_register_may_exist include/linux/tracepoint.h:50 [inline] bpf_probe_register+0x189/0x200 kernel/trace/bpf_trace.c:2439 bpf_raw_tp_link_attach+0x2cd/0x5f0 kernel/bpf/syscall.c:3986 bpf_raw_tracepoint_open kernel/bpf/syscall.c:4017 [inline] __sys_bpf+0x3a4/0x49c0 kernel/bpf/syscall.c:5837 __do_sys_bpf kernel/bpf/syscall.c:5902 [inline] __se_sys_bpf kernel/bpf/syscall.c:5900 [inline] __x64_sys_bpf+0x78/0xc0 kernel/bpf/syscall.c:5900 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f179058d169 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:00007f178e3d5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f17907a6160 RCX: 00007f179058d169 RDX: 0000000000000018 RSI: 0000400000000180 RDI: 0000000000000011 RBP: 00007f179060e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f17907a6160 R15: 00007ffcea379598