rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P2/1:b..l P5182/1:b..l rcu: (detected by 0, t=10503 jiffies, g=30805, q=239 ncpus=2) task:klogd state:R running task stack:24240 pid:5182 tgid:5182 ppid:1 task_flags:0x400100 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5378 [inline] __schedule+0xf43/0x5890 kernel/sched/core.c:6765 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7087 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:stack_trace_consume_entry+0xf7/0x170 kernel/stacktrace.c:95 Code: 89 ea 48 c1 ea 03 80 3c 02 00 75 64 48 89 75 00 8b 43 08 39 43 10 0f 92 c0 48 83 c4 08 5b 5d c3 cc cc cc cc 83 e8 01 89 43 0c <48> 83 c4 08 b8 01 00 00 00 5b 5d c3 cc cc cc cc 48 89 34 24 e8 a0 RSP: 0018:ffffc900046574a0 EFLAGS: 00000202 RAX: 0000000000000002 RBX: ffffc90004657580 RCX: ffffc90004657558 RDX: 0000000000000000 RSI: ffffffff81a5b155 RDI: ffffc9000465758c RBP: 0000000000000000 R08: ffffc900046574f4 R09: ffffffff90f48f4a R10: ffffc900046574c0 R11: 000000000000606d R12: ffffffff81a5adc0 R13: ffffc90004657580 R14: 0000000000000000 R15: ffff88807a97c880 arch_stack_walk+0x86/0x100 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 save_stack+0x162/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x8d/0x400 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1127 [inline] free_frozen_pages+0x6db/0xfb0 mm/page_alloc.c:2660 __put_partials+0x14c/0x170 mm/slub.c:3153 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4e/0x120 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286 __kasan_kmalloc+0x8a/0xb0 mm/kasan/common.c:385 kasan_kmalloc include/linux/kasan.h:260 [inline] __do_kmalloc_node mm/slub.c:4294 [inline] __kmalloc_node_track_caller_noprof+0x222/0x510 mm/slub.c:4313 kmalloc_reserve+0xef/0x2c0 net/core/skbuff.c:537 __alloc_skb+0x164/0x380 net/core/skbuff.c:606 alloc_skb include/linux/skbuff.h:1331 [inline] alloc_skb_with_frags+0xe4/0x850 net/core/skbuff.c:6522 sock_alloc_send_pskb+0x7f1/0x980 net/core/sock.c:2914 unix_dgram_sendmsg+0x45e/0x1880 net/unix/af_unix.c:2017 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:733 [inline] __sys_sendto+0x488/0x4f0 net/socket.c:2187 __do_sys_sendto net/socket.c:2194 [inline] __se_sys_sendto net/socket.c:2190 [inline] __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2190 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:0x7fdd565439b5 RSP: 002b:00007ffd337f4308 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fdd565439b5 RDX: 000000000000005f RSI: 00005640e38ee770 RDI: 0000000000000003 RBP: 00005640e38e62c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000013 R13: 00007fdd566d1212 R14: 00007ffd337f4408 R15: 0000000000000000 task:kthreadd state:R running task stack:26400 pid:2 tgid:2 ppid:0 task_flags:0x208040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5378 [inline] __schedule+0xf43/0x5890 kernel/sched/core.c:6765 preempt_schedule_common+0x44/0xc0 kernel/sched/core.c:6944 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 unwind_next_frame+0x1776/0x20c0 arch/x86/kernel/unwind_orc.c:672 arch_stack_walk+0x95/0x100 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 save_stack+0x162/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x8d/0x400 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1127 [inline] free_frozen_pages+0x6db/0xfb0 mm/page_alloc.c:2660 __put_partials+0x14c/0x170 mm/slub.c:3153 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4e/0x120 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4115 [inline] slab_alloc_node mm/slub.c:4164 [inline] kmem_cache_alloc_noprof+0x226/0x3d0 mm/slub.c:4171 copy_sighand+0x43/0x2c0 kernel/fork.c:1822 copy_process+0x272c/0x8c50 kernel/fork.c:2397 kernel_clone+0xfd/0x960 kernel/fork.c:2815 kernel_thread+0xd5/0x120 kernel/fork.c:2877 create_kthread kernel/kthread.c:487 [inline] kthreadd+0x4ef/0x7d0 kernel/kthread.c:847 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: rcu_preempt kthread starved for 10502 jiffies! g30805 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:27072 pid:18 tgid:18 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: 0 Comm: swapper/0 Not tainted 6.14.0-rc7-syzkaller-00069-g81e4f8d68c66 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 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 a6 ac 3c f6 48 89 df e8 fe 2b 3d f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 45 01 2e f6 65 8b 05 06 d3 a9 74 85 c0 74 16 5b RSP: 0018:ffffc90000006dd8 EFLAGS: 00000246 RAX: 0000000000000006 RBX: ffff8880b86404c8 RCX: 1ffffffff20c44d1 RDX: 0000000000000000 RSI: ffffffff8b6cfc80 RDI: ffffffff8bd369a0 RBP: 0000000000000246 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff90626a17 R11: 0000000000000005 R12: ffff888226887c80 R13: ffff8880b86404c0 R14: ffff8880b86404b0 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb062781a0a CR3: 0000000077e14000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] backlog_unlock_irq_restore net/core/dev.c:250 [inline] enqueue_to_backlog+0x373/0xe60 net/core/dev.c:5111 netif_rx_internal+0x108/0x5f0 net/core/dev.c:5419 __netif_rx+0x88/0xb0 net/core/dev.c:5439 loopback_xmit+0x284/0x700 drivers/net/loopback.c:89 __netdev_start_xmit include/linux/netdevice.h:5151 [inline] netdev_start_xmit include/linux/netdevice.h:5160 [inline] xmit_one net/core/dev.c:3800 [inline] dev_hard_start_xmit+0x9a/0x7b0 net/core/dev.c:3816 __dev_queue_xmit+0x7f0/0x43e0 net/core/dev.c:4652 dev_queue_xmit include/linux/netdevice.h:3313 [inline] neigh_hh_output include/net/neighbour.h:523 [inline] neigh_output include/net/neighbour.h:537 [inline] ip6_finish_output2+0xed9/0x20a0 net/ipv6/ip6_output.c:141 __ip6_finish_output net/ipv6/ip6_output.c:215 [inline] ip6_finish_output+0x3f9/0x1360 net/ipv6/ip6_output.c:226 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip6_output+0x1f8/0x540 net/ipv6/ip6_output.c:247 dst_output include/net/dst.h:459 [inline] ip6_local_out+0xcd/0x4a0 net/ipv6/output_core.c:155 synproxy_send_tcp_ipv6+0x5a5/0x690 net/netfilter/nf_synproxy_core.c:851 synproxy_send_client_synack_ipv6+0x636/0x7e0 net/netfilter/nf_synproxy_core.c:897 nft_synproxy_eval_v6 net/netfilter/nft_synproxy.c:90 [inline] nft_synproxy_do_eval+0x923/0xd60 net/netfilter/nft_synproxy.c:145 expr_call_ops_eval net/netfilter/nf_tables_core.c:240 [inline] nft_do_chain+0x2e6/0x18f0 net/netfilter/nf_tables_core.c:288 nft_do_chain_inet+0x18b/0x350 net/netfilter/nft_chain_filter.c:161 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xbb/0x200 net/netfilter/core.c:626 nf_hook.constprop.0+0x42e/0x750 include/linux/netfilter.h:269 NF_HOOK include/linux/netfilter.h:312 [inline] ip6_input+0xe0/0x2f0 net/ipv6/ip6_input.c:491 dst_input include/net/dst.h:469 [inline] ip6_rcv_finish net/ipv6/ip6_input.c:79 [inline] NF_HOOK include/linux/netfilter.h:314 [inline] NF_HOOK include/linux/netfilter.h:308 [inline] ipv6_rcv+0x265/0x680 net/ipv6/ip6_input.c:309 __netif_receive_skb_one_core+0x12e/0x1e0 net/core/dev.c:5896 __netif_receive_skb+0x1d/0x160 net/core/dev.c:6009 process_backlog+0x443/0x15f0 net/core/dev.c:6357 __napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:7191 napi_poll net/core/dev.c:7260 [inline] net_rx_action+0xa94/0x1010 net/core/dev.c:7382 handle_softirqs+0x213/0x8f0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:92 [inline] RIP: 0010:acpi_safe_halt+0x1a/0x20 drivers/acpi/processor_idle.c:112 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 65 48 8b 05 08 38 ac 74 48 8b 00 a8 08 75 0c 66 90 0f 00 2d f8 1b 87 00 fb f4 c3 cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffffff8de07d70 EFLAGS: 00000246 RAX: 0000000000004000 RBX: 0000000000000001 RCX: ffffffff8b578469 RDX: 0000000000000001 RSI: ffff888141693000 RDI: ffff888141693064 RBP: ffff888141693064 R08: 0000000000000001 R09: ffffed10170c6f85 R10: ffff8880b8637c2b R11: 0000000000000000 R12: ffff88801e73b800 R13: ffffffff8ee2eba0 R14: 0000000000000000 R15: 0000000000000000 acpi_idle_enter+0xc5/0x160 drivers/acpi/processor_idle.c:699 cpuidle_enter_state+0xaa/0x4f0 drivers/cpuidle/cpuidle.c:268 cpuidle_enter+0x4e/0xa0 drivers/cpuidle/cpuidle.c:389 cpuidle_idle_call kernel/sched/idle.c:230 [inline] do_idle+0x310/0x3f0 kernel/sched/idle.c:325 cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:423 rest_init+0x16b/0x2b0 init/main.c:743 start_kernel+0x3e9/0x4d0 init/main.c:1099 x86_64_start_reservations+0x18/0x30 arch/x86/kernel/head64.c:515 x86_64_start_kernel+0xb2/0xc0 arch/x86/kernel/head64.c:496 common_startup_64+0x13e/0x148