rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=118c/1/0x4000000000000000 softirq=251182/251182 fqs=2 rcu: (detected by 1, t=10502 jiffies, g=363693, q=159 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 12826 Comm: syz-executor.2 Not tainted 6.9.0-syzkaller-01768-ga5131c3fdf26 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:mark_lock+0x0/0x350 kernel/locking/lockdep.c:4639 Code: 84 00 e9 04 ff ff ff e8 ae d8 04 0a 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <55> 41 57 41 56 41 55 41 54 53 48 83 ec 10 49 89 f7 48 89 3c 24 49 RSP: 0018:ffffc90000007a28 EFLAGS: 00000046 RAX: 0000000000000002 RBX: 0000000000000002 RCX: 0000000000000001 RDX: 0000000000000008 RSI: ffff888020fb8ae0 RDI: ffff888020fb8000 RBP: ffff888020fb8ae0 R08: ffffffff92f0b587 R09: 1ffffffff25e16b0 R10: dffffc0000000000 R11: fffffbfff25e16b1 R12: 0000000000000000 R13: ffff888020fb8000 R14: 1ffff110041f7160 R15: ffff888020fb8b00 FS: 000055556c6b5480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd175e62d58 CR3: 0000000068be0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_usage kernel/locking/lockdep.c:4599 [inline] __lock_acquire+0xc0a/0x1fd0 kernel/locking/lockdep.c:5091 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 rcu_lock_acquire include/linux/rcupdate.h:329 [inline] rcu_read_lock include/linux/rcupdate.h:781 [inline] advance_sched+0xa1e/0xca0 net/sched/sch_taprio.c:985 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x5a5/0xd50 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1818 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:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:72 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:104 [inline] RIP: 0010:lock_is_held_type+0x6e/0x190 kernel/locking/lockdep.c:5821 Code: 2c 25 80 d3 03 00 41 83 bd dc 0a 00 00 00 0f 85 da 00 00 00 41 89 f6 49 89 ff 48 c7 04 24 00 00 00 00 9c 8f 04 24 4c 8b 24 24 48 c7 c7 c0 c9 ca 8b e8 55 1b 00 00 65 ff 05 fe 8a 8a 74 41 83 RSP: 0018:ffffc90004ff7978 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00000000ffffffff RCX: ffff888020fb8000 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff8e335fa0 RBP: ffffc90004ff7bd8 R08: ffffc90004ff7b5f R09: 0000000000000000 R10: ffffc90004ff7b50 R11: fffff520009fef6c R12: 0000000000000246 R13: ffff888020fb8000 R14: 00000000ffffffff R15: ffffffff8e335fa0 lock_is_held include/linux/lockdep.h:231 [inline] schedule_debug kernel/sched/core.c:5982 [inline] __schedule+0x258/0x4a00 kernel/sched/core.c:6629 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 do_nanosleep+0x197/0x600 kernel/time/hrtimer.c:2051 hrtimer_nanosleep+0x227/0x470 kernel/time/hrtimer.c:2104 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1396 [inline] __se_sys_clock_nanosleep+0x32b/0x3c0 kernel/time/posix-timers.c:1373 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f761d0a9175 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 f6 b9 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 4f ba ff ff 48 8b 04 24 48 83 c4 28 f7 d8 RSP: 002b:00007ffc0b04ada0 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 0000000000000364 RCX: 00007f761d0a9175 RDX: 00007ffc0b04ade0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffc0b04ae6c R08: 0000000000000000 R09: 00007f761dd170b0 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 00000000002a5b26 R14: 00000000002a5aec R15: 000000000000000d rcu: rcu_preempt kthread starved for 10498 jiffies! g363693 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:24880 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2582 rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 kthread+0x2f0/0x390 kernel/kthread.c:388 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 PID: 17798 Comm: syz-executor.2 Not tainted 6.9.0-syzkaller-01768-ga5131c3fdf26 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1894/0x2a00 kernel/smp.c:855 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 a5 db 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 50 d7 0b 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 34 d7 RSP: 0018:ffffc900034afae0 EFLAGS: 00000246 RAX: ffffffff818a6bac RBX: 1ffff11017288c4d RCX: 0000000000040000 RDX: ffffc9000e5e5000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc900034afce0 R08: ffffffff818a6b7b R09: 1ffffffff25e16cf R10: dffffc0000000000 R11: fffffbfff25e16d0 R12: dffffc0000000000 R13: ffff8880b9446268 R14: ffff8880b953f780 R15: 0000000000000000 FS: 00007f761dd166c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33a24000 CR3: 000000007b98c000 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] hardware_enable_all arch/x86/kvm/../../../virt/kvm/kvm_main.c:5654 [inline] kvm_create_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:1264 [inline] kvm_dev_ioctl_create_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:5459 [inline] kvm_dev_ioctl+0x1164/0x2320 arch/x86/kvm/../../../virt/kvm/kvm_main.c:5501 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:890 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f761d07dd69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f761dd160c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f761d1abf80 RCX: 00007f761d07dd69 RDX: 0000000000000000 RSI: 000000000000ae01 RDI: 0000000000000007 RBP: 00007f761d0ca49e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f761d1abf80 R15: 00007ffc0b04ab48