rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5205/1:b..l rcu: (detected by 1, t=10503 jiffies, g=208381, q=768084 ncpus=2) task:udevd state:R running task stack:20688 pid:5205 tgid:5205 ppid:1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_is_held_type+0x13b/0x190 Code: 75 44 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 4c 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 42 89 d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc900030c74e0 EFLAGS: 00000206 RAX: 6111d4e12871d700 RBX: 0000000000000001 RCX: 0000000080000000 RDX: 0000000000000000 RSI: ffffffff8c0aa880 RDI: ffffffff8c5f6520 RBP: 0000000000000004 R08: ffffffff8216ed5e R09: 1ffffffff2857510 R10: dffffc0000000000 R11: fffffbfff2857511 R12: 0000000000000246 R13: ffff88807c68da00 R14: 00000000ffffffff R15: ffffffff8e937aa0 lookup_page_ext mm/page_ext.c:254 [inline] page_ext_get+0x192/0x2a0 mm/page_ext.c:526 __page_table_check_zero+0xb1/0x350 mm/page_table_check.c:148 page_table_check_free include/linux/page_table_check.h:41 [inline] free_pages_prepare mm/page_alloc.c:1128 [inline] free_unref_page+0xe04/0x1130 mm/page_alloc.c:2657 discard_slab mm/slub.c:2673 [inline] __put_partials+0xeb/0x130 mm/slub.c:3142 put_cpu_partial+0x17c/0x250 mm/slub.c:3217 __slab_free+0x2ea/0x3d0 mm/slub.c:4468 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4104 [inline] slab_alloc_node mm/slub.c:4153 [inline] kmem_cache_alloc_noprof+0x1d9/0x380 mm/slub.c:4160 anon_vma_alloc mm/rmap.c:94 [inline] anon_vma_fork+0xe8/0x580 mm/rmap.c:360 dup_mmap kernel/fork.c:714 [inline] dup_mm kernel/fork.c:1695 [inline] copy_mm+0xcfc/0x1f90 kernel/fork.c:1744 copy_process+0x1845/0x3d50 kernel/fork.c:2395 kernel_clone+0x226/0x8e0 kernel/fork.c:2807 __do_sys_clone kernel/fork.c:2950 [inline] __se_sys_clone kernel/fork.c:2934 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:2934 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb3c3cfca12 RSP: 002b:00007ffe988cd588 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000557e7567e901 RCX: 00007fb3c3cfca12 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000006 R08: 0000000000000000 R09: 0000557e7566b910 R10: 00007fb3c4149f50 R11: 0000000000000246 R12: 0000557e75672890 R13: 0000000000000000 R14: 0000000000000000 R15: 0000557e7566b910 rcu: rcu_preempt kthread starved for 1012 jiffies! g208381 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 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:26072 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 UID: 0 PID: 24 Comm: ksoftirqd/1 Not tainted 6.13.0-rc1-syzkaller-00378-g62b5a46999c7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:stack_trace_save+0x57/0x1d0 kernel/stacktrace.c:114 Code: 00 48 89 84 24 80 00 00 00 49 bd 00 00 00 00 00 fc ff df 4c 8d 74 24 40 48 c7 44 24 20 b3 8a b5 41 48 c7 44 24 28 2e 2d 06 8e <48> c7 44 24 30 10 35 8b 81 4c 8d 7c 24 20 49 c1 ef 03 48 b8 f1 f1 RSP: 0018:ffffc900001e66e0 EFLAGS: 00000282 RAX: a2c3433817c68d00 RBX: 0000000000000001 RCX: a2c3433817c68d00 RDX: 0000000000000001 RSI: 0000000000000010 RDI: ffffc900001e6800 RBP: ffffc900001e67b0 R08: ffffc900001e6510 R09: 000000000000001d R10: ffffc900001e63d0 R11: ffffffff818b36f0 R12: ffffc900001e6800 R13: dffffc0000000000 R14: ffffc900001e6720 R15: ffff8881c77d9d40 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e6efd49030 CR3: 000000007cc84000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ref_tracker_alloc+0x188/0x490 lib/ref_tracker.c:209 __netdev_tracker_alloc include/linux/netdevice.h:4136 [inline] netdev_hold include/linux/netdevice.h:4165 [inline] dst_init+0xee/0x490 net/core/dst.c:52 dst_alloc+0x14f/0x190 net/core/dst.c:93 rt_dst_alloc net/ipv4/route.c:1625 [inline] __mkroute_output net/ipv4/route.c:2617 [inline] ip_route_output_key_hash_rcu+0x13cc/0x2390 net/ipv4/route.c:2839 ip_route_output_key_hash+0x193/0x2b0 net/ipv4/route.c:2668 __ip_route_output_key include/net/route.h:141 [inline] ip_route_output_flow+0x29/0x140 net/ipv4/route.c:2896 ip_route_output_key include/net/route.h:151 [inline] ip_route_me_harder+0x877/0x1360 net/ipv4/netfilter.c:53 synproxy_send_tcp+0x356/0x6c0 net/netfilter/nf_synproxy_core.c:431 synproxy_send_client_synack+0x8a4/0xe20 net/netfilter/nf_synproxy_core.c:484 nft_synproxy_eval_v4+0x3ca/0x610 net/netfilter/nft_synproxy.c:59 nft_synproxy_do_eval+0x362/0xa60 net/netfilter/nft_synproxy.c:141 expr_call_ops_eval net/netfilter/nf_tables_core.c:240 [inline] nft_do_chain+0x4ad/0x1da0 net/netfilter/nf_tables_core.c:288 nft_do_chain_inet+0x418/0x6b0 net/netfilter/nft_chain_filter.c:161 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xc3/0x220 net/netfilter/core.c:626 nf_hook include/linux/netfilter.h:269 [inline] NF_HOOK+0x29e/0x450 include/linux/netfilter.h:312 NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314 __netif_receive_skb_one_core net/core/dev.c:5672 [inline] __netif_receive_skb+0x2bf/0x650 net/core/dev.c:5785 process_backlog+0x662/0x15b0 net/core/dev.c:6117 __napi_poll+0xcb/0x490 net/core/dev.c:6883 napi_poll net/core/dev.c:6952 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:7074 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:554 run_ksoftirqd+0xca/0x130 kernel/softirq.c:943 smpboot_thread_fn+0x544/0xa30 kernel/smpboot.c:164 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244