rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P17529/1:b..l P5204/1:b..l rcu: (detected by 0, t=10503 jiffies, g=98429, q=663 ncpus=2) task:klogd state:R running task stack:22272 pid:5204 tgid:5204 ppid:1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x184f/0x4c30 kernel/sched/core.c:6690 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7012 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_release+0x658/0xa30 kernel/locking/lockdep.c:5850 Code: 3c 3b 00 74 08 4c 89 f7 e8 85 2b 8e 00 f6 84 24 91 00 00 00 02 75 77 41 f7 c5 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 27 00 00 00 00 4b c7 44 27 08 00 00 00 00 65 48 8b 04 25 RSP: 0018:ffffc9000303f2c0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000607e6a RCX: ffffc9000303f303 RDX: 0000000000000001 RSI: ffffffff8c0adc40 RDI: ffffffff8c610860 RBP: ffffc9000303f3e8 R08: ffffffff901d08ef R09: 1ffffffff203a11d R10: dffffc0000000000 R11: fffffbfff203a11e R12: 1ffff92000607e64 R13: 0000000000000246 R14: ffffc9000303f350 R15: dffffc0000000000 rcu_lock_release include/linux/rcupdate.h:347 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] page_ext_put+0xa3/0xc0 mm/page_ext.c:550 __reset_page_owner+0x2de/0x430 mm/page_owner.c:300 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1108 [inline] free_unref_page+0xcfb/0xf20 mm/page_alloc.c:2638 discard_slab mm/slub.c:2677 [inline] __put_partials+0xeb/0x130 mm/slub.c:3145 put_cpu_partial+0x17c/0x250 mm/slub.c:3220 __slab_free+0x2ea/0x3d0 mm/slub.c:4449 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:247 [inline] slab_post_alloc_hook mm/slub.c:4085 [inline] slab_alloc_node mm/slub.c:4134 [inline] __do_kmalloc_node mm/slub.c:4263 [inline] __kmalloc_node_track_caller_noprof+0x1cd/0x440 mm/slub.c:4283 kmalloc_reserve+0x111/0x2a0 net/core/skbuff.c:609 __alloc_skb+0x1f3/0x440 net/core/skbuff.c:678 alloc_skb include/linux/skbuff.h:1322 [inline] alloc_skb_with_frags+0xc3/0x820 net/core/skbuff.c:6612 sock_alloc_send_pskb+0x91a/0xa60 net/core/sock.c:2883 unix_dgram_sendmsg+0x6d3/0x1f80 net/unix/af_unix.c:2027 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:744 __sys_sendto+0x39b/0x4f0 net/socket.c:2214 __do_sys_sendto net/socket.c:2226 [inline] __se_sys_sendto net/socket.c:2222 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2222 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:0x7fb2b35b89b5 RSP: 002b:00007ffd6315ac68 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fb2b35b89b5 RDX: 00000000000000a0 RSI: 000055b130d54b50 RDI: 0000000000000003 RBP: 000055b130d4c910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000013 R13: 00007fb2b3746212 R14: 00007ffd6315ad68 R15: 0000000000000000 task:syz-executor state:R running task stack:20704 pid:17529 tgid:17529 ppid:1 flags:0x20004006 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x184f/0x4c30 kernel/sched/core.c:6690 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7012 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:stack_trace_consume_entry+0x59/0x280 kernel/stacktrace.c:89 Code: 84 c0 0f 85 06 01 00 00 44 8b 43 10 48 8d 6b 08 49 89 ec 49 c1 ec 03 41 0f b6 04 14 84 c0 0f 85 1a 01 00 00 44 3b 45 00 73 3c <48> 8d 7b 0c 49 89 fd 49 c1 ed 03 41 0f b6 44 15 00 84 c0 0f 85 36 RSP: 0018:ffffc9000465f510 EFLAGS: 00000287 RAX: 0000000000000000 RBX: ffffc9000465f640 RCX: ffffffff917bd000 RDX: dffffc0000000000 RSI: ffffffff81fe6bb3 RDI: ffffc9000465f640 RBP: ffffc9000465f648 R08: 0000000000000006 R09: ffffc9000465f650 R10: ffffc9000465f5b0 R11: ffffffff818092c0 R12: 1ffff920008cbec9 R13: ffffffff818092c0 R14: ffffc9000465f640 R15: 1ffff920008cbeca arch_stack_walk+0x10e/0x150 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x76/0x430 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1108 [inline] free_unref_page+0xcfb/0xf20 mm/page_alloc.c:2638 discard_slab mm/slub.c:2677 [inline] __put_partials+0xeb/0x130 mm/slub.c:3145 put_cpu_partial+0x17c/0x250 mm/slub.c:3220 __slab_free+0x2ea/0x3d0 mm/slub.c:4449 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:247 [inline] slab_post_alloc_hook mm/slub.c:4085 [inline] slab_alloc_node mm/slub.c:4134 [inline] __do_kmalloc_node mm/slub.c:4263 [inline] __kmalloc_noprof+0x1a6/0x400 mm/slub.c:4276 kmalloc_noprof include/linux/slab.h:882 [inline] kzalloc_noprof include/linux/slab.h:1014 [inline] lsm_blob_alloc security/security.c:685 [inline] lsm_sock_alloc security/security.c:4808 [inline] security_sk_alloc+0x53/0x360 security/security.c:4824 sk_prot_alloc+0xfa/0x210 net/core/sock.c:2167 sk_alloc+0x38/0x370 net/core/sock.c:2217 inet_create+0x652/0xe70 net/ipv4/af_inet.c:326 __sock_create+0x490/0x940 net/socket.c:1576 sock_create net/socket.c:1632 [inline] __sys_socket_create net/socket.c:1669 [inline] __sys_socket+0x150/0x3c0 net/socket.c:1716 __do_compat_sys_socketcall net/compat.c:448 [inline] __se_compat_sys_socketcall+0xa73/0x1430 net/compat.c:423 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb4/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x34/0x80 arch/x86/entry/common.c:411 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf744d579 RSP: 002b:00000000f759f6e0 EFLAGS: 00000206 ORIG_RAX: 0000000000000066 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00000000f759f6f0 RDX: 00000000f743cff4 RSI: 00000000f743cff4 RDI: 0000000000000003 RBP: 00000000f759fe08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10593 jiffies! g98429 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:25136 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x184f/0x4c30 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615 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: 0 UID: 0 PID: 16 Comm: ksoftirqd/0 Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:fib6_select_path+0x3ba/0x630 Code: 89 ef 8b 54 24 24 8b 4c 24 20 e8 f1 2a 00 00 89 c3 31 ff 89 c6 e8 c6 99 2a f7 85 db 48 8b 5c 24 08 49 0f 49 df 48 8b 6c 24 10 <48> 8b 44 24 18 42 80 3c 30 00 74 0a 48 8b 7c 24 40 e8 50 5c 94 f7 RSP: 0018:ffffc900001562b8 EFLAGS: 00000246 RAX: ffffffff8a6a4237 RBX: ffff88807b9ba000 RCX: ffff88801ceb5a00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900001563d0 R08: ffffffff8a6a421b R09: ffff8881675093c0 R10: dffffc0000000000 R11: fffffbfff203a11e R12: 0000000000000000 R13: 1ffff1100f737416 R14: dffffc0000000000 R15: ffff88807b9ba0b0 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f2d30210 CR3: 000000003357a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: fffffffffffffffc DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: ip6_pol_route+0x2fc/0x15d0 net/ipv6/route.c:2235 pol_lookup_func include/net/ip6_fib.h:616 [inline] __fib6_rule_action net/ipv6/fib6_rules.c:234 [inline] fib6_rule_action+0x655/0x7c0 net/ipv6/fib6_rules.c:272 fib_rules_lookup+0x62c/0xdb0 net/core/fib_rules.c:318 fib6_rule_lookup+0x1fd/0x790 net/ipv6/fib6_rules.c:109 ip6_route_input_lookup net/ipv6/route.c:2300 [inline] ip6_route_input+0x859/0xd90 net/ipv6/route.c:2596 ip6_rcv_finish+0x144/0x180 net/ipv6/ip6_input.c:77 ip_sabotage_in+0x203/0x290 net/bridge/br_netfilter_hooks.c:1018 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 __netif_receive_skb_one_core net/core/dev.c:5670 [inline] __netif_receive_skb+0x1ea/0x650 net/core/dev.c:5783 netif_receive_skb_internal net/core/dev.c:5869 [inline] netif_receive_skb+0x1e8/0x890 net/core/dev.c:5928 NF_HOOK+0x9e/0x400 include/linux/netfilter.h:314 br_handle_frame_finish+0x18ed/0x1fe0 br_nf_hook_thresh+0x472/0x590 br_nf_pre_routing_finish_ipv6+0xaa0/0xdd0 NF_HOOK include/linux/netfilter.h:314 [inline] br_nf_pre_routing_ipv6+0x379/0x770 net/bridge/br_netfilter_ipv6.c:184 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_bridge_pre net/bridge/br_input.c:277 [inline] br_handle_frame+0x9fd/0x1530 net/bridge/br_input.c:424 __netif_receive_skb_core+0x13e8/0x4570 net/core/dev.c:5564 __netif_receive_skb_one_core net/core/dev.c:5668 [inline] __netif_receive_skb+0x12f/0x650 net/core/dev.c:5783 process_backlog+0x662/0x15b0 net/core/dev.c:6115 __napi_poll+0xcb/0x490 net/core/dev.c:6779 napi_poll net/core/dev.c:6848 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:6970 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 run_ksoftirqd+0xca/0x130 kernel/softirq.c:927 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