rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 0, t=10502 jiffies, g=88765, q=1253) rcu: All QSes seen, last rcu_preempt kthread activity 10494 (4295019179-4295008685), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10495 jiffies! g88765 f0x2 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:27064 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: 19650 Comm: syz.2.5846 Not tainted 5.15.162-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__netdev_start_xmit include/linux/netdevice.h:5018 [inline] RIP: 0010:netdev_start_xmit include/linux/netdevice.h:5033 [inline] RIP: 0010:xmit_one net/core/dev.c:3617 [inline] RIP: 0010:dev_hard_start_xmit+0x25d/0x7a0 net/core/dev.c:3633 Code: 09 e8 a7 4f 4a f9 48 8b 1c 24 4c 89 e8 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 ef e8 7d 1e 94 f9 48 85 db 0f 95 c3 49 8b 6d 00 <48> c7 c7 a0 c0 79 8b e8 57 86 e8 01 65 88 1d 8a a9 cd 77 48 83 c5 RSP: 0018:ffffc900000074d8 EFLAGS: 00000246 RAX: 1ffff1100f271819 RBX: 0000000000000000 RCX: ffff88801e009dc0 RDX: 0000000000000501 RSI: ffffffff8ad8f660 RDI: ffffffff8ad8f620 RBP: ffffffff8b0c2a60 R08: ffffffff88360b98 R09: fffffbfff1bc8e76 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100bdee650 R13: ffff88807938c0c8 R14: ffff88805ef73280 R15: dffffc0000000000 __dev_queue_xmit+0x1cee/0x3230 net/core/dev.c:4248 neigh_output include/net/neighbour.h:509 [inline] ip6_finish_output2+0xee8/0x14f0 net/ipv6/ip6_output.c:126 dst_output include/net/dst.h:443 [inline] NF_HOOK include/linux/netfilter.h:302 [inline] ndisc_send_skb+0xae0/0x13c0 net/ipv6/ndisc.c:509 addrconf_rs_timer+0x357/0x610 net/ipv6/addrconf.c:3958 call_timer_fn+0x16d/0x560 kernel/time/timer.c:1451 expire_timers kernel/time/timer.c:1496 [inline] __run_timers+0x67c/0x890 kernel/time/timer.c:1767 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:finish_lock_switch+0x91/0x100 kernel/sched/core.c:4785 Code: 45 31 c9 68 87 98 59 81 e8 cc 10 09 00 48 83 c4 08 4c 89 ff e8 60 da fe ff 66 90 4c 89 ff e8 16 63 ce 08 e8 f1 42 2d 00 fb 5b <41> 5c 41 5d 41 5e 41 5f c3 44 89 f1 80 e1 07 80 c1 03 38 c1 7c 87 RSP: 0018:ffffc900038f7578 EFLAGS: 00000282 RAX: f952919e4e701500 RBX: ffff888045b58034 RCX: ffffffff913f0f03 RDX: dffffc0000000000 RSI: ffffffff8a8b2a00 RDI: ffffffff8ad8f680 RBP: ffffc900038f75f0 R08: ffffffff8186dbe0 R09: ffffed1017347469 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff11017347613 R14: ffff8880b9a3b098 R15: ffff8880b9a3a340 finish_task_switch+0x134/0x630 kernel/sched/core.c:4902 context_switch kernel/sched/core.c:5033 [inline] __schedule+0x12cc/0x45b0 kernel/sched/core.c:6376 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6780 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:lock_acquire+0x252/0x4f0 kernel/locking/lockdep.c:5627 Code: 2b 00 74 08 4c 89 f7 e8 ac 7e 67 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc900038f7960 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200071ef38 RCX: 1ffff9200071eed8 RDX: dffffc0000000000 RSI: ffffffff8a8b3ca0 RDI: ffffffff8ad8f680 RBP: ffffc900038f7ab0 R08: dffffc0000000000 R09: fffffbfff1f7f219 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200071ef34 R13: dffffc0000000000 R14: ffffc900038f79c0 R15: 0000000000000246 rcu_lock_acquire+0x20/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] percpu_ref_put_many include/linux/percpu-refcount.h:317 [inline] percpu_ref_put+0x16/0x150 include/linux/percpu-refcount.h:338 css_put include/linux/cgroup.h:405 [inline] obj_cgroup_uncharge_pages mm/memcontrol.c:2995 [inline] refill_obj_stock+0x245/0x460 mm/memcontrol.c:3256 obj_cgroup_charge+0x1c4/0x390 mm/memcontrol.c:3298 memcg_slab_pre_alloc_hook mm/slab.h:287 [inline] slab_pre_alloc_hook+0xa6/0xc0 mm/slab.h:497 slab_alloc_node mm/slub.c:3134 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0x3f/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_socketpair+0x2c1/0x700 net/socket.c:1637 __do_sys_socketpair net/socket.c:1690 [inline] __se_sys_socketpair net/socket.c:1687 [inline] __x64_sys_socketpair+0x97/0xb0 net/socket.c:1687 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:0x7f9614857bd9 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:00007f96132d8048 EFLAGS: 00000246 ORIG_RAX: 0000000000000035 RAX: ffffffffffffffda RBX: 00007f96149e5f60 RCX: 00007f9614857bd9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000001 RBP: 00007f96148c6e60 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000200029c0 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f96149e5f60 R15: 00007fff36508678