rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5926/1:b..l rcu: (detected by 0, t=10502 jiffies, g=19661, q=633586 ncpus=2) task:syz.1.85 state:R running task stack:23512 pid:5926 tgid:5925 ppid:5488 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1843/0x4ae0 kernel/sched/core.c:6675 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6997 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:__reset_page_owner+0x82/0x430 mm/page_owner.c:298 Code: 03 42 0f b6 04 28 84 c0 0f 85 8d 03 00 00 8b 03 89 44 24 20 bf 00 28 00 00 e8 ca 03 00 00 41 89 c6 65 48 8b 04 25 80 d7 03 00 <48> 89 44 24 18 0f b7 6c 24 04 bf 20 00 00 00 89 ee e8 78 e0 8e ff RSP: 0018:ffffc900042077e8 EFLAGS: 00000246 RAX: ffff888027c55a00 RBX: ffff88801e124d10 RCX: 0000000000040000 RDX: ffffc90009629000 RSI: 0000000000007f8b RDI: 0000000000007f8c RBP: 0000000000000000 R08: ffffffff8205dc05 R09: 000000000000000f R10: dffffc0000000000 R11: fffffbfff20375e6 R12: 0000000000000003 R13: dffffc0000000000 R14: 00000000062803df R15: ffff88801e124d00 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1108 [inline] free_unref_page+0xcd0/0xf00 mm/page_alloc.c:2638 discard_slab mm/slub.c:2678 [inline] __put_partials+0xeb/0x130 mm/slub.c:3146 put_cpu_partial+0x17c/0x250 mm/slub.c:3221 __slab_free+0x2ea/0x3d0 mm/slub.c:4450 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_kmalloc+0x23/0xb0 mm/kasan/common.c:385 kasan_kmalloc include/linux/kasan.h:257 [inline] __kmalloc_cache_noprof+0x19c/0x2c0 mm/slub.c:4296 kmalloc_noprof include/linux/slab.h:878 [inline] kzalloc_noprof include/linux/slab.h:1014 [inline] bpf_prog_alloc_no_stats+0xd8/0x4b0 kernel/bpf/core.c:108 bpf_prog_alloc+0x3a/0x1b0 kernel/bpf/core.c:145 bpf_prog_load+0x7f7/0x20f0 kernel/bpf/syscall.c:2756 __sys_bpf+0x4ee/0x810 kernel/bpf/syscall.c:5634 __do_sys_bpf kernel/bpf/syscall.c:5741 [inline] __se_sys_bpf kernel/bpf/syscall.c:5739 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5739 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:0x7f9f9a37df39 RSP: 002b:00007f9f9b225038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f9f9a535f80 RCX: 00007f9f9a37df39 RDX: 0000000000000090 RSI: 0000000020000200 RDI: 0000000000000005 RBP: 00007f9f9a3f0216 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f9f9a535f80 R15: 00007ffcb8232138 rcu: rcu_preempt kthread starved for 10105 jiffies! g19661 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:25744 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1843/0x4ae0 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6767 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: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.11.0-syzkaller-11558-g075dbe9f6e3c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:unwind_get_return_address+0x45/0x90 arch/x86/kernel/unwind_orc.c:369 Code: e8 03 42 0f b6 04 30 84 c0 75 4b 83 3b 00 74 3a 48 83 c3 48 49 89 df 49 c1 ef 03 43 80 3c 37 00 74 08 48 89 df e8 7b 1d ba 00 <48> 8b 3b e8 d3 71 1e 00 85 c0 74 14 43 80 3c 37 00 74 08 48 89 df RSP: 0018:ffffc90000a17540 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc90000a175a8 RCX: 0000000080000101 RDX: dffffc0000000000 RSI: ffffc90000a11000 RDI: ffffc90000a17560 RBP: ffffc90000a175f0 R08: ffffc90000a17ad0 R09: 0000000000000000 R10: ffffc90000a175b0 R11: fffff52000142eb8 R12: ffff88801da80000 R13: ffffffff81806750 R14: dffffc0000000000 R15: 1ffff92000142eb5 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9f9b203f98 CR3: 000000006bb2e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0xfd/0x150 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:377 [inline] __kasan_kmalloc+0x98/0xb0 mm/kasan/common.c:394 kasan_kmalloc include/linux/kasan.h:257 [inline] __kmalloc_cache_noprof+0x19c/0x2c0 mm/slub.c:4296 kmalloc_noprof include/linux/slab.h:878 [inline] kzalloc_noprof include/linux/slab.h:1014 [inline] ref_tracker_alloc+0x14b/0x490 lib/ref_tracker.c:203 __netdev_tracker_alloc include/linux/netdevice.h:4050 [inline] netdev_hold include/linux/netdevice.h:4079 [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:1612 [inline] __mkroute_output net/ipv4/route.c:2573 [inline] ip_route_output_key_hash_rcu+0x13cc/0x2390 net/ipv4/route.c:2795 ip_route_output_key_hash+0x193/0x2b0 net/ipv4/route.c:2624 __ip_route_output_key include/net/route.h:141 [inline] ip_route_output_flow+0x29/0x140 net/ipv4/route.c:2852 ip_route_output_key include/net/route.h:151 [inline] ip_route_me_harder+0x80d/0x1300 net/ipv4/netfilter.c:53 synproxy_send_tcp+0x356/0x6c0 net/netfilter/nf_synproxy_core.c:431 synproxy_send_client_synack+0x8b8/0xf30 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:5662 [inline] __netif_receive_skb+0x2bf/0x650 net/core/dev.c:5775 process_backlog+0x662/0x15b0 net/core/dev.c:6107 __napi_poll+0xcb/0x490 net/core/dev.c:6771 napi_poll net/core/dev.c:6840 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:6962 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1037 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+0x21/0x30 drivers/acpi/processor_idle.c:112 Code: 90 90 90 90 90 90 90 90 90 65 48 8b 04 25 80 d7 03 00 48 f7 00 08 00 00 00 75 10 66 90 0f 00 2d 55 5c ad 00 f3 0f 1e fa fb f4 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 RSP: 0018:ffffc900001a7d08 EFLAGS: 00000246 RAX: ffff88801da80000 RBX: ffff8880202f6064 RCX: 00000000000a95c1 RDX: 0000000000000001 RSI: ffff8880202f6000 RDI: ffff8880202f6064 RBP: 000000000003a978 R08: ffff8880b8737e9b R09: 1ffff110170e6fd3 R10: dffffc0000000000 R11: ffffffff8bbc97a0 R12: ffff88801ebf5000 R13: 0000000000000001 R14: 0000000000000001 R15: ffffffff8f11a540 acpi_idle_enter+0xe4/0x140 drivers/acpi/processor_idle.c:702 cpuidle_enter_state+0x109/0x470 drivers/cpuidle/cpuidle.c:264 cpuidle_enter+0x5d/0xa0 drivers/cpuidle/cpuidle.c:385 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:230 [inline] do_idle+0x375/0x5d0 kernel/sched/idle.c:326 cpu_startup_entry+0x42/0x60 kernel/sched/idle.c:424 start_secondary+0x102/0x110 arch/x86/kernel/smpboot.c:314 common_startup_64+0x13e/0x147