GRED: Unable to relocate VQ 0x0 after dequeue, screwing up backlog rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=7e14/1/0x4000000000000000 softirq=110038/110039 fqs=68 rcu: (detected by 0, t=10502 jiffies, g=176461, q=245 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 29929 Comm: syz-executor.0 Not tainted 6.9.0-rc3-next-20240409-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200 Code: 89 fb e8 23 00 00 00 48 8b 3d cc bc 42 0c 48 89 de 5b e9 c3 6d 59 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 8b 04 24 65 48 8b 0c 25 40 d3 03 00 65 8b 15 30 ae RSP: 0018:ffffc90000a18d38 EFLAGS: 00000046 RAX: d8dcdc528c475200 RBX: ffff88807a73b340 RCX: 0000000000010002 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffffc90000a18ea8 R08: ffffffff949dd4cb R09: 1ffffffff293ba99 R10: dffffc0000000000 R11: fffffbfff293ba9a R12: 1ffff110172a593b R13: dffffc0000000000 R14: ffff88807a73b340 R15: ffff8880b952c980 FS: 00007f2e9d3006c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00136b000 CR3: 000000002f654000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline] static_key_false include/linux/jump_label.h:207 [inline] trace_hrtimer_cancel include/trace/events/timer.h:317 [inline] debug_deactivate+0x25/0x220 kernel/time/hrtimer.c:485 __run_hrtimer kernel/time/hrtimer.c:1660 [inline] __hrtimer_run_queues+0x30f/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:stack_trace_consume_entry+0x0/0x280 kernel/stacktrace.c:83 Code: f9 78 00 e9 6a ff ff ff e8 9d 76 01 0a 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 55 41 57 41 56 41 55 41 54 53 48 83 ec 18 48 89 fb 48 RSP: 0018:ffffc90004e3efb8 EFLAGS: 00000286 RAX: 0000000000000002 RBX: ffffffff81d92850 RCX: ffff888027879e00 RDX: ffffc900185eb000 RSI: ffffffff81d92850 RDI: ffffc90004e3f0a0 RBP: ffffc90004e3f050 R08: ffffffff81375c92 R09: ffffffff8140f98f R10: 0000000000000003 R11: ffffffff818204a0 R12: ffff888027879e00 R13: ffffffff818204a0 R14: ffffc90004e3f0a0 R15: ffffc90004e3efc0 arch_stack_walk+0x143/0x1b0 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __set_page_owner+0x8d/0x810 mm/page_owner.c:325 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1468 prep_new_page mm/page_alloc.c:1476 [inline] get_page_from_freelist+0x2ce2/0x2d90 mm/page_alloc.c:3438 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4696 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265 shmem_alloc_folio mm/shmem.c:1634 [inline] shmem_alloc_and_add_folio+0x24d/0xdb0 mm/shmem.c:1674 shmem_get_folio_gfp+0x82d/0x1f50 mm/shmem.c:2061 shmem_get_folio mm/shmem.c:2166 [inline] shmem_write_begin+0x170/0x4d0 mm/shmem.c:2749 generic_perform_write+0x322/0x640 mm/filemap.c:4009 shmem_file_write_iter+0xfc/0x120 mm/shmem.c:2925 call_write_iter include/linux/fs.h:2106 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa72/0xc90 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x72/0x7a RIP: 0033:0x7f2e9c67cbaf Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 b9 80 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 0c 81 02 00 48 RSP: 002b:00007f2e9d2ffe80 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007f2e9c67cbaf RDX: 0000000001000000 RSI: 00007f2e92400000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000005598 R10: 0000000000000002 R11: 0000000000000293 R12: 0000000000000003 R13: 00007f2e9d2fff80 R14: 00007f2e9d2fff40 R15: 00007f2e92400000 rcu: rcu_preempt kthread starved for 10365 jiffies! g176461 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:24816 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 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:2030 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2232 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:243 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 29956 Comm: syz-executor.3 Not tainted 6.9.0-rc3-next-20240409-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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 65 da 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 10 d6 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 f4 d5 RSP: 0018:ffffc9000bc275e0 EFLAGS: 00000246 RAX: ffffffff818a4f0c RBX: 1ffff110172a8861 RCX: 0000000000040000 RDX: ffffc90015b64000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000bc277e0 R08: ffffffff818a4edb R09: 1ffffffff25ed8d8 R10: dffffc0000000000 R11: fffffbfff25ed8d9 R12: dffffc0000000000 R13: ffff8880b9544308 R14: ffff8880b943f740 R15: 0000000000000001 FS: 00007f524e02e6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002032d030 CR3: 000000007e5a0000 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 invalidate_bdev+0x8e/0xc0 block/bdev.c:94 btrfs_get_bdev_and_sb+0xfb/0x170 fs/btrfs/volumes.c:490 btrfs_open_one_device fs/btrfs/volumes.c:654 [inline] open_fs_devices+0x2b4/0x1260 fs/btrfs/volumes.c:1193 btrfs_get_tree_super fs/btrfs/super.c:1821 [inline] btrfs_get_tree+0x504/0x1920 fs/btrfs/super.c:2084 vfs_get_tree+0x90/0x2a0 fs/super.c:1779 fc_mount+0x1b/0xb0 fs/namespace.c:1125 btrfs_get_tree_subvol fs/btrfs/super.c:2047 [inline] btrfs_get_tree+0x652/0x1920 fs/btrfs/super.c:2085 vfs_get_tree+0x90/0x2a0 fs/super.c:1779 do_new_mount+0x2be/0xb40 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3875 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x72/0x7a RIP: 0033:0x7f524d27f56a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007f524e02def8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f524e02df80 RCX: 00007f524d27f56a RDX: 0000000020000200 RSI: 0000000020005600 RDI: 00007f524e02df40 RBP: 0000000020000200 R08: 00007f524e02df80 R09: 0000000000000800 R10: 0000000000000800 R11: 0000000000000202 R12: 0000000020005600 R13: 00007f524e02df40 R14: 000000000000559e R15: 0000000020000240 vkms_vblank_simulate: vblank timer overrun