rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P4674/1:b..l rcu: (detected by 1, t=10503 jiffies, g=13001, q=3271680 ncpus=2) task:udevd state:R running task stack:23872 pid:4674 tgid:4674 ppid:1 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5264 [inline] __schedule+0x1893/0x4b50 kernel/sched/core.c:6607 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6929 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:should_resched arch/x86/include/asm/preempt.h:103 [inline] RIP: 0010:unwind_next_frame+0x18e6/0x22d0 arch/x86/kernel/unwind_orc.c:672 Code: 00 00 80 3d 45 a0 ef 0c 01 75 40 80 3d c2 02 d9 11 00 75 37 c6 05 b9 02 d9 11 01 e9 21 fa ff ff bf 01 00 00 00 e8 9a c9 21 00 <65> 8b 0d ab 87 c2 7e b0 01 85 c9 75 73 e8 18 67 bf ff eb 6c 80 3d RSP: 0018:ffffc9000463f210 EFLAGS: 00000297 RAX: 0000000080000001 RBX: ffffc9000463f2f0 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffc90004638000 RDI: 0000000000000001 RBP: ffffc9000463f2e0 R08: ffffc9000463f6d0 R09: ffffc9000463f330 R10: dffffc0000000000 R11: fffff520008c7e68 R12: dffffc0000000000 R13: ffffc9000463f2e0 R14: ffffc90004638000 R15: ffffc9000463f6e0 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 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:1101 [inline] free_unref_page+0xd22/0xea0 mm/page_alloc.c:2619 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+0x9e/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:4086 [inline] slab_alloc_node mm/slub.c:4135 [inline] __do_kmalloc_node mm/slub.c:4264 [inline] __kmalloc_noprof+0x1a6/0x400 mm/slub.c:4277 kmalloc_noprof include/linux/slab.h:882 [inline] tomoyo_realpath_from_path+0xcf/0x5e0 security/tomoyo/realpath.c:251 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x2b7/0x740 security/tomoyo/file.c:822 security_inode_getattr+0x130/0x330 security/security.c:2371 vfs_getattr+0x45/0x430 fs/stat.c:204 vfs_statx_path fs/stat.c:251 [inline] vfs_statx+0x199/0x490 fs/stat.c:315 vfs_fstatat+0x145/0x190 fs/stat.c:341 __do_sys_newfstatat fs/stat.c:505 [inline] __se_sys_newfstatat fs/stat.c:499 [inline] __x64_sys_newfstatat+0x11d/0x1a0 fs/stat.c:499 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:0x7ff7333165f4 RSP: 002b:00007ffe55fb3678 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 000055fd487ae6d8 RCX: 00007ff7333165f4 RDX: 00007ffe55fb3688 RSI: 000055fd4879e897 RDI: 00000000ffffff9c RBP: 000055fd73982fb8 R08: 000622a65b5e3b80 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 000622a65b5e3b80 R15: 000055fd487a2dca rcu: rcu_preempt kthread starved for 9139 jiffies! g13001 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:25232 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5264 [inline] __schedule+0x1893/0x4b50 kernel/sched/core.c:6607 __schedule_loop kernel/sched/core.c:6684 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6699 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+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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: 5236 Comm: kworker/1:3 Not tainted 6.11.0-syzkaller-07462-g1868f9d0260e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: events nsim_dev_trap_report_work RIP: 0010:current_gfp_context include/linux/sched/mm.h:259 [inline] RIP: 0010:fs_reclaim_acquire+0x2a/0x140 mm/page_alloc.c:3835 Code: f3 0f 1e fa 55 53 89 fd 65 48 8b 1c 25 c0 d6 03 00 48 83 c3 2c 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 <84> c0 0f 85 e2 00 00 00 8b 03 a9 00 00 8c 11 0f 85 85 00 00 00 f7 RSP: 0018:ffffc90000a17ae0 EFLAGS: 00000217 RAX: 0000000000000000 RBX: ffff88805fad002c RCX: dffffc0000000000 RDX: 0000000000000018 RSI: 0000000000002800 RDI: 0000000000002800 RBP: 0000000000002800 R08: ffffffff8142caec R09: 1ffffffff2849f0d R10: dffffc0000000000 R11: fffffbfff2849f0e R12: ffff88823bc94f1c R13: ffff88801ac41780 R14: ffffffff81f09998 R15: 0000000000002800 FS: 0000000000000000(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555600f25c8 CR3: 000000007b5ea000 CR4: 0000000000350ef0 Call Trace: might_alloc include/linux/sched/mm.h:334 [inline] slab_pre_alloc_hook mm/slub.c:4037 [inline] slab_alloc_node mm/slub.c:4115 [inline] __kmalloc_cache_noprof+0x3d/0x2c0 mm/slub.c:4291 kmalloc_noprof include/linux/slab.h:878 [inline] slab_free_hook mm/slub.c:2295 [inline] slab_free mm/slub.c:4580 [inline] kmem_cache_free+0x178/0x420 mm/slub.c:4682 nf_conntrack_free+0x2fd/0x390 net/netfilter/nf_conntrack_core.c:1689 nf_ct_put include/net/netfilter/nf_conntrack.h:186 [inline] nf_conntrack_in+0xb51/0x1890 net/netfilter/nf_conntrack_core.c:2015 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xc5/0x220 net/netfilter/core.c:626 nf_hook+0x2c4/0x450 include/linux/netfilter.h:269 __ip_local_out+0x3d9/0x4e0 net/ipv4/ip_output.c:119 ip_local_out+0x26/0x70 net/ipv4/ip_output.c:128 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+0x4af/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+0xc5/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+0x3a6/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+0xcd/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+0x2c7/0x980 kernel/softirq.c:554 do_softirq+0x11b/0x1e0 kernel/softirq.c:455 __local_bh_enable_ip+0x1bb/0x200 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+0x75d/0xaa0 drivers/net/netdevsim/dev.c:850 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa65/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244