rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10506 ticks this GP) idle=db94/1/0x4000000000000000 softirq=14372/14377 fqs=11 rcu: (t=10501 jiffies g=18597 q=652 ncpus=2) rcu: rcu_preempt kthread starved for 10471 jiffies! g18597 f0x0 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:28408 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_timeout+0x14e/0x2b0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1808 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5029 Comm: syz-executor343 Not tainted 6.4.0-rc7-syzkaller-00215-g6709d4b7bc2e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x31/0x70 kernel/kcov.c:207 Code: 5d 70 7f 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 c0 b9 03 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 0c 16 00 00 <85> c0 74 2b 8b 82 e8 15 00 00 83 f8 02 75 20 48 8b 8a f0 15 00 00 RSP: 0018:ffffc900001e0c48 EFLAGS: 00000206 RAX: 0000000000000000 RBX: 000000002af31dc4 RCX: 0000000000000100 RDX: ffff888075fa9dc0 RSI: ffffffff883f4dbd RDI: 0000000000000006 RBP: 00000000044b82fa R08: 0000000000000006 R09: 0000000000000000 R10: 00004189374bc6a7 R11: 0000000000094001 R12: 00000000000003e8 R13: 00004189374bc6a7 R14: 0000000000000005 R15: 0000000000000000 FS: 0000555555938300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000080 CR3: 000000007e881000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pie_calculate_probability+0x29d/0x7c0 net/sched/sch_pie.c:345 fq_pie_timer+0x1dd/0x4f0 net/sched/sch_fq_pie.c:387 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700 expire_timers+0x29b/0x4b0 kernel/time/timer.c:1751 __run_timers kernel/time/timer.c:2022 [inline] __run_timers kernel/time/timer.c:1995 [inline] run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035 __do_softirq+0x1d4/0x905 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x114/0x190 kernel/softirq.c:650 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x3c/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 66 7f 51 f7 48 89 ef e8 8e ed 51 f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 ff c2 43 f7 65 8b 05 60 51 ef 75 85 c0 74 0a 5b 5d c3 e8 9c 7c RSP: 0018:ffffc90003b7fc80 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff1cf4cf9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff8880b992b840 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff1cf5302 R11: 0000000000000001 R12: 0000000000000001 R13: dffffc0000000000 R14: ffffc90003b7fdd8 R15: ffff888075fa9dc0 hrtimer_start_expires include/linux/hrtimer.h:432 [inline] hrtimer_sleeper_start_expires kernel/time/hrtimer.c:1965 [inline] do_nanosleep+0x131/0x4f0 kernel/time/hrtimer.c:2041 hrtimer_nanosleep+0x19b/0x430 kernel/time/hrtimer.c:2097 common_nsleep+0xa6/0xd0 kernel/time/posix-timers.c:1240 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1281 [inline] __se_sys_clock_nanosleep kernel/time/posix-timers.c:1258 [inline] __x64_sys_clock_nanosleep+0x32e/0x480 kernel/time/posix-timers.c:1258 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe1fda5c50a Code: 83 ff 03 74 3b 48 83 ec 28 b8 fa ff ff ff 83 ff 02 49 89 ca 0f 44 f8 64 8b 04 25 18 00 00 00 85 c0 75 2d b8 e6 00 00 00 0f 05 <89> c2 f7 da 3d 00 f0 ff ff b8 00 00 00 00 0f 47 c2 48 83 c4 28 c3 RSP: 002b:00007ffdfe092690 EFLAGS: 00000246 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 00007ffdfe092720 RCX: 00007fe1fda5c50a RDX: 00007ffdfe0926d0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000000000c2 R08: 0000000000000110 R09: 00007ffdfe0f7080 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdfe092710 R13: 00000000000f4240 R14: 0000000000042621 R15: 00007ffdfe092704 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.596 msecs CPU: 0 PID: 56 Comm: kworker/u4:4 Not tainted 6.4.0-rc7-syzkaller-00215-g6709d4b7bc2e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:pie_calculate_probability+0x3d5/0x7c0 net/sched/sch_pie.c:400 Code: fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 3e 03 00 00 8b 44 24 28 4c 89 f6 <89> 43 3c 49 8b 6d 00 48 d1 ed 48 89 ef e8 19 f6 44 f9 4c 39 f5 0f RSP: 0018:ffffc90000007c50 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc90014539320 RCX: 0000000000000100 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc9001453935c RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000094001 R12: fffffff0a3da8872 R13: ffff88823bdb0f00 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe1fdaaf370 CR3: 000000007e881000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fq_pie_timer+0x1dd/0x4f0 net/sched/sch_fq_pie.c:387 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700 expire_timers+0x29b/0x4b0 kernel/time/timer.c:1751 __run_timers kernel/time/timer.c:2022 [inline] __run_timers kernel/time/timer.c:1995 [inline] run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035 __do_softirq+0x1d4/0x905 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x114/0x190 kernel/softirq.c:650 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_acquire+0x1f5/0x520 kernel/locking/lockdep.c:5673 Code: 98 9c 7e 83 f8 01 0f 85 b9 02 00 00 9c 58 f6 c4 02 0f 85 a4 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc90001577b48 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff920002aef6b RCX: 000000000001016c RDX: 1ffff11002e5e8c8 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff9152bd07 R10: fffffbfff22a57a0 R11: 0000000000000001 R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff8c640a70 R15: 0000000000000000 percpu_down_read include/linux/percpu-rwsem.h:51 [inline] cpus_read_lock+0x42/0x160 kernel/cpu.c:310 static_key_enable+0x12/0x20 kernel/jump_label.c:217 toggle_allocation_gate mm/kfence/core.c:831 [inline] toggle_allocation_gate+0xf8/0x230 mm/kfence/core.c:823 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308