rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P4630/1:b..l P4182/1:b..l (detected by 1, t=10502 jiffies, g=9289, q=76) task:syz-executor state:R running task stack:21984 pid: 4182 ppid: 4178 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 preempt_schedule_notrace+0xca/0x110 kernel/sched/core.c:6631 preempt_schedule_notrace_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:35 rcu_is_watching+0x72/0xa0 kernel/rcu/tree.c:1124 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0xcd/0x3f0 kernel/locking/lockdep.c:5594 rcu_lock_acquire+0x20/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] percpu_ref_get_many include/linux/percpu-refcount.h:202 [inline] percpu_ref_get include/linux/percpu-refcount.h:222 [inline] obj_cgroup_get include/linux/memcontrol.h:805 [inline] memcg_slab_post_alloc_hook mm/slab.h:320 [inline] slab_post_alloc_hook+0x191/0x380 mm/slab.h:526 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0x100/0x290 mm/slub.c:3233 anon_vma_chain_alloc mm/rmap.c:138 [inline] anon_vma_fork+0x1f6/0x500 mm/rmap.c:360 dup_mmap kernel/fork.c:574 [inline] dup_mm kernel/fork.c:1466 [inline] copy_mm+0x9e3/0x1370 kernel/fork.c:1518 copy_process+0x17c6/0x3e00 kernel/fork.c:2290 kernel_clone+0x219/0x930 kernel/fork.c:2679 __do_sys_clone kernel/fork.c:2796 [inline] __se_sys_clone kernel/fork.c:2780 [inline] __x64_sys_clone+0x170/0x1c0 kernel/fork.c:2780 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f4706c763d3 RSP: 002b:00007ffe0b286018 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4706c763d3 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: 000055558888b7d0 R11: 0000000000000246 R12: 0000000000000000 R13: 00000000000927c0 R14: 000000000001c0fc R15: 00007ffe0b2861b0 task:syz.0.116 state:R running task stack:25888 pid: 4630 ppid: 4183 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6780 irqentry_exit+0x63/0x70 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:lock_acquire+0x1f2/0x3f0 kernel/locking/lockdep.c:5627 Code: 00 9c 8f 84 24 80 00 00 00 f6 84 24 81 00 00 00 02 0f 85 f6 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 44 3d 00 00 00 00 00 66 43 c7 44 3d 09 00 00 43 c6 44 3d 0b RSP: 0018:ffffc900030ef980 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 0000000000000000 RCX: e05c097345e12800 RDX: 0000000000000000 RSI: ffffffff8a0b2860 RDI: ffffffff8a599340 RBP: ffffc900030efaa0 R08: dffffc0000000000 R09: fffffbfff1ff6e19 R10: fffffbfff1ff6e19 R11: 1ffffffff1ff6e18 R12: ffffffff8c11c360 R13: 1ffff9200061df3c R14: 0000000000000246 R15: dffffc0000000000 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] inet_twsk_purge+0x119/0x810 net/ipv4/inet_timewait_sock.c:268 ops_exit_list net/core/net_namespace.c:177 [inline] setup_net+0x822/0x9f0 net/core/net_namespace.c:365 copy_net_ns+0x348/0x5b0 net/core/net_namespace.c:503 create_new_namespaces+0x3d3/0x6f0 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0x116/0x160 kernel/nsproxy.c:226 ksys_unshare+0x4bc/0x890 kernel/fork.c:3175 __do_sys_unshare kernel/fork.c:3249 [inline] __se_sys_unshare kernel/fork.c:3247 [inline] __x64_sys_unshare+0x34/0x40 kernel/fork.c:3247 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f376b039b69 RSP: 002b:00007f3768ea1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007f376b260fa0 RCX: 00007f376b039b69 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000062040200 RBP: 00007f376b0bcdf1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f376b260fa0 R15: 00007ffea842e378 rcu: rcu_preempt kthread starved for 10560 jiffies! g9289 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:28192 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 schedule_timeout+0x15c/0x280 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x29e/0x11b0 kernel/rcu/tree.c:1972 rcu_gp_kthread+0x98/0x350 kernel/rcu/tree.c:2145 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4790 Comm: syz.4.171 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:212 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:156 [inline] RIP: 0010:wrmsr arch/x86/include/asm/msr.h:263 [inline] RIP: 0010:native_apic_msr_write+0x35/0x50 arch/x86/include/asm/apic.h:208 Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 89 f6 31 d2 e9 3f 5c c7 02 66 2e 0f 1f 84 00 00 00 00 00 RSP: 0018:ffffc900030df9d8 EFLAGS: 00000046 RAX: 000000000000003e RBX: 000000000000003e RCX: 0000000000000838 RDX: 0000000000000000 RSI: 000000000000003e RDI: 0000000000000838 RBP: 000000000000003e R08: dffffc0000000000 R09: fffffbfff1ad2dd6 R10: fffffbfff1ad2dd6 R11: 1ffffffff1ad2dd5 R12: ffff8880b9027280 R13: ffff8880b9027278 R14: ffffffff8bbbe9d8 R15: dffffc0000000000 FS: 00007f551166f6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000006b000 CR3: 00000000585fc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: apic_write arch/x86/include/asm/apic.h:395 [inline] lapic_next_event+0x5b/0x70 arch/x86/kernel/apic/apic.c:468 clockevents_program_min_delta+0x1a9/0x340 kernel/time/clockevents.c:248 hrtimer_start_range_ns+0xa9a/0xc20 kernel/time/hrtimer.c:1292 posixtimer_rearm+0x131/0x340 kernel/time/posix-timers.c:329 dequeue_signal+0x174/0x440 kernel/signal.c:696 get_signal+0x6fe/0x12c0 kernel/signal.c:2781 arch_do_signal_or_restart+0xc1/0x1300 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 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+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5513807b67 Code: ff ff 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 RSP: 002b:00007f551166f0e8 EFLAGS: 00000246 RAX: 00000000000000ca RBX: 00007f5513a2efa8 RCX: 00007f5513807b69 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f5513a2efa8 RBP: 00007f5513a2efa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5513a2efac R13: 0000000000000000 R14: 00007ffc8ea8b300 R15: 00007ffc8ea8b3e8