rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P8386/1:b..l rcu: (detected by 0, t=10503 jiffies, g=42821, q=1571763 ncpus=2) task:syz-executor state:R running task stack:20880 pid:8386 tgid:8386 ppid:8382 flags:0x00000000 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:arch___clear_bit arch/x86/include/asm/bitops.h:94 [inline] RIP: 0010:___clear_bit include/asm-generic/bitops/instrumented-non-atomic.h:45 [inline] RIP: 0010:__update_page_owner_free_handle mm/page_owner.c:272 [inline] RIP: 0010:__reset_page_owner+0x157/0x430 mm/page_owner.c:298 Code: 00 00 4c 8b 35 9a 26 a0 0c 4d 01 fe 83 7c 24 0c 00 74 41 e8 2b 29 8e ff 4c 89 ff be 08 00 00 00 e8 7e bb f5 ff 49 0f ba 37 01 <4c> 89 e9 4d 8d 6e 0c 4c 89 e8 48 c1 e8 03 48 89 cb 0f b6 04 08 84 RSP: 0018:ffffc9000231f7e8 EFLAGS: 00000257 RAX: ffffffff82069501 RBX: 0000000000000008 RCX: ffffffff82069602 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff88801e006950 RBP: 00000000000020c2 R08: ffff88801e006957 R09: 1ffff11003c00d2a R10: dffffc0000000000 R11: ffffed1003c00d2b R12: 0000000000000001 R13: dffffc0000000000 R14: ffff88801e006958 R15: ffff88801e006950 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_kmalloc+0x23/0xb0 mm/kasan/common.c:385 kasan_kmalloc include/linux/kasan.h:257 [inline] __do_kmalloc_node mm/slub.c:4265 [inline] __kmalloc_noprof+0x1fc/0x400 mm/slub.c:4277 kmalloc_noprof include/linux/slab.h:882 [inline] kzalloc_noprof include/linux/slab.h:1004 [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_path_number_perm+0x23a/0x880 security/tomoyo/file.c:723 security_file_ioctl+0xc6/0x2a0 security/security.c:2908 __do_sys_ioctl fs/ioctl.c:901 [inline] __se_sys_ioctl+0x47/0x170 fs/ioctl.c:893 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:0x7f3857f7dafb RSP: 002b:00007f385825f630 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f3857f7dafb RDX: 00007f385825f690 RSI: 0000000000008933 RDI: 0000000000000005 RBP: 00007f385825f690 R08: 0000000000000007 R09: 00316e616c766361 R10: 0000000000000017 R11: 0000000000000246 R12: 00007f385825f71c R13: 00007f3857ff1aca R14: 00007f3858c64620 R15: 00007f3857ff1aca rcu: rcu_preempt kthread starved for 10517 jiffies! g42821 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:24272 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+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: 25 Comm: kworker/1:0 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:stack_trace_consume_entry+0x0/0x280 kernel/stacktrace.c:83 Code: d4 7b 00 e9 6a ff ff ff e8 dd ae 3e 0a 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 55 41 57 41 56 41 55 41 54 53 48 83 ec 18 48 89 fb 48 RSP: 0000:ffffc90000a17c78 EFLAGS: 00000286 RAX: ffffffff81fc4790 RBX: ffffc90000a17c80 RCX: ffffffff917a7000 RDX: ffffffff91952801 RSI: ffffffff81fc4790 RDI: ffffc90000a17d60 RBP: ffffc90000a17d10 R08: ffffc90000a18038 R09: 0000000000000000 R10: ffffc90000a17cd0 R11: ffffffff81807a70 R12: ffff88801cee1e00 R13: ffffffff81807a70 R14: ffffc90000a17d60 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fd1cff8 CR3: 0000000025ce0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x10e/0x150 arch/x86/kernel/stacktrace.c:27 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 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x59/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:2343 [inline] slab_free mm/slub.c:4580 [inline] kfree+0x1a1/0x440 mm/slub.c:4728 skb_kfree_head net/core/skbuff.c:1086 [inline] skb_free_head net/core/skbuff.c:1098 [inline] skb_release_data+0x6a0/0x8a0 net/core/skbuff.c:1125 skb_release_all net/core/skbuff.c:1190 [inline] __kfree_skb net/core/skbuff.c:1204 [inline] consume_skb+0x9f/0xf0 net/core/skbuff.c:1436 nft_synproxy_eval_v4+0x3d2/0x610 net/netfilter/nft_synproxy.c:60 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+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+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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