rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=6f34/1/0x4000000000000000 softirq=9915/9919 fqs=3 rcu: (detected by 0, t=10502 jiffies, g=10877, q=276 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5706 Comm: syz.3.93 Not tainted 6.11.0-rc2-syzkaller-00257-g5189dafa4cf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:check_kcov_mode kernel/kcov.c:182 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x18/0x70 kernel/kcov.c:216 Code: 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 04 24 65 48 8b 0c 25 00 d7 03 00 65 8b 15 b0 5f 70 7e <81> e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 1c 16 00 00 RSP: 0018:ffffc90000a18c88 EFLAGS: 00000046 RAX: ffffffff89b46d1e RBX: 17f1005e74000000 RCX: ffff88802b379e00 RDX: 0000000000010404 RSI: 0000000004000000 RDI: 0000000000000000 RBP: ffff88807b01d4c8 R08: ffffffff89b46a93 R09: fffff52000143180 R10: dffffc0000000000 R11: fffff52000143180 R12: dffffc0000000000 R13: ffff88807b01d408 R14: ffff88807b01d400 R15: ffff888023cec340 FS: 00007f05d1eb36c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002c40 CR3: 000000005b53a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: should_change_schedules net/sched/sch_taprio.c:884 [inline] advance_sched+0x80e/0xca0 net/sched/sch_taprio.c:968 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 ce 16 40 f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 83 6e ab f5 65 8b 05 f4 55 4c 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc90003d5e5e0 EFLAGS: 00000206 RAX: a8d3fc1bcadd7100 RBX: 1ffff920007abcc0 RCX: ffffffff81702e4a RDX: dffffc0000000000 RSI: ffffffff8bead560 RDI: 0000000000000001 RBP: ffffc90003d5e670 R08: ffffffff934ef947 R09: 1ffffffff269df28 R10: dffffc0000000000 R11: fffffbfff269df29 R12: dffffc0000000000 R13: 1ffff920007abcbc R14: ffffc90003d5e600 R15: 0000000000000246 stack_depot_save_flags+0x6e4/0x830 lib/stackdepot.c:662 save_stack+0x109/0x1f0 mm/page_owner.c:157 __set_page_owner+0x92/0x800 mm/page_owner.c:320 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1493 prep_new_page mm/page_alloc.c:1501 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3442 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4700 __alloc_pages_node_noprof include/linux/gfp.h:269 [inline] alloc_pages_node_noprof include/linux/gfp.h:296 [inline] ___kmalloc_large_node+0x8b/0x1d0 mm/slub.c:4103 __kmalloc_large_noprof+0x1f/0x80 mm/slub.c:4120 kmalloc_noprof include/linux/slab.h:678 [inline] kmalloc_array_noprof include/linux/slab.h:725 [inline] update_or_create_fnhe+0x1ca/0x16e0 net/ipv4/route.c:645 __ip_rt_update_pmtu+0x790/0xa50 net/ipv4/route.c:1031 ipv4_sk_update_pmtu+0x1002/0x1d20 net/ipv4/route.c:1121 raw_err net/ipv4/raw.c:218 [inline] raw_icmp_error+0x638/0xdc0 net/ipv4/raw.c:291 icmp_socket_deliver+0xee/0x330 net/ipv4/icmp.c:837 icmp_unreach+0x5a0/0x9a0 net/ipv4/icmp.c:961 icmp_rcv+0xba0/0x1100 net/ipv4/icmp.c:1288 ip_protocol_deliver_rcu+0x2e6/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 NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314 __netif_receive_skb_one_core net/core/dev.c:5661 [inline] __netif_receive_skb+0x2bf/0x650 net/core/dev.c:5775 netif_receive_skb_internal net/core/dev.c:5861 [inline] netif_receive_skb+0x1e8/0x890 net/core/dev.c:5921 tun_rx_batched+0x1b7/0x8f0 drivers/net/tun.c:1549 tun_get_user+0x2f84/0x4720 drivers/net/tun.c:2006 tun_chr_write_iter+0x113/0x1f0 drivers/net/tun.c:2052 new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa72/0xc90 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 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:0x7f05d11764df Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 c9 8c 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 1c 8d 02 00 48 RSP: 002b:00007f05d1eb3000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f05d1305f80 RCX: 00007f05d11764df RDX: 000000000000009a RSI: 0000000020000440 RDI: 00000000000000c8 RBP: 00007f05d11e58ee R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000009a R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f05d1305f80 R15: 00007ffe0d1730d8 rcu: rcu_preempt kthread starved for 10496 jiffies! g10877 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 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:25816 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2034 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2236 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: 0 UID: 0 PID: 52 Comm: kworker/u8:3 Not tainted 6.11.0-rc2-syzkaller-00257-g5189dafa4cf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:312 [inline] RIP: 0010:smp_call_function_many_cond+0x1860/0x29d0 kernel/smp.c:856 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 79 14 0c 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 24 10 0c 00 eb 38 f3 90 <42> 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 08 10 RSP: 0018:ffffc90000bc7700 EFLAGS: 00000293 RAX: ffffffff81876738 RBX: 1ffff110172688f1 RCX: ffff888015fc8000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000bc78e0 R08: ffffffff81876707 R09: 1ffffffff269df00 R10: dffffc0000000000 R11: fffffbfff269df01 R12: dffffc0000000000 R13: ffff8880b9344788 R14: ffff8880b923fb40 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055557e618808 CR3: 000000000e534000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2295 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:833 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 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