rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 1-...!: (0 ticks this GP) idle=1d8c/1/0x4000000000000000 softirq=38196/38196 fqs=2
rcu: (detected by 0, t=10503 jiffies, g=39281, q=218 ncpus=2)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 9897 Comm: bch-reclaim/loo Not tainted 6.11.0-syzkaller-07337-g2004cef11ea0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:mark_usage kernel/locking/lockdep.c:4643 [inline]
RIP: 0010:__lock_acquire+0xc38/0x2050 kernel/locking/lockdep.c:5153
Code: 13 84 c0 0f 85 1f 0d 00 00 41 8b 07 a9 00 00 18 00 0f 84 d3 04 00 00 4c 89 e7 48 89 ee ba 08 00 00 00 e8 6b 60 00 00 45 31 f6 <85> c0 0f 84 d0 07 00 00 48 c7 c0 00 69 3a 9a 48 c1 e8 03 48 bf 00
RSP: 0018:ffffc90000a18950 EFLAGS: 00000046
RAX: 0000000000000001 RBX: 1ffff11004ba88f4 RCX: ffffffff81709d8a
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9424f780
RBP: ffff888025d44780 R08: ffffffff9424f787 R09: 1ffffffff2849ef0
R10: dffffc0000000000 R11: fffffbfff2849ef1 R12: ffff888025d43c00
R13: ffff888025d446d8 R14: 0000000000000000 R15: ffff888025d447a0
FS: 0000000000000000(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc15ae656c0 CR3: 000000000e734000 CR4: 0000000000350ef0
Call Trace:
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5822
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162
debug_object_deactivate+0x158/0x390 lib/debugobjects.c:763
debug_hrtimer_deactivate kernel/time/hrtimer.c:428 [inline]
debug_deactivate+0x1b/0x220 kernel/time/hrtimer.c:484
__run_hrtimer kernel/time/hrtimer.c:1659 [inline]
__hrtimer_run_queues+0x305/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:trace_lock_release include/trace/events/lock.h:69 [inline]
RIP: 0010:lock_release+0xc1/0xa30 kernel/locking/lockdep.c:5833
Code: 48 89 d8 48 c1 e8 06 48 8d 3c c5 a8 5a 1c 90 be 08 00 00 00 e8 90 f9 8b 00 48 0f a3 1d 40 09 ac 0e 73 16 e8 71 54 0a 00 84 c0 <75> 0d 80 3d 40 cb 95 0e 00 0f 84 fc 05 00 00 48 c7 c0 fc 8c 1c 90
RSP: 0018:ffffc900094cf700 EFLAGS: 00000202
RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff81705160
RDX: 0000000000000000 RSI: ffffffff8c60dce0 RDI: ffffffff8c60dca0
RBP: ffffc900094cf830 R08: ffffffff901c5aaf R09: 1ffffffff2038b55
R10: dffffc0000000000 R11: fffffbfff2038b56 R12: 1ffff92001299eec
R13: ffffffff841fc89e R14: ffff88804ca046a0 R15: dffffc0000000000
__mutex_unlock_slowpath+0xe2/0x750 kernel/locking/mutex.c:912
btree_write_buffer_flush_seq+0x1a4e/0x1bc0 fs/bcachefs/btree_write_buffer.c:511
bch2_btree_write_buffer_journal_flush+0x4e/0x80 fs/bcachefs/btree_write_buffer.c:525
journal_flush_pins+0x5f9/0xb20 fs/bcachefs/journal_reclaim.c:565
__bch2_journal_reclaim+0x77d/0xe40 fs/bcachefs/journal_reclaim.c:697
bch2_journal_reclaim_thread+0x174/0x560 fs/bcachefs/journal_reclaim.c:739
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 10495 jiffies! g39281 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:25656 pid:17 tgid:17 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5264 [inline]
__schedule+0x1893/0x4b50 kernel/sched/core.c:6607
__schedule_loop kernel/sched/core.c:6684 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6699
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: 6644 Comm: kworker/u8:16 Not tainted 6.11.0-syzkaller-07337-g2004cef11ea0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline]
RIP: 0010:smp_call_function_many_cond+0x19f3/0x2ca0 kernel/smp.c:884
Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 86 f1 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 31 ed 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 ed
RSP: 0018:ffffc9000da1f6e0 EFLAGS: 00000293
RAX: ffffffff8188d20b RBX: 1ffff110171288f9 RCX: ffff888051c1bc00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc9000da1f8e0 R08: ffffffff8188d1da R09: 1ffffffff2849ef0
R10: dffffc0000000000 R11: fffffbfff2849ef1 R12: dffffc0000000000
R13: ffff8880b89447c8 R14: ffff8880b883fb80 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d61dff8 CR3: 000000000e734000 CR4: 0000000000350ef0
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:2085 [inline]
text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2295
text_poke_flush arch/x86/kernel/alternative.c:2486 [inline]
text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493
arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210
static_key_enable+0x1a/0x20 kernel/jump_label.c:223
toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:833
process_one_work kernel/workqueue.c:3229 [inline]
process_scheduled_works+0xa65/0x1850 kernel/workqueue.c:3310
worker_thread+0x870/0xd30 kernel/workqueue.c:3391
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
vkms_vblank_simulate: vblank timer overrun