rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=98e4/1/0x4000000000000000 softirq=29836/29836 fqs=0 rcu: (detected by 1, t=10502 jiffies, g=23769, q=164 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 8500 Comm: syz.1.705 Not tainted 6.16.0-rc3-syzkaller-00233-g35e261cd95dd #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:variable_test_bit arch/x86/include/asm/bitops.h:227 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:239 [inline] RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline] RIP: 0010:cpumask_test_cpu include/linux/cpumask.h:638 [inline] RIP: 0010:cpu_online include/linux/cpumask.h:1197 [inline] RIP: 0010:trace_hrtimer_cancel include/trace/events/timer.h:317 [inline] RIP: 0010:debug_deactivate+0x66/0x200 kernel/time/hrtimer.c:491 Code: 07 77 6d e8 1c ba 11 00 41 89 de c1 eb 06 48 8d 3c dd f0 df 9f 8f be 08 00 00 00 e8 74 15 73 00 31 f6 4c 0f a3 35 7a 4c f1 0d <0f> 92 c3 40 0f 92 c6 bf 02 00 00 00 e8 e9 bc 11 00 84 db 74 10 e8 RSP: 0018:ffffc90000007d18 EFLAGS: 00000047 RAX: ffffffff81ae9301 RBX: 0000000000000000 RCX: ffffffff81ae936c RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8f9fdff0 RBP: ffffc90000007e90 R08: ffffffff8f9fdff7 R09: 1ffffffff1f3fbfe R10: dffffc0000000000 R11: fffffbfff1f3fbff R12: ffff88807014b340 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880b8627bc0 FS: 00007f74249496c0(0000) GS:ffff888125c84000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000004000 CR3: 000000005634c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1729 [inline] __hrtimer_run_queues+0x2b0/0xc60 kernel/time/hrtimer.c:1825 hrtimer_interrupt+0x45b/0xaa0 kernel/time/hrtimer.c:1887 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1039 [inline] __sysvec_apic_timer_interrupt+0x10b/0x410 arch/x86/kernel/apic/apic.c:1056 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:finish_task_switch+0x26b/0x950 kernel/sched/core.c:5264 Code: 0f 84 3c 01 00 00 48 85 db 0f 85 63 01 00 00 e9 27 05 00 00 4c 8b 75 d0 4c 89 e7 e8 ff 98 d0 09 e8 5a fe 35 00 fb 4c 8b 65 c0 <49> 8d bc 24 18 16 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 28 84 c0 RSP: 0018:ffffc9001b8df698 EFLAGS: 00000282 RAX: 1530f539626d1c00 RBX: 0000000000000000 RCX: 1530f539626d1c00 RDX: 0000000000000000 RSI: ffffffff8d96e8fe RDI: ffffffff8be1bb80 RBP: ffffc9001b8df6f0 R08: ffffffff8f9fdff7 R09: 1ffffffff1f3fbfe R10: dffffc0000000000 R11: fffffbfff1f3fbff R12: ffff88802f710000 R13: dffffc0000000000 R14: ffff88801ced3c00 R15: ffff8880b863a9d8 context_switch kernel/sched/core.c:5399 [inline] __schedule+0x16aa/0x4cb0 kernel/sched/core.c:6785 __schedule_loop kernel/sched/core.c:6863 [inline] schedule+0x165/0x360 kernel/sched/core.c:6878 schedule_timeout+0x12b/0x270 kernel/time/sleep_timeout.c:99 snd_rawmidi_write+0x3a8/0xbd0 sound/core/rawmidi.c:1616 do_loop_readv_writev fs/read_write.c:850 [inline] vfs_writev+0x4b6/0x960 fs/read_write.c:1059 do_writev+0x14d/0x2d0 fs/read_write.c:1103 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7423b8e929 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:00007f7424949038 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007f7423db5fa0 RCX: 00007f7423b8e929 RDX: 0000000000000002 RSI: 0000200000000840 RDI: 0000000000000006 RBP: 00007f7423c10b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7423db5fa0 R15: 00007ffe35c66058 rcu: rcu_preempt kthread starved for 10502 jiffies! g23769 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:27320 pid:16 tgid:16 ppid:2 task_flags:0x208040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5396 [inline] __schedule+0x16a2/0x4cb0 kernel/sched/core.c:6785 __schedule_loop kernel/sched/core.c:6863 [inline] schedule+0x165/0x360 kernel/sched/core.c:6878 schedule_timeout+0x12b/0x270 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x301/0x1540 kernel/rcu/tree.c:2054 rcu_gp_kthread+0x99/0x390 kernel/rcu/tree.c:2256 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.16.0-rc3-syzkaller-00233-g35e261cd95dd #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:pv_native_safe_halt+0x13/0x20 arch/x86/kernel/paravirt.c:82 Code: cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d e3 45 28 00 f3 0f 1e fa fb f4 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90000197de0 EFLAGS: 000002c6 RAX: f5b4303e21349200 RBX: ffffffff81974c68 RCX: f5b4303e21349200 RDX: 0000000000000001 RSI: ffffffff8d96e8fe RDI: ffffffff8be1bb80 RBP: ffffc90000197f20 R08: ffff8880b8732f5b R09: 1ffff110170e65eb R10: dffffc0000000000 R11: ffffed10170e65ec R12: ffffffff8f9fdff0 R13: 0000000000000001 R14: 0000000000000001 R15: 1ffff11003a5db40 FS: 0000000000000000(0000) GS:ffff888125d84000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fa0fff8 CR3: 000000005634c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_safe_halt arch/x86/include/asm/paravirt.h:107 [inline] default_idle+0x13/0x20 arch/x86/kernel/process.c:749 default_idle_call+0x74/0xb0 kernel/sched/idle.c:117 cpuidle_idle_call kernel/sched/idle.c:185 [inline] do_idle+0x1e8/0x510 kernel/sched/idle.c:325 cpu_startup_entry+0x44/0x60 kernel/sched/idle.c:423 start_secondary+0x101/0x110 arch/x86/kernel/smpboot.c:315 common_startup_64+0x13e/0x147