rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=c84c/1/0x4000000000000000 softirq=69894/69904 fqs=6 rcu: (detected by 0, t=10502 jiffies, g=78149, q=378 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 3 Comm: pool_workqueue_ Not tainted 6.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline] RIP: 0010:lock_acquire+0x1f1/0x550 kernel/locking/lockdep.c:5827 Code: 7c 24 20 44 89 f6 8b 54 24 1c 48 8b 4c 24 30 4c 8b 44 24 38 6a 00 6a 00 6a 00 ff 75 10 ff 74 24 48 e8 c3 04 00 00 48 83 c4 28 <48> c7 c7 20 dc 0a 8c e8 93 9d 57 0a b8 ff ff ff ff 65 0f c1 05 36 RSP: 0018:ffffc90000a188e0 EFLAGS: 00000092 RAX: 0000000000000001 RBX: ffffc90000a18940 RCX: d6163e4b5ea3b400 RDX: dffffc0000000000 RSI: ffff888140af4708 RDI: ffff888140af3c00 RBP: ffffc90000a18a28 R08: ffffffff942d0807 R09: 1ffffffff285a100 R10: dffffc0000000000 R11: fffffbfff285a101 R12: 1ffff92000143124 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000046 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020003c80 CR3: 000000004cfd0000 CR4: 0000000000350ef0 Call Trace: debug_objects_fill_pool+0xa0/0x9f0 lib/debugobjects.c:614 debug_object_activate+0x135/0x510 lib/debugobjects.c:704 debug_hrtimer_activate kernel/time/hrtimer.c:423 [inline] debug_activate kernel/time/hrtimer.c:478 [inline] enqueue_hrtimer+0x30/0x3c0 kernel/time/hrtimer.c:1085 __run_hrtimer kernel/time/hrtimer.c:1708 [inline] __hrtimer_run_queues+0x6cb/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:1038 [inline] __sysvec_apic_timer_interrupt+0x112/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:lockdep_unregister_key+0x56d/0x610 kernel/locking/lockdep.c:6569 Code: 28 94 48 c7 c6 e0 ad 70 81 e8 1f 46 0a 00 e8 8a 5a 0a 00 e9 e5 fb ff ff e8 00 2b 57 0a 41 f7 c7 00 02 00 00 74 d0 fb 45 84 f6 <75> cf eb e0 90 0f 0b 90 45 31 f6 e9 62 ff ff ff 90 0f 0b 90 e9 a1 RSP: 0018:ffffc90000087cc0 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 1ffff92000010fa0 RCX: ffffffff9a3d7903 RDX: 0000000000000001 RSI: ffffffff8c0ad780 RDI: ffffffff8c610ca0 RBP: ffffc90000087d98 R08: ffffffff942845a7 R09: 1ffffffff28508b4 R10: dffffc0000000000 R11: fffffbfff28508b5 R12: ffffc90000087d00 R13: 1ffff92000010f9c R14: 0000000000000000 R15: 0000000000000216 wq_unregister_lockdep kernel/workqueue.c:4789 [inline] pwq_release_workfn+0x6d1/0x800 kernel/workqueue.c:5085 kthread_worker_fn+0x502/0xb70 kernel/kthread.c:844 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: rcu_preempt kthread starved for 10488 jiffies! g78149 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:25824 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x184f/0x4c30 kernel/sched/core.c:6693 __schedule_loop kernel/sched/core.c:6770 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6785 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: 12577 Comm: syz-executor Not tainted 6.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/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 86 f3 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 31 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 15 ef 0b 00 eb e4 44 RSP: 0018:ffffc900104a77c0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff110170e8919 RCX: ffff888058e28000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900104a79b0 R08: ffffffff8188faca R09: 1ffffffff285a127 R10: dffffc0000000000 R11: fffffbfff285a128 R12: dffffc0000000000 R13: ffff8880b87448c8 R14: ffff8880b863fc80 R15: 0000000000000001 FS: 0000555586228500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e41dff8 CR3: 000000004cfd0000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 invalidate_bdev+0x71/0xa0 block/bdev.c:100 btrfs_close_bdev fs/btrfs/volumes.c:1080 [inline] btrfs_close_one_device fs/btrfs/volumes.c:1104 [inline] close_fs_devices+0x442/0x890 fs/btrfs/volumes.c:1147 btrfs_close_devices+0xc8/0x5c0 fs/btrfs/volumes.c:1162 close_ctree+0x7c6/0xd60 fs/btrfs/disk-io.c:4383 generic_shutdown_super+0x13b/0x2d0 fs/super.c:642 kill_anon_super+0x3b/0x70 fs/super.c:1237 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2114 deactivate_locked_super+0xc6/0x130 fs/super.c:473 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1373 task_work_run+0x251/0x310 kernel/task_work.c:239 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:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 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:0x7f570977fa47 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffcf5ffda28 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000064 RCX: 00007f570977fa47 RDX: 0000000000000200 RSI: 0000000000000009 RDI: 00007ffcf5ffebd0 RBP: 00007f57097f15fc R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000202 R12: 00007ffcf5ffebd0 R13: 00007f57097f15fc R14: 00005555862284a8 R15: 00007ffcf5fffc90