rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=acfc/1/0x4000000000000000 softirq=73810/73814 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P17448/1:b..l P58/1:b..l rcu: (detected by 1, t=10505 jiffies, g=60133, q=1307 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 17428 Comm: syz.9.2436 Not tainted 6.13.0-rc1-next-20241205-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__run_hrtimer kernel/time/hrtimer.c:1708 [inline] RIP: 0010:__hrtimer_run_queues+0x305/0xd30 kernel/time/hrtimer.c:1803 Code: 31 ff 89 c6 e8 2c a3 12 00 85 db 0f 84 b3 04 00 00 e8 df 9e 12 00 eb 05 e8 d8 9e 12 00 48 8b 5c 24 28 4c 89 f7 e8 fb 32 00 00 <48> 89 d8 48 c1 e8 03 48 89 44 24 68 42 80 3c 28 00 74 08 48 89 df RSP: 0018:ffffc90000007d40 EFLAGS: 00000006 RAX: ffffffff818cf0e6 RBX: ffff8880b862c9c8 RCX: ffff888027d33c00 RDX: 0000000000010000 RSI: ffffffff8c5fbe60 RDI: ffffffff8c5fbe20 RBP: ffffc90000007ea0 R08: ffffffff818cf0d3 R09: 1ffffffff2033b36 R10: dffffc0000000000 R11: fffffbfff2033b37 R12: 1ffff110170c593b R13: dffffc0000000000 R14: ffff888069c74340 R15: ffff8880b862c980 FS: 000055555a045500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020404030 CR3: 000000004a0dc000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 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 0e 0d 37 f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 b3 d3 9e f5 65 8b 05 24 2e 35 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc9000cc27b80 EFLAGS: 00000206 RAX: 30710937abc80300 RBX: 1ffff92001984f74 RCX: ffffffff9a3b9903 RDX: dffffc0000000000 RSI: ffffffff8c0a9240 RDI: 0000000000000001 RBP: ffffc9000cc27c10 R08: ffffffff9019d9b7 R09: 1ffffffff2033b36 R10: dffffc0000000000 R11: fffffbfff2033b37 R12: dffffc0000000000 R13: 1ffff92001984f70 R14: ffffc9000cc27ba0 R15: 0000000000000246 hrtimer_start_expires include/linux/hrtimer.h:274 [inline] hrtimer_sleeper_start_expires kernel/time/hrtimer.c:2001 [inline] do_nanosleep+0x158/0x600 kernel/time/hrtimer.c:2076 hrtimer_nanosleep+0x1ec/0x410 kernel/time/hrtimer.c:2126 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1402 [inline] __se_sys_clock_nanosleep+0x32b/0x3c0 kernel/time/posix-timers.c:1379 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:0x7f70a85b2785 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 06 55 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 5f 55 ff ff 48 8b 04 24 48 83 c4 28 f7 d8 RSP: 002b:00007ffe51d46ee0 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 00007f70a8745fa0 RCX: 00007f70a85b2785 RDX: 00007ffe51d46f20 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f70a8747ba0 R08: 0000000000000000 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000293 R12: 000000000013ced4 R13: 00007f70a8746080 R14: 0000000000000032 R15: ffffffffffffffff task:kworker/0:1H state:R running task stack:24984 pid:58 tgid:58 ppid:2 flags:0x00004000 Workqueue: kblockd blk_mq_run_work_fn Call Trace: context_switch kernel/sched/core.c:5371 [inline] __schedule+0x189f/0x4c80 kernel/sched/core.c:6758 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6937 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6961 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x130/0x140 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __wake_up_common_lock+0x18c/0x1e0 kernel/sched/wait.c:108 __wbt_done block/blk-wbt.c:238 [inline] wbt_done+0x132/0x300 block/blk-wbt.c:259 __rq_qos_done+0x6c/0xb0 block/blk-rq-qos.c:39 rq_qos_done block/blk-rq-qos.h:122 [inline] blk_mq_free_request+0x206/0x420 block/blk-mq.c:794 nullb_complete_cmd drivers/block/null_blk/main.c:1354 [inline] null_handle_cmd drivers/block/null_blk/main.c:1405 [inline] null_queue_rq+0xbb1/0xd60 drivers/block/null_blk/main.c:1645 blk_mq_dispatch_rq_list+0xad3/0x19d0 block/blk-mq.c:2121 __blk_mq_sched_dispatch_requests+0x169c/0x1840 block/blk-mq-sched.c:315 blk_mq_sched_dispatch_requests+0xd6/0x190 block/blk-mq-sched.c:331 blk_mq_run_work_fn+0x232/0x300 block/blk-mq.c:2531 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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 task:syz.2.2442 state:R running task stack:26104 pid:17448 tgid:17445 ppid:11623 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5371 [inline] __schedule+0x189f/0x4c80 kernel/sched/core.c:6758 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6937 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6961 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] zap_pte_range mm/memory.c:1760 [inline] zap_pmd_range mm/memory.c:1822 [inline] zap_pud_range mm/memory.c:1851 [inline] zap_p4d_range mm/memory.c:1872 [inline] unmap_page_range+0x3d52/0x48d0 mm/memory.c:1893 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1983 exit_mmap+0x288/0xd50 mm/mmap.c:1257 __mmput+0x115/0x3c0 kernel/fork.c:1350 exit_mm+0x220/0x310 kernel/exit.c:570 do_exit+0x9b2/0x28e0 kernel/exit.c:925 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3017 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f490737fed9 RSP: 002b:00007f49051f60e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f4907545fa8 RCX: 00007f490737fed9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4907545fa8 RBP: 00007f4907545fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4907545fac R13: 0000000000000000 R14: 00007ffe70f11e00 R15: 00007ffe70f11ee8 rcu: rcu_preempt kthread starved for 10505 jiffies! g60133 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:26072 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5371 [inline] __schedule+0x189f/0x4c80 kernel/sched/core.c:6758 __schedule_loop kernel/sched/core.c:6835 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6850 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 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: 1 UID: 0 PID: 17452 Comm: syz.7.2444 Not tainted 6.13.0-rc1-next-20241205-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19f3/0x2c60 kernel/smp.c:884 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 a6 eb 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 51 e7 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 35 e7 RSP: 0018:ffffc9000598f940 EFLAGS: 00000246 RAX: ffffffff819374eb RBX: 1ffff110170c8ca1 RCX: 0000000000080000 RDX: ffffc9000d4ca000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc9000598fb40 R08: ffffffff819374ba R09: 1ffffffff2856508 R10: dffffc0000000000 R11: fffffbfff2856509 R12: dffffc0000000000 R13: ffff8880b8646508 R14: ffff8880b873fb80 R15: 0000000000000000 FS: 00007f136b91c6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f91fffc CR3: 000000005630a000 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:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2118 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2328 text_poke_flush arch/x86/kernel/alternative.c:2519 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2526 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_slow_inc_cpuslocked+0x80/0xf0 kernel/jump_label.c:168 static_key_slow_inc+0x1a/0x30 kernel/jump_label.c:191 kvm_create_vm virt/kvm/kvm_main.c:1205 [inline] kvm_dev_ioctl_create_vm virt/kvm/kvm_main.c:5353 [inline] kvm_dev_ioctl+0x1855/0x2460 virt/kvm/kvm_main.c:5395 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf5/0x170 fs/ioctl.c:892 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:0x7f136ab7fed9 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:00007f136b91c058 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f136ad45fa0 RCX: 00007f136ab7fed9 RDX: 0000000000000000 RSI: 000000000000ae01 RDI: 0000000000000003 RBP: 00007f136abf3cc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f136ad45fa0 R15: 00007fff94746e58