rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5188/1:b..l rcu: (detected by 1, t=10503 jiffies, g=62709, q=1392582 ncpus=2) task:syslogd state:R running task stack:22784 pid:5188 tgid:5188 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:unwind_next_frame+0x5a/0x22d0 arch/x86/kernel/unwind_orc.c:470 Code: 24 30 42 80 3c 20 00 74 08 48 89 df e8 1f 33 ba 00 48 89 5c 24 18 4d 8b 75 48 49 8d 6d 38 48 89 e8 48 c1 e8 03 48 89 44 24 58 <42> 80 3c 20 00 74 08 48 89 ef e8 f7 32 ba 00 49 8b 4d 38 4c 89 eb RSP: 0018:ffffc90003f16e10 EFLAGS: 00000a02 RAX: 1ffff920007e2de3 RBX: ffffc90003f16f28 RCX: ffffffff91792000 RDX: dffffc0000000000 RSI: ffffffff81faefe0 RDI: ffffc90003f16ee0 RBP: ffffc90003f16f18 R08: 0000000000000003 R09: ffffc90003f16fd0 R10: ffffc90003f16f30 R11: ffffffff818b39d0 R12: dffffc0000000000 R13: ffffc90003f16ee0 R14: ffffffff81faefe0 R15: 0000000000000000 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:1127 [inline] free_unref_page+0xd3f/0x1010 mm/page_alloc.c:2659 discard_slab mm/slub.c:2688 [inline] __put_partials+0x160/0x1c0 mm/slub.c:3157 put_cpu_partial+0x17c/0x250 mm/slub.c:3232 __slab_free+0x290/0x380 mm/slub.c:4483 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:260 [inline] __do_kmalloc_node mm/slub.c:4298 [inline] __kmalloc_noprof+0x285/0x4c0 mm/slub.c:4310 kmalloc_noprof include/linux/slab.h:905 [inline] kzalloc_noprof include/linux/slab.h:1037 [inline] tomoyo_encode2 security/tomoyo/realpath.c:45 [inline] tomoyo_encode+0x26f/0x540 security/tomoyo/realpath.c:80 tomoyo_realpath_from_path+0x59e/0x5e0 security/tomoyo/realpath.c:283 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x258/0x4f0 security/tomoyo/file.c:771 security_file_open+0xac/0x250 security/security.c:3105 do_dentry_open+0x328/0x1b70 fs/open.c:928 vfs_open+0x3e/0x330 fs/open.c:1075 do_open fs/namei.c:3828 [inline] path_openat+0x2c84/0x3590 fs/namei.c:3987 do_filp_open+0x27f/0x4e0 fs/namei.c:4014 do_sys_openat2+0x13e/0x1d0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_openat fs/open.c:1433 [inline] __se_sys_openat fs/open.c:1428 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1428 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:0x7fbb9af379a4 RSP: 002b:00007ffc5721a5a0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000555932148910 RCX: 00007fbb9af379a4 RDX: 0000000000000d41 RSI: 00007fbb9b0d6443 RDI: 00000000ffffff9c RBP: 00007fbb9b0d6443 R08: 0000000000000001 R09: 0000000000000000 R10: 00000000000001b6 R11: 0000000000000246 R12: 0000000000000d41 R13: 00000000677d0b42 R14: 0000000000000004 R15: 0000555932148a60 rcu: rcu_preempt kthread starved for 10544 jiffies! g62709 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:25976 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-rc5-syzkaller-00143-g8c817eb26230 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:memset_orig+0x82/0xb0 arch/x86/lib/memset_64.S:99 Code: 0f 1f 84 00 00 00 00 00 89 d1 83 e1 38 74 14 c1 e9 03 66 0f 1f 44 00 00 ff c9 48 89 07 48 8d 7f 08 75 f5 83 e2 07 74 0a ff ca <88> 07 48 8d 7f 01 75 f6 4c 89 d0 c3 cc cc cc cc 48 83 fa 07 76 e3 RSP: 0018:ffffc900001e6568 EFLAGS: 00000202 RAX: fbfbfbfbfbfbfbfb RBX: ffff8881db278a00 RCX: 0000000000000000 RDX: 0000000000000002 RSI: 00000000000000fb RDI: ffffed103b64f15b RBP: 0000000000000000 R08: dffffc0000000000 R09: 0000000000000000 R10: ffffed103b64f140 R11: fffffbfff203302f R12: ffffea00076c9e00 R13: ffff8881db278a00 R14: ffff8881416cb780 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f65b6eaa870 CR3: 000000003350e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: poison_slab_object mm/kasan/common.c:243 [inline] __kasan_slab_free+0x4e/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2353 [inline] slab_free mm/slub.c:4613 [inline] kmem_cache_free+0x195/0x410 mm/slub.c:4715 igmp_rcv+0x1a20/0x2840 net/ipv4/igmp.c:1131 ip_protocol_deliver_rcu+0x2e9/0x440 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x341/0x5f0 net/ipv4/ip_input.c:233 NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314 ip_sabotage_in+0x203/0x290 net/bridge/br_netfilter_hooks.c:1021 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:5674 [inline] __netif_receive_skb+0x2bf/0x650 net/core/dev.c:5787 netif_receive_skb_internal net/core/dev.c:5873 [inline] netif_receive_skb+0x1e8/0x890 net/core/dev.c:5932 NF_HOOK+0x9e/0x400 include/linux/netfilter.h:314 br_handle_frame_finish+0x18ed/0x1fe0 br_nf_hook_thresh net/bridge/br_netfilter_hooks.c:1198 [inline] br_nf_pre_routing_finish+0x15c8/0x1fd0 net/bridge/br_netfilter_hooks.c:453 NF_HOOK+0x700/0x7c0 include/linux/netfilter.h:314 br_nf_pre_routing+0xead/0x1470 net/bridge/br_netfilter_hooks.c:562 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+0x14eb/0x4690 net/core/dev.c:5568 __netif_receive_skb_one_core net/core/dev.c:5672 [inline] __netif_receive_skb+0x12f/0x650 net/core/dev.c:5787 process_backlog+0x662/0x15b0 net/core/dev.c:6119 __napi_poll+0xcb/0x490 net/core/dev.c:6885 napi_poll net/core/dev.c:6954 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:7076 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561 run_ksoftirqd+0xca/0x130 kernel/softirq.c:950 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