[ 15.050341][ C3] [ 15.050477][ C3] ================================ [ 15.050668][ C3] WARNING: inconsistent lock state [ 15.050868][ C3] 6.15.0-virtme #1 Not tainted [ 15.051054][ C3] -------------------------------- [ 15.051247][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.051478][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.051713][ C3] ffffffff8b3c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.052048][ C3] {SOFTIRQ-ON-W} state was registered at: [ 15.052235][ C3] __lock_acquire+0x20b/0x7e0 [ 15.052426][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.052612][ C3] _raw_spin_lock+0x33/0x40 [ 15.052799][ C3] simple_pin_fs+0x24/0x150 [ 15.052985][ C3] start_creating.part.0+0x52/0x310 [ 15.053172][ C3] debugfs_create_dir+0x6a/0x540 [ 15.053358][ C3] component_debug_init+0x17/0x30 [ 15.053546][ C3] do_one_initcall+0x8f/0x1e0 [ 15.053733][ C3] do_initcalls+0x176/0x280 [ 15.053919][ C3] kernel_init_freeable+0x22d/0x300 [ 15.054107][ C3] kernel_init+0x20/0x200 [ 15.054296][ C3] ret_from_fork+0x240/0x320 [ 15.054482][ C3] ret_from_fork_asm+0x1a/0x30 [ 15.054666][ C3] irq event stamp: 266878 [ 15.054813][ C3] hardirqs last enabled at (266878): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.055185][ C3] hardirqs last disabled at (266877): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.055559][ C3] softirqs last enabled at (266044): [] handle_softirqs+0x358/0x620 [ 15.055896][ C3] softirqs last disabled at (266051): [] __irq_exit_rcu+0xfa/0x160 [ 15.056221][ C3] [ 15.056221][ C3] other info that might help us debug this: [ 15.056494][ C3] Possible unsafe locking scenario: [ 15.056494][ C3] [ 15.056766][ C3] CPU0 [ 15.056910][ C3] ---- [ 15.057048][ C3] lock(pin_fs_lock); [ 15.057186][ C3] [ 15.057324][ C3] lock(pin_fs_lock); [ 15.057468][ C3] [ 15.057468][ C3] *** DEADLOCK *** [ 15.057468][ C3] [ 15.057743][ C3] 1 lock held by swapper/3/0: [ 15.057931][ C3] #0: ffffffff8b1774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.058278][ C3] [ 15.058278][ C3] stack backtrace: [ 15.058510][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.058514][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.058516][ C3] Call Trace: [ 15.058518][ C3] [ 15.058520][ C3] dump_stack_lvl+0x82/0xd0 [ 15.058526][ C3] print_usage_bug.part.0+0x25f/0x360 [ 15.058531][ C3] mark_lock_irq+0x343/0x400 [ 15.058535][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.058540][ C3] ? save_trace+0x52/0x170 [ 15.058545][ C3] mark_lock+0x174/0x2f0 [ 15.058549][ C3] mark_usage+0x46/0x150 [ 15.058552][ C3] __lock_acquire+0x20b/0x7e0 [ 15.058555][ C3] ? __lock_acquire+0x44d/0x7e0 [ 15.058559][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.058562][ C3] ? simple_pin_fs+0x24/0x150 [ 15.058566][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.058571][ C3] ? lock_acquire+0x10c/0x170 [ 15.058573][ C3] ? simple_pin_fs+0x24/0x150 [ 15.058578][ C3] _raw_spin_lock+0x33/0x40 [ 15.058581][ C3] ? simple_pin_fs+0x24/0x150 [ 15.058584][ C3] simple_pin_fs+0x24/0x150 [ 15.058588][ C3] debugfs_remove+0x35/0x70 [ 15.058591][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.058597][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.058601][ C3] ? __sk_destruct+0x383/0x780 [ 15.058606][ C3] ? rcu_do_batch+0x34c/0xf20 [ 15.058609][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.058613][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.058615][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.058620][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.058624][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.058627][ C3] ? default_idle+0x9/0x10 [ 15.058630][ C3] ? default_idle_call+0x6d/0xb0 [ 15.058633][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.058636][ C3] ? do_idle+0xf6/0x160 [ 15.058639][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.058641][ C3] ? start_secondary+0x213/0x2a0 [ 15.058644][ C3] ? common_startup_64+0x13e/0x148 [ 15.058652][ C3] __put_net+0x19/0x60 [ 15.058656][ C3] __sk_destruct+0x58a/0x780 [ 15.058660][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.058662][ C3] rcu_do_batch+0x34c/0xf20 [ 15.058665][ C3] ? find_held_lock+0x2b/0x80 [ 15.058669][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.058673][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.058676][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.058679][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.058684][ C3] rcu_core+0x2bb/0x500 [ 15.058688][ C3] handle_softirqs+0x218/0x620 [ 15.058694][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.058697][ C3] irq_exit_rcu+0xe/0x30 [ 15.058699][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.058703][ C3] [ 15.058704][ C3] [ 15.058706][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.058708][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.058712][ C3] Code: 92 b5 00 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d 83 37 10 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 15.058715][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 15.058718][ C3] RAX: 0000000000040f41 RBX: 1ffff9200002afc1 RCX: ffffffff8a1905d9 [ 15.058720][ C3] RDX: 0000000000000000 RSI: ffffffff8ac8f4e4 RDI: ffffffff8a453be0 [ 15.058722][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 15.058723][ C3] R10: ffff8880361b37d3 R11: ffffffff8ae11288 R12: 0000000000000000 [ 15.058725][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 15.058729][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.058734][ C3] default_idle+0x9/0x10 [ 15.058736][ C3] default_idle_call+0x6d/0xb0 [ 15.058739][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.058742][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.058746][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.058750][ C3] do_idle+0xf6/0x160 [ 15.058754][ C3] cpu_startup_entry+0x54/0x60 [ 15.058757][ C3] start_secondary+0x213/0x2a0 [ 15.058759][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.058764][ C3] common_startup_64+0x13e/0x148 [ 15.058771][ C3] [ 15.074414][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.074717][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 15.075121][ C3] preempt_count: 101, expected: 0 [ 15.075292][ C3] RCU nest depth: 0, expected: 0 [ 15.075460][ C3] INFO: lockdep is turned off. [ 15.075641][ C3] Preemption disabled at: [ 15.075643][ C3] [<0000000000000000>] 0x0 [ 15.076051][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.076055][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.076056][ C3] Call Trace: [ 15.076058][ C3] [ 15.076060][ C3] dump_stack_lvl+0xb0/0xd0 [ 15.076066][ C3] __might_resched+0x360/0x5a0 [ 15.076072][ C3] down_write+0x72/0x210 [ 15.076076][ C3] ? __pfx_down_write+0x10/0x10 [ 15.076079][ C3] ? simple_recursive_removal+0x33/0x610 [ 15.076083][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.076087][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.076093][ C3] simple_recursive_removal+0x6a/0x610 [ 15.076096][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.076099][ C3] ? __pfx_remove_one+0x10/0x10 [ 15.076104][ C3] debugfs_remove+0x44/0x70 [ 15.076107][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.076112][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.076115][ C3] ? __sk_destruct+0x383/0x780 [ 15.076119][ C3] ? rcu_do_batch+0x34c/0xf20 [ 15.076122][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.076125][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.076129][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.076134][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.076137][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.076140][ C3] ? default_idle+0x9/0x10 [ 15.076143][ C3] ? default_idle_call+0x6d/0xb0 [ 15.076145][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.076148][ C3] ? do_idle+0xf6/0x160 [ 15.076151][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.076153][ C3] ? start_secondary+0x213/0x2a0 [ 15.076156][ C3] ? common_startup_64+0x13e/0x148 [ 15.076163][ C3] __put_net+0x19/0x60 [ 15.076166][ C3] __sk_destruct+0x58a/0x780 [ 15.076170][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.076173][ C3] rcu_do_batch+0x34c/0xf20 [ 15.076176][ C3] ? find_held_lock+0x2b/0x80 [ 15.076181][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.076184][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.076188][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.076191][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.076196][ C3] rcu_core+0x2bb/0x500 [ 15.076200][ C3] handle_softirqs+0x218/0x620 [ 15.076205][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.076208][ C3] irq_exit_rcu+0xe/0x30 [ 15.076211][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.076214][ C3] [ 15.076215][ C3] [ 15.076217][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.076219][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.076223][ C3] Code: 92 b5 00 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d 83 37 10 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 15.076226][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 15.076228][ C3] RAX: 0000000000040f41 RBX: 1ffff9200002afc1 RCX: ffffffff8a1905d9 [ 15.076230][ C3] RDX: 0000000000000000 RSI: ffffffff8ac8f4e4 RDI: ffffffff8a453be0 [ 15.076232][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 15.076233][ C3] R10: ffff8880361b37d3 R11: ffffffff8ae11288 R12: 0000000000000000 [ 15.076235][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 15.076239][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.076243][ C3] default_idle+0x9/0x10 [ 15.076246][ C3] default_idle_call+0x6d/0xb0 [ 15.076248][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.076252][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.076255][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.076259][ C3] do_idle+0xf6/0x160 [ 15.076263][ C3] cpu_startup_entry+0x54/0x60 [ 15.076266][ C3] start_secondary+0x213/0x2a0 [ 15.076268][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.076273][ C3] common_startup_64+0x13e/0x148 [ 15.076280][ C3] [ 16.791589][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.792001][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 16.792322][ C2] preempt_count: 101, expected: 0 [ 16.792505][ C2] RCU nest depth: 0, expected: 0 [ 16.792700][ C2] INFO: lockdep is turned off. [ 16.792880][ C2] Preemption disabled at: [ 16.792882][ C2] [<0000000000000000>] 0x0 [ 16.793208][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.793213][ C2] Tainted: [W]=WARN [ 16.793215][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.793217][ C2] Call Trace: [ 16.793219][ C2] [ 16.793221][ C2] dump_stack_lvl+0xb0/0xd0 [ 16.793229][ C2] __might_resched+0x360/0x5a0 [ 16.793236][ C2] down_write+0x72/0x210 [ 16.793241][ C2] ? __pfx_down_write+0x10/0x10 [ 16.793244][ C2] ? simple_recursive_removal+0x33/0x610 [ 16.793248][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.793254][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.793259][ C2] simple_recursive_removal+0x6a/0x610 [ 16.793262][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.793265][ C2] ? __pfx_remove_one+0x10/0x10 [ 16.793271][ C2] debugfs_remove+0x44/0x70 [ 16.793274][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 16.793280][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.793283][ C2] ? __sk_destruct+0x383/0x780 [ 16.793289][ C2] ? rcu_do_batch+0x34c/0xf20 [ 16.793293][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.793296][ C2] ? irq_exit_rcu+0xe/0x30 [ 16.793301][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.793306][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.793310][ C2] ? pv_native_safe_halt+0xf/0x20 [ 16.793313][ C2] ? default_idle+0x9/0x10 [ 16.793315][ C2] ? default_idle_call+0x6d/0xb0 [ 16.793318][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.793322][ C2] ? do_idle+0xf6/0x160 [ 16.793324][ C2] ? cpu_startup_entry+0x54/0x60 [ 16.793326][ C2] ? start_secondary+0x213/0x2a0 [ 16.793330][ C2] ? common_startup_64+0x13e/0x148 [ 16.793335][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.793339][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.793343][ C2] __put_net+0x19/0x60 [ 16.793347][ C2] __sk_destruct+0x58a/0x780 [ 16.793351][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.793354][ C2] rcu_do_batch+0x34c/0xf20 [ 16.793358][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.793362][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.793367][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.793373][ C2] rcu_core+0x2bb/0x500 [ 16.793378][ C2] handle_softirqs+0x218/0x620 [ 16.793383][ C2] __irq_exit_rcu+0xfa/0x160 [ 16.793386][ C2] irq_exit_rcu+0xe/0x30 [ 16.793389][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.793393][ C2] [ 16.793394][ C2] [ 16.793395][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.793398][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.793402][ C2] Code: 92 b5 00 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d 83 37 10 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 16.793405][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 16.793409][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffff8a1905d9 [ 16.793411][ C2] RDX: ffffed1006c266fb RSI: ffffffff8a453b60 RDI: ffffffff8798d18f [ 16.793413][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 16.793414][ C2] R10: ffff8880361337d3 R11: ffffffff8db108d8 R12: 0000000000000000 [ 16.793416][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 16.793420][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.793423][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.793427][ C2] default_idle+0x9/0x10 [ 16.793429][ C2] default_idle_call+0x6d/0xb0 [ 16.793432][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 16.793435][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.793439][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.793443][ C2] do_idle+0xf6/0x160 [ 16.793446][ C2] cpu_startup_entry+0x54/0x60 [ 16.793449][ C2] start_secondary+0x213/0x2a0 [ 16.793452][ C2] ? __pfx_start_secondary+0x10/0x10 [ 16.793456][ C2] common_startup_64+0x13e/0x148 [ 16.793463][ C2]