rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=209/1/0x4000000000000000 softirq=15929/15932 fqs=17 (detected by 0, t=10502 jiffies, g=20533, q=178) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4511 Comm: syz-executor.3 Not tainted 5.15.160-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:arch_atomic_try_cmpxchg arch/x86/include/asm/atomic.h:202 [inline] RIP: 0010:atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:513 [inline] RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:82 [inline] RIP: 0010:do_raw_spin_lock+0x150/0x370 kernel/locking/spinlock_debug.c:115 Code: 00 00 c7 44 24 60 00 00 00 00 4c 89 e7 be 04 00 00 00 e8 f3 0a 66 00 4c 89 f7 be 04 00 00 00 e8 e6 0a 66 00 41 0f b6 44 1d 00 <84> c0 48 89 da 0f 85 89 01 00 00 8b 44 24 60 b9 01 00 00 00 f0 41 RSP: 0018:ffffc90000dd0be0 EFLAGS: 00000097 RAX: 0000000000000004 RBX: dffffc0000000000 RCX: ffffffff8164218a RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc90000dd0c40 RBP: ffffc90000dd0cb0 R08: dffffc0000000000 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff888076732ae8 R13: 1ffff920001ba188 R14: ffffc90000dd0c40 R15: 1ffff1100ece655e FS: 0000555556cc3480(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe7d2befe8 CR3: 000000006279a000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_lock include/linux/spinlock.h:363 [inline] advance_sched+0x47/0x940 net/sched/sch_taprio.c:716 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:PagePoisoned include/linux/page-flags.h:218 [inline] RIP: 0010:page_to_nid include/linux/mm.h:1378 [inline] RIP: 0010:page_pgdat include/linux/mm.h:1553 [inline] RIP: 0010:memcg_slab_post_alloc_hook mm/slab.h:322 [inline] RIP: 0010:slab_post_alloc_hook+0x26e/0x380 mm/slab.h:526 Code: ff e8 06 58 00 00 48 8b 43 38 48 85 c0 74 0b 89 c1 83 e1 01 0f 84 ed 00 00 00 a8 02 0f 85 f6 00 00 00 48 83 e0 fc 4e 89 3c e8 <48> 8b 03 48 83 f8 ff 0f 84 f2 00 00 00 48 c1 e8 3a 48 8b 34 c5 50 RSP: 0018:ffffc9000416fce0 EFLAGS: 00000286 RAX: ffff888075383b00 RBX: ffffea0001c08a00 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8a8b3c20 RDI: ffffffff8ad8f6c0 RBP: 0000000000000a01 R08: dffffc0000000000 R09: fffffbfff1bc8cce R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000000000a R13: 0000000000000013 R14: 0000000000000000 R15: ffff88805d5bfe00 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0xf3/0x280 mm/slub.c:3233 sock_alloc_inode+0x17/0xb0 net/socket.c:303 alloc_inode fs/inode.c:236 [inline] new_inode_pseudo+0x60/0x210 fs/inode.c:937 sock_alloc net/socket.c:626 [inline] __sock_create+0x11f/0x8d0 net/socket.c:1450 sock_create net/socket.c:1537 [inline] __sys_socket+0x132/0x370 net/socket.c:1579 __do_sys_socket net/socket.c:1588 [inline] __se_sys_socket net/socket.c:1586 [inline] __x64_sys_socket+0x76/0x80 net/socket.c:1586 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f0d6619cc67 Code: f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 0f 1f 44 00 00 b8 29 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd7a4af798 EFLAGS: 00000206 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 00007f0d6629f1a0 RCX: 00007f0d6619cc67 RDX: 0000000000000006 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 00007ffd7a4afedc R08: 0000000000000000 R09: 00007ffd7a4afbc7 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000032 R13: 0000000000025555 R14: 0000000000000000 R15: 0000000000000003 rcu: rcu_preempt kthread starved for 10468 jiffies! g20533 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:26168 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 5933 Comm: syz-executor.4 Not tainted 5.15.160-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline] rcu_check_gp_kthread_starvation+0x1d2/0x240 kernel/rcu/tree_stall.h:487 print_other_cpu_stall+0x137a/0x14d0 kernel/rcu/tree_stall.h:592 check_cpu_stall kernel/rcu/tree_stall.h:745 [inline] rcu_pending kernel/rcu/tree.c:3932 [inline] rcu_sched_clock_irq+0xa38/0x1150 kernel/rcu/tree.c:2619 update_process_times+0x196/0x200 kernel/time/timer.c:1818 tick_sched_handle kernel/time/tick-sched.c:254 [inline] tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0xa93/0xd90 kernel/smp.c:969 Code: 04 03 84 c0 0f 85 84 00 00 00 45 8b 7d 00 44 89 fe 83 e6 01 31 ff e8 4c cf 0b 00 41 83 e7 01 75 07 e8 e1 cb 0b 00 eb 41 f3 90 <48> b8 00 00 00 00 00 fc ff df 0f b6 04 03 84 c0 75 11 41 f7 45 00 RSP: 0018:ffffc90002dd7780 EFLAGS: 00000293 RAX: ffffffff81749104 RBX: 1ffff110173680b9 RCX: ffff888021695940 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90002dd78c0 R08: ffffffff817490d4 R09: fffffbfff1f7f019 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff8880b9b405c8 R14: ffff8880b9a3b3c0 R15: 0000000000000001 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1207 [inline] text_poke_bp_batch+0x2b4/0x930 arch/x86/kernel/alternative.c:1407 text_poke_bp+0xc8/0x140 arch/x86/kernel/alternative.c:1644 __static_call_transform+0x333/0x560 arch/x86/kernel/static_call.c:110 arch_static_call_transform+0xb7/0x250 arch/x86/kernel/static_call.c:156 __static_call_update+0xd4/0x5c0 kernel/static_call_inline.c:136 tracepoint_update_call kernel/tracepoint.c:317 [inline] tracepoint_remove_func kernel/tracepoint.c:441 [inline] tracepoint_probe_unregister+0x8df/0x980 kernel/tracepoint.c:551 bpf_raw_tp_link_release+0x5f/0x80 kernel/bpf/syscall.c:2900 bpf_link_free kernel/bpf/syscall.c:2471 [inline] bpf_link_put+0x234/0x2c0 kernel/bpf/syscall.c:2497 bpf_link_release+0x37/0x40 kernel/bpf/syscall.c:2505 __fput+0x3bf/0x890 fs/file_table.c:280 task_work_run+0x129/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f314fbe7dda Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007ffc0cac5fe0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f314fbe7dda RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f314fd21980 R08: 0000001b2ed20000 R09: 0000000000000010 R10: 0000000000000016 R11: 0000000000000293 R12: 000000000002571b R13: 00007f314fd201fc R14: 0000000000000032 R15: 00007f314fd21980