rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (10500 ticks this GP) idle=c05/1/0x4000000000000000 softirq=22551/22551 fqs=0 (t=10501 jiffies g=28797 q=102) rcu: rcu_preempt kthread timer wakeup didn't happen for 10500 jiffies! g28797 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=18311 rcu: rcu_preempt kthread starved for 10501 jiffies! g28797 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26168 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7535 Comm: syz.1.1208 Not tainted 5.15.163-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:validate_chain+0xd5/0x5930 kernel/locking/lockdep.c:3755 Code: 89 8c 24 98 00 00 00 42 c6 44 21 2b f3 48 89 b4 24 a8 00 00 00 4c 8d 6e 20 4c 89 e8 48 c1 e8 03 48 89 44 24 60 42 0f b6 04 20 <84> c0 0f 85 ab 46 00 00 41 8b 5d 00 89 d8 25 00 80 04 00 3d 00 00 RSP: 0018:ffffc900000077c0 EFLAGS: 00000802 RAX: 0000000000000000 RBX: ffffffff8f96a8c0 RCX: 1ffff92000000f18 RDX: 0000000000000001 RSI: ffff888021778af0 RDI: ffff888021778000 RBP: ffffc90000007a70 R08: dffffc0000000000 R09: fffffbfff1f8e01a R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff888021778b10 R14: 4b21b045db16ba9e R15: ffff888021778b10 FS: 00007feaa60856c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3171eff8 CR3: 000000007eee0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1295/0x1ff0 kernel/locking/lockdep.c:5012 lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline] _raw_spin_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1690 [inline] __hrtimer_run_queues+0x662/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: d1 68 f6 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 8e 6d 26 f7 48 89 df e8 66 c1 27 f7 e8 b1 79 4a f7 fb bf 01 00 00 00 c6 05 1b f7 65 8b 05 07 0b c6 75 85 c0 74 02 5b c3 e8 d4 27 c4 RSP: 0018:ffffc90002fa7d20 EFLAGS: 00000282 RAX: 6ae4c37ba908e400 RBX: ffff8880615dd888 RCX: ffffffff91467f03 RDX: dffffc0000000000 RSI: ffffffff8a8b2a00 RDI: 0000000000000001 RBP: 00000000ffffff83 R08: ffffffff8186de90 R09: ffffed100c2bbb12 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880615dd800 R13: 7fffffffffffffff R14: ffff8880615dd880 R15: 0000000000000003 spin_unlock_irq include/linux/spinlock.h:413 [inline] do_timerfd_settime+0xd1a/0x1000 fs/timerfd.c:521 __do_sys_timerfd_settime fs/timerfd.c:567 [inline] __se_sys_timerfd_settime fs/timerfd.c:558 [inline] __x64_sys_timerfd_settime+0x16b/0x220 fs/timerfd.c:558 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7feaa7c04f19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007feaa6085048 EFLAGS: 00000246 ORIG_RAX: 000000000000011e RAX: ffffffffffffffda RBX: 00007feaa7d94f60 RCX: 00007feaa7c04f19 RDX: 0000000020000000 RSI: 0000000000000003 RDI: 0000000000000003 RBP: 00007feaa7c73e68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007feaa7d94f60 R15: 00007ffd31370a98 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7535 Comm: syz.1.1208 Not tainted 5.15.163-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:lock_release+0x6d/0x9a0 kernel/locking/lockdep.c:5631 Code: 41 48 c7 44 24 68 54 d5 19 8c 48 c7 44 24 70 30 d2 62 81 4c 8d 64 24 60 49 c1 ec 03 48 b8 f1 f1 f1 f1 04 f2 00 f2 4b 89 04 3c <48> b8 f2 f2 00 f3 f3 f3 f3 f3 4b 89 44 3c 08 0f 1f 44 00 00 65 8b RSP: 0018:ffffc90000007b80 EFLAGS: 00000802 RAX: f200f204f1f1f1f1 RBX: 0000000000000001 RCX: ffff888021778000 RDX: 0000000080010001 RSI: ffffffff8880c525 RDI: ffffffff8c91fb20 RBP: ffffc90000007cb0 R08: ffffffff8880ce40 R09: ffffed100f6e1632 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000f7c R13: ffffffff8880c525 R14: dffffc0000000000 R15: dffffc0000000000 FS: 00007feaa60856c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3171eff8 CR3: 000000007eee0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_unlock include/linux/rcupdate.h:772 [inline] advance_sched+0x7d4/0x940 net/sched/sch_taprio.c:771 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: d1 68 f6 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 8e 6d 26 f7 48 89 df e8 66 c1 27 f7 e8 b1 79 4a f7 fb bf 01 00 00 00 c6 05 1b f7 65 8b 05 07 0b c6 75 85 c0 74 02 5b c3 e8 d4 27 c4 RSP: 0018:ffffc90002fa7d20 EFLAGS: 00000282 RAX: 6ae4c37ba908e400 RBX: ffff8880615dd888 RCX: ffffffff91467f03 RDX: dffffc0000000000 RSI: ffffffff8a8b2a00 RDI: 0000000000000001 RBP: 00000000ffffff83 R08: ffffffff8186de90 R09: ffffed100c2bbb12 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880615dd800 R13: 7fffffffffffffff R14: ffff8880615dd880 R15: 0000000000000003 spin_unlock_irq include/linux/spinlock.h:413 [inline] do_timerfd_settime+0xd1a/0x1000 fs/timerfd.c:521 __do_sys_timerfd_settime fs/timerfd.c:567 [inline] __se_sys_timerfd_settime fs/timerfd.c:558 [inline] __x64_sys_timerfd_settime+0x16b/0x220 fs/timerfd.c:558 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7feaa7c04f19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007feaa6085048 EFLAGS: 00000246 ORIG_RAX: 000000000000011e RAX: ffffffffffffffda RBX: 00007feaa7d94f60 RCX: 00007feaa7c04f19 RDX: 0000000020000000 RSI: 0000000000000003 RDI: 0000000000000003 RBP: 00007feaa7c73e68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007feaa7d94f60 R15: 00007ffd31370a98 NMI backtrace for cpu 1 CPU: 1 PID: 7537 Comm: syz.3.1206 Not tainted 5.15.163-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline] rcu_dump_cpu_stacks+0x223/0x390 kernel/rcu/tree_stall.h:349 print_cpu_stall+0x320/0x600 kernel/rcu/tree_stall.h:633 check_cpu_stall kernel/rcu/tree_stall.h:727 [inline] rcu_pending kernel/rcu/tree.c:3932 [inline] rcu_sched_clock_irq+0x8d9/0x1150 kernel/rcu/tree.c:2619 update_process_times+0x196/0x200 kernel/time/timer.c:1818 tick_sched_handle kernel/time/tick-sched.c:254 [inline] tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0xa93/0xd90 kernel/smp.c:969 Code: 04 03 84 c0 0f 85 84 00 00 00 45 8b 7d 00 44 89 fe 83 e6 01 31 ff e8 5c cf 0b 00 41 83 e7 01 75 07 e8 f1 cb 0b 00 eb 41 f3 90 <48> b8 00 00 00 00 00 fc ff df 0f b6 04 03 84 c0 75 11 41 f7 45 00 RSP: 0018:ffffc900030a7c20 EFLAGS: 00000246 RAX: ffffffff81749244 RBX: 1ffff11017348509 RCX: 0000000000040000 RDX: ffffc90003729000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc900030a7d48 R08: ffffffff81749214 R09: fffffbfff1f8e039 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff8880b9a42848 R14: ffff8880b9b3b3c0 R15: 0000000000000001 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] hardware_enable_all+0x77/0x120 virt/kvm/kvm_main.c:4920 kvm_create_vm virt/kvm/kvm_main.c:1148 [inline] kvm_dev_ioctl_create_vm virt/kvm/kvm_main.c:4753 [inline] kvm_dev_ioctl+0x1210/0x2030 virt/kvm/kvm_main.c:4808 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f21f9c56f19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f21f80d7048 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f21f9de6f60 RCX: 00007f21f9c56f19 RDX: 0000000000000000 RSI: 000000000000ae01 RDI: 0000000000000005 RBP: 00007f21f9cc5e68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f21f9de6f60 R15: 00007ffe07fde488