rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5673/1:b..l P5678/1:b..l rcu: (detected by 1, t=10503 jiffies, g=13153, q=817690 ncpus=2) task:dhcpcd-run-hook state:R running task stack:25392 pid:5678 tgid:5678 ppid:4887 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0xef5/0x5750 kernel/sched/core.c:6675 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:6997 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:preempt_count arch/x86/include/asm/preempt.h:26 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:183 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0xc/0x70 kernel/kcov.c:217 Code: cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 65 48 8b 15 c4 52 76 7e <65> 8b 05 c5 52 76 7e a9 00 01 ff 00 48 8b 34 24 74 1d f6 c4 01 74 RSP: 0018:ffffc9000d187ad0 EFLAGS: 00000206 RAX: 0000000000000000 RBX: 0000000000000005 RCX: ffffffff81f8c260 RDX: ffff888032388000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: ffff88801e26e710 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000006160342 R11: 0000000000000000 R12: 0000000006160342 R13: 0000000000000008 R14: 0000000000000003 R15: ffff88801e26e718 __update_page_owner_free_handle mm/page_owner.c:272 [inline] __reset_page_owner+0xed/0x400 mm/page_owner.c:298 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1108 [inline] free_unref_page+0x5f4/0xdc0 mm/page_alloc.c:2638 __put_partials+0x14c/0x170 mm/slub.c:3146 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4e/0x120 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x192/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:247 [inline] slab_post_alloc_hook mm/slub.c:4086 [inline] slab_alloc_node mm/slub.c:4135 [inline] kmem_cache_alloc_noprof+0x121/0x2f0 mm/slub.c:4142 lsm_file_alloc security/security.c:734 [inline] security_file_alloc+0x34/0x2b0 security/security.c:2853 init_file+0x93/0x230 fs/file_table.c:153 alloc_empty_file+0x91/0x1e0 fs/file_table.c:213 alloc_file fs/file_table.c:326 [inline] alloc_file_pseudo+0x147/0x210 fs/file_table.c:357 create_pipe_files+0x364/0x850 fs/pipe.c:938 __do_pipe_flags fs/pipe.c:973 [inline] do_pipe2+0xb0/0x1d0 fs/pipe.c:1024 __do_sys_pipe2 fs/pipe.c:1042 [inline] __se_sys_pipe2 fs/pipe.c:1040 [inline] __x64_sys_pipe2+0x54/0x80 fs/pipe.c:1040 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:0x7f4daed2d19a RSP: 002b:00007fffb41979a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000125 RAX: ffffffffffffffda RBX: 0000000000000084 RCX: 00007f4daed2d19a RDX: 0000561b38245b78 RSI: 0000000000000000 RDI: 00007fffb4197a20 RBP: 0000561b38243510 R08: 0000561b38245b78 R09: d3f0d0a2a836999e R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000084 R13: 0000000000000000 R14: 0000561b38243f91 R15: 0000000000000124 task:syz.1.119 state:R running task stack:27824 pid:5673 tgid:5672 ppid:5221 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0xef5/0x5750 kernel/sched/core.c:6675 preempt_schedule_common+0x44/0xc0 kernel/sched/core.c:6854 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] zap_pte_range mm/memory.c:1691 [inline] zap_pmd_range mm/memory.c:1739 [inline] zap_pud_range mm/memory.c:1768 [inline] zap_p4d_range mm/memory.c:1789 [inline] unmap_page_range+0xb01/0x3cf0 mm/memory.c:1810 unmap_single_vma+0x194/0x2b0 mm/memory.c:1856 unmap_vmas+0x22f/0x490 mm/memory.c:1900 exit_mmap+0x1c6/0xb30 mm/mmap.c:1864 __mmput+0x12a/0x480 kernel/fork.c:1347 mmput+0x62/0x70 kernel/fork.c:1369 exit_mm kernel/exit.c:571 [inline] do_exit+0x9bf/0x2d70 kernel/exit.c:926 do_group_exit+0xd3/0x2a0 kernel/exit.c:1088 get_signal+0x25fb/0x2770 kernel/signal.c:2917 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7eff1ad7dbfb RSP: 002b:00007eff1bbdaf10 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: fffffffffffffffc RBX: 0000000000000003 RCX: 00007eff1ad7dbfb RDX: 00007eff1bbdbfe0 RSI: 0000000080085502 RDI: 0000000000000003 RBP: 00007eff1bbdbfe0 R08: 0000000000000080 R09: 00007eff1bbdafd8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000080085502 R13: 0000000800000000 R14: 0000000000000012 R15: 00007eff1adfa273 rcu: rcu_preempt kthread starved for 10205 jiffies! g13153 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:26992 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0xef5/0x5750 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6767 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2615 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2045 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2247 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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: 938 Comm: kworker/1:2 Not tainted 6.12.0-rc1-syzkaller-00113-g8c245fe7dde3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events nsim_dev_trap_report_work RIP: 0010:arch_stack_walk+0x9b/0x100 arch/x86/kernel/stacktrace.c:24 Code: ea 08 00 8b 95 70 ff ff ff 85 d2 75 21 eb 2f 4c 89 ef 41 ff d4 0f 1f 00 84 c0 74 22 48 89 df e8 eb c9 08 00 8b 85 70 ff ff ff <85> c0 74 10 48 89 df e8 29 c4 08 00 48 85 c0 48 89 c6 75 d1 48 8b RSP: 0018:ffffc90000a18038 EFLAGS: 00000296 RAX: 0000000000000002 RBX: ffffc90000a18038 RCX: 0000000000000000 RDX: 0000000000000103 RSI: ffffc90000a18fc8 RDI: 0000000000000001 RBP: ffffc90000a180c8 R08: ffffc90000a1806c R09: ffffffff90f17e40 R10: ffffc90000a18038 R11: 000000000000506f R12: ffffffff81795040 R13: ffffc90000a180f8 R14: 0000000000000000 R15: ffff88802601bc00 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f89e70843b0 CR3: 000000002e184000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:377 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:394 kasan_kmalloc include/linux/kasan.h:257 [inline] __do_kmalloc_node mm/slub.c:4265 [inline] __kmalloc_node_track_caller_noprof+0x20f/0x430 mm/slub.c:4284 kmalloc_reserve+0xef/0x2c0 net/core/skbuff.c:609 __alloc_skb+0x164/0x380 net/core/skbuff.c:678 alloc_skb include/linux/skbuff.h:1322 [inline] synproxy_send_client_synack+0x1ad/0xcf0 net/netfilter/nf_synproxy_core.c:460 nft_synproxy_eval_v4 net/netfilter/nft_synproxy.c:59 [inline] nft_synproxy_do_eval+0xa49/0xd60 net/netfilter/nft_synproxy.c:141 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] ip_local_deliver+0x169/0x1f0 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:460 [inline] ip_rcv_finish net/ipv4/ip_input.c:449 [inline] NF_HOOK include/linux/netfilter.h:314 [inline] NF_HOOK include/linux/netfilter.h:308 [inline] ip_rcv+0x2c3/0x5d0 net/ipv4/ip_input.c:569 __netif_receive_skb_one_core+0x199/0x1e0 net/core/dev.c:5666 __netif_receive_skb+0x1d/0x160 net/core/dev.c:5779 process_backlog+0x443/0x15f0 net/core/dev.c:6111 __napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:6775 napi_poll net/core/dev.c:6844 [inline] net_rx_action+0xa92/0x1010 net/core/dev.c:6966 handle_softirqs+0x213/0x8f0 kernel/softirq.c:554 do_softirq kernel/softirq.c:455 [inline] do_softirq+0xb2/0xf0 kernel/softirq.c:442 __local_bh_enable_ip+0x100/0x120 kernel/softirq.c:382 spin_unlock_bh include/linux/spinlock.h:396 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline] nsim_dev_trap_report_work+0x870/0xc80 drivers/net/netdevsim/dev.c:850 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244