rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (2 ticks this GP) idle=b5fc/1/0x4000000000000000 softirq=55731/55740 fqs=21 rcu: (detected by 0, t=10502 jiffies, g=63981, q=458 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 16276 Comm: syz.5.3907 Not tainted 6.12.0-rc3-syzkaller-00217-g4d939780b705 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:rb_next+0xa/0xf0 lib/rbtree.c:493 Code: e3 48 89 df e8 17 b0 3f f6 eb d9 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 41 56 41 54 <53> 49 89 fc 49 bf 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 42 RSP: 0018:ffffc90000a18d08 EFLAGS: 00000006 RAX: ffffffff8bbf68f1 RBX: ffff8880b872c9d8 RCX: ffff88804eee3c00 RDX: 0000000000010000 RSI: ffff888020af6340 RDI: ffff888020af6340 RBP: dffffc0000000000 R08: ffffffff8bbf68b8 R09: 1ffffffff2039ff5 R10: dffffc0000000000 R11: fffffbfff2039ff6 R12: 1ffff1100415ec68 R13: ffff888020af6340 R14: ffff8880b872c9d0 R15: 1ffff110170e593b FS: 00007f72f44c86c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2d32be CR3: 0000000064524000 CR4: 0000000000350ef0 Call Trace: rb_erase_cached include/linux/rbtree.h:124 [inline] timerqueue_del+0x89/0x100 lib/timerqueue.c:57 __remove_hrtimer kernel/time/hrtimer.c:1118 [inline] __run_hrtimer kernel/time/hrtimer.c:1671 [inline] __hrtimer_run_queues+0x3d0/0xd50 kernel/time/hrtimer.c:1755 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1817 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1026 [inline] __sysvec_apic_timer_interrupt+0x112/0x3f0 arch/x86/kernel/apic/apic.c:1043 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1037 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 2e 79 2e f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 43 19 93 f5 65 8b 05 54 b3 33 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc90002f0f8c0 EFLAGS: 00000206 RAX: da225e9b84b6b900 RBX: 1ffff920005e1f1c RCX: ffffffff9a3d0903 RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: 0000000000000001 RBP: ffffc90002f0f958 R08: ffffffff901cffaf R09: 1ffffffff2039ff5 R10: dffffc0000000000 R11: fffffbfff2039ff6 R12: dffffc0000000000 R13: 1ffff920005e1f18 R14: ffffc90002f0f8e0 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] timerfd_clock_was_set+0x1e0/0x2f0 fs/timerfd.c:113 clock_was_set+0x78e/0x810 kernel/time/hrtimer.c:978 timekeeping_inject_offset+0x4e8/0x580 kernel/time/timekeeping.c:1524 do_adjtimex+0x51d/0xae0 kernel/time/timekeeping.c:2575 do_clock_adjtime kernel/time/posix-timers.c:1174 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1186 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1177 [inline] __x64_sys_clock_adjtime+0x1e3/0x290 kernel/time/posix-timers.c:1177 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:0x7f72f377dff9 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:00007f72f44c8038 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007f72f3936058 RCX: 00007f72f377dff9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f72f37f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f72f3936058 R15: 00007ffd46d26608 rcu: rcu_preempt kthread starved for 10456 jiffies! g63981 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:24272 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6682 __schedule_loop kernel/sched/core.c:6759 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6774 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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: 0 UID: 0 PID: 16273 Comm: syz.3.3908 Not tainted 6.12.0-rc3-syzkaller-00217-g4d939780b705 #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+0x19f8/0x2ca0 kernel/smp.c:884 Code: 89 e6 83 e6 01 31 ff e8 56 f3 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 01 ef 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 e5 ee 0b 00 eb e4 44 RSP: 0018:ffffc9000ac075e0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff110170e8919 RCX: 0000000000040000 RDX: ffffc900047e9000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000ac077d0 R08: ffffffff8188f8ea R09: 1ffffffff285931f R10: dffffc0000000000 R11: fffffbfff2859320 R12: dffffc0000000000 R13: ffff8880b87448c8 R14: ffff8880b863fc80 R15: 0000000000000001 FS: 00007f543184c6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5430960800 CR3: 0000000029486000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 invalidate_bdev+0x71/0xa0 block/bdev.c:100 btrfs_get_bdev_and_sb+0x10e/0x1f0 fs/btrfs/volumes.c:494 btrfs_open_one_device fs/btrfs/volumes.c:659 [inline] open_fs_devices+0x2ae/0x12a0 fs/btrfs/volumes.c:1198 btrfs_get_tree_super fs/btrfs/super.c:1851 [inline] btrfs_get_tree+0x504/0x1920 fs/btrfs/super.c:2114 vfs_get_tree+0x92/0x2b0 fs/super.c:1800 fc_mount+0x1b/0xb0 fs/namespace.c:1231 btrfs_get_tree_subvol fs/btrfs/super.c:2077 [inline] btrfs_get_tree+0x652/0x1920 fs/btrfs/super.c:2115 vfs_get_tree+0x92/0x2b0 fs/super.c:1800 do_new_mount+0x2be/0xb40 fs/namespace.c:3507 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4055 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4032 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:0x7f543097f79a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f543184be68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f543184bef0 RCX: 00007f543097f79a RDX: 0000000020000100 RSI: 0000000020005140 RDI: 00007f543184beb0 RBP: 0000000020000100 R08: 00007f543184bef0 R09: 0000000000000816 R10: 0000000000000816 R11: 0000000000000246 R12: 0000000020005140 R13: 00007f543184beb0 R14: 00000000000050ed R15: 0000000020000140