rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=9884/1/0x4000000000000000 softirq=29852/29853 fqs=0 rcu: (detected by 0, t=10502 jiffies, g=25241, q=439 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 9321 Comm: syz.2.924 Not tainted 6.14.0-rc6-syzkaller-00145-g695caca9345a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:__kasan_check_write+0x0/0x20 mm/kasan/shadow.c:36 Code: 0c 24 89 f6 31 d2 e9 7f f0 ff ff 66 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 0f 1e fa 48 8b 0c 24 89 f6 ba 01 00 00 00 e9 4c f0 ff ff 66 66 RSP: 0018:ffffc90000a28c40 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffffffff9aac1e90 RCX: ffffffff81972d1e RDX: fffffbfff35583d3 RSI: 0000000000000004 RDI: ffffc90000a28c70 RBP: 1ffff9200014518a R08: 0000000000000001 R09: fffffbfff35583d2 R10: ffffffff9aac1e93 R11: 0000000000000002 R12: ffffffff9aac1e98 R13: ffffffff9aac1ea0 R14: 1ffff920001451a4 R15: ffffffff9aac1e88 FS: 00007f320be586c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c380825 CR3: 0000000064f46000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read_write include/linux/instrumented.h:96 [inline] atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1301 [inline] queued_spin_lock include/asm-generic/qspinlock.h:111 [inline] do_raw_spin_lock+0x12d/0x2c0 kernel/locking/spinlock_debug.c:116 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x42/0x60 kernel/locking/spinlock.c:162 debug_object_activate+0x149/0x4a0 lib/debugobjects.c:818 debug_hrtimer_activate kernel/time/hrtimer.c:455 [inline] debug_activate kernel/time/hrtimer.c:496 [inline] enqueue_hrtimer+0x25/0x3c0 kernel/time/hrtimer.c:1100 __run_hrtimer kernel/time/hrtimer.c:1818 [inline] __hrtimer_run_queues+0x903/0xae0 kernel/time/hrtimer.c:1865 hrtimer_interrupt+0x392/0x8e0 kernel/time/hrtimer.c:1927 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x10f/0x400 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:filemap_get_entry+0xe/0x3c0 mm/filemap.c:1853 Code: ff ff e8 c5 64 2c 00 e9 48 fa ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 b8 00 00 00 00 00 fc ff df <41> 56 41 55 41 54 55 48 89 f5 53 48 89 fb 48 81 ec a0 00 00 00 48 RSP: 0018:ffffc900048ef610 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 0000000000000002 RCX: ffffc9000c439000 RDX: 0000000000080000 RSI: 0000000000000804 RDI: ffff88805c23d200 RBP: ffff88805c23cfe0 R08: 0000000000000006 R09: 0000000000804000 R10: 0000000000b36000 R11: 0000000000000005 R12: ffff888030bcdaa8 R13: ffff88805c23d200 R14: ffff88801b121400 R15: ffff88805c23d010 shmem_get_folio_gfp+0x221/0x1530 mm/shmem.c:2469 shmem_fault+0x200/0xae0 mm/shmem.c:2746 __do_fault+0x10a/0x490 mm/memory.c:4990 do_read_fault mm/memory.c:5410 [inline] do_fault mm/memory.c:5544 [inline] do_pte_missing+0xecf/0x3e10 mm/memory.c:4060 handle_pte_fault mm/memory.c:5907 [inline] __handle_mm_fault+0x1166/0x2c60 mm/memory.c:6050 handle_mm_fault+0x3fa/0xaa0 mm/memory.c:6219 faultin_page mm/gup.c:1196 [inline] __get_user_pages+0x773/0x36f0 mm/gup.c:1491 populate_vma_page_range+0x27f/0x3a0 mm/gup.c:1929 __mm_populate+0x1d6/0x380 mm/gup.c:2032 mm_populate include/linux/mm.h:3386 [inline] vm_mmap_pgoff+0x2d3/0x3a0 mm/util.c:580 ksys_mmap_pgoff+0x7d/0x5c0 mm/mmap.c:607 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:89 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:82 [inline] __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:82 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f320af8d169 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:00007f320be58038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f320b1a5fa0 RCX: 00007f320af8d169 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000400000000000 RBP: 00007f320b00e2a0 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f320b1a5fa0 R15: 00007ffdac6b8208 rcu: rcu_preempt kthread starved for 10502 jiffies! g25241 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:27696 pid:18 tgid:18 ppid:2 task_flags:0x208040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5378 [inline] __schedule+0xf43/0x5890 kernel/sched/core.c:6765 __schedule_loop kernel/sched/core.c:6842 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6857 schedule_timeout+0x124/0x280 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2024 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2226 kthread+0x3af/0x750 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 UID: 0 PID: 9312 Comm: syz.6.921 Not tainted 6.14.0-rc6-syzkaller-00145-g695caca9345a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:26 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:183 [inline] RIP: 0010:write_comp_data+0x11/0x90 kernel/kcov.c:246 Code: cc cc 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 49 89 d2 49 89 f8 49 89 f1 65 48 8b 15 0f ef 49 7e <65> 8b 05 10 ef 49 7e a9 00 01 ff 00 74 1d f6 c4 01 74 67 a9 00 00 RSP: 0018:ffffc900035f7b58 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff81adfc17 RDX: ffff88804717a440 RSI: 0000000000000000 RDI: 0000000000000005 RBP: ffffc900035f7c28 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 1ffff920006bef70 R13: 0000000000000000 R14: 0000000000000001 R15: ffff8880b873fbc0 FS: 0000555594b13500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c380825 CR3: 0000000025026000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_lock_wait kernel/smp.c:340 [inline] smp_call_function_single+0x1d7/0x580 kernel/smp.c:679 rcu_barrier+0x28d/0x700 kernel/rcu/tree.c:3793 kvm_mmu_uninit_vm+0x5b/0x60 arch/x86/kvm/mmu/mmu.c:6532 kvm_arch_destroy_vm+0x2bb/0x500 arch/x86/kvm/x86.c:12889 kvm_destroy_vm virt/kvm/kvm_main.c:1294 [inline] kvm_put_kvm+0x4fa/0xb40 virt/kvm/kvm_main.c:1330 kvm_vm_release+0x3c/0x50 virt/kvm/kvm_main.c:1353 __fput+0x3ff/0xb70 fs/file_table.c:464 task_work_run+0x14e/0x250 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [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+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8aa358d169 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:00007fff92a32de8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f8aa37a7ba0 RCX: 00007f8aa358d169 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f8aa37a7ba0 R08: 0000000000000094 R09: 0000000892a330df R10: 00000000003ffd48 R11: 0000000000000246 R12: 000000000004be5c R13: 00007f8aa37a6080 R14: ffffffffffffffff R15: 00007fff92a32f00