[ 16.226886][ C3] [ 16.227103][ C3] ================================ [ 16.227455][ C3] WARNING: inconsistent lock state [ 16.227799][ C3] 6.15.0-virtme #1 Not tainted [ 16.228137][ C3] -------------------------------- [ 16.228486][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.228911][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.229338][ C3] ffffffff8e3c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 16.229976][ C3] {SOFTIRQ-ON-W} state was registered at: [ 16.230306][ C3] __lock_acquire+0x20b/0x7e0 [ 16.230658][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.230995][ C3] _raw_spin_lock+0x33/0x40 [ 16.231340][ C3] simple_pin_fs+0x24/0x150 [ 16.231682][ C3] start_creating.part.0+0x52/0x310 [ 16.232022][ C3] debugfs_create_dir+0x6a/0x540 [ 16.232363][ C3] component_debug_init+0x17/0x30 [ 16.232709][ C3] do_one_initcall+0x8f/0x1e0 [ 16.233063][ C3] do_initcalls+0x176/0x280 [ 16.233414][ C3] kernel_init_freeable+0x22d/0x300 [ 16.233757][ C3] kernel_init+0x20/0x200 [ 16.234092][ C3] ret_from_fork+0x240/0x320 [ 16.234438][ C3] ret_from_fork_asm+0x1a/0x30 [ 16.234781][ C3] irq event stamp: 284846 [ 16.235043][ C3] hardirqs last enabled at (284846): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.235723][ C3] hardirqs last disabled at (284845): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.236392][ C3] softirqs last enabled at (284234): [] handle_softirqs+0x358/0x620 [ 16.236979][ C3] softirqs last disabled at (284253): [] __irq_exit_rcu+0xfa/0x160 [ 16.237562][ C3] [ 16.237562][ C3] other info that might help us debug this: [ 16.238054][ C3] Possible unsafe locking scenario: [ 16.238054][ C3] [ 16.238540][ C3] CPU0 [ 16.238789][ C3] ---- [ 16.239039][ C3] lock(pin_fs_lock); [ 16.239293][ C3] [ 16.239547][ C3] lock(pin_fs_lock); [ 16.239801][ C3] [ 16.239801][ C3] *** DEADLOCK *** [ 16.239801][ C3] [ 16.240296][ C3] 1 lock held by swapper/3/0: [ 16.240630][ C3] #0: ffffffff8e1774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.241235][ C3] [ 16.241235][ C3] stack backtrace: [ 16.241647][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.241654][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.241657][ C3] Call Trace: [ 16.241660][ C3] [ 16.241664][ C3] dump_stack_lvl+0x82/0xd0 [ 16.241673][ C3] print_usage_bug.part.0+0x25f/0x360 [ 16.241682][ C3] mark_lock_irq+0x343/0x400 [ 16.241690][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 16.241697][ C3] ? save_trace+0x52/0x170 [ 16.241706][ C3] mark_lock+0x174/0x2f0 [ 16.241713][ C3] mark_usage+0x46/0x150 [ 16.241718][ C3] __lock_acquire+0x20b/0x7e0 [ 16.241724][ C3] ? __lock_acquire+0x44d/0x7e0 [ 16.241731][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.241737][ C3] ? simple_pin_fs+0x24/0x150 [ 16.241744][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.241750][ C3] ? lock_acquire+0x10c/0x170 [ 16.241754][ C3] ? simple_pin_fs+0x24/0x150 [ 16.241762][ C3] _raw_spin_lock+0x33/0x40 [ 16.241767][ C3] ? simple_pin_fs+0x24/0x150 [ 16.241772][ C3] simple_pin_fs+0x24/0x150 [ 16.241777][ C3] debugfs_remove+0x35/0x70 [ 16.241783][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.241791][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.241797][ C3] ? __sk_destruct+0x383/0x780 [ 16.241805][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.241810][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.241815][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.241820][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.241827][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.241832][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.241838][ C3] ? default_idle+0x9/0x10 [ 16.241842][ C3] ? default_idle_call+0x6d/0xb0 [ 16.241847][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.241852][ C3] ? do_idle+0xf6/0x160 [ 16.241856][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.241860][ C3] ? start_secondary+0x213/0x2a0 [ 16.241866][ C3] ? common_startup_64+0x13e/0x148 [ 16.241877][ C3] __put_net+0x19/0x60 [ 16.241883][ C3] __sk_destruct+0x58a/0x780 [ 16.241890][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.241895][ C3] rcu_do_batch+0x34c/0xf20 [ 16.241901][ C3] ? find_held_lock+0x2b/0x80 [ 16.241909][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.241915][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.241921][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.241926][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.241934][ C3] rcu_core+0x2bb/0x500 [ 16.241941][ C3] handle_softirqs+0x218/0x620 [ 16.241950][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.241955][ C3] irq_exit_rcu+0xe/0x30 [ 16.241959][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.241966][ C3] [ 16.241968][ C3] [ 16.241970][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.241976][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.241982][ 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 [ 16.241987][ C3] RSP: 0000:ffffc90000157de8 EFLAGS: 00000242 [ 16.241992][ C3] RAX: 000000000004565b RBX: 1ffff9200002afc1 RCX: ffffffff8d1905d9 [ 16.241996][ C3] RDX: 0000000000000000 RSI: ffffffff8dc8f4e4 RDI: ffffffff8d453be0 [ 16.241999][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 16.242002][ C3] R10: ffff8880361b37d3 R11: ffffffff8de11288 R12: 0000000000000000 [ 16.242006][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.242013][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.242021][ C3] default_idle+0x9/0x10 [ 16.242026][ C3] default_idle_call+0x6d/0xb0 [ 16.242031][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.242036][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.242043][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.242051][ C3] do_idle+0xf6/0x160 [ 16.242057][ C3] cpu_startup_entry+0x54/0x60 [ 16.242062][ C3] start_secondary+0x213/0x2a0 [ 16.242068][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.242076][ C3] common_startup_64+0x13e/0x148 [ 16.242088][ C3] [ 16.271452][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.272228][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 16.272801][ C3] preempt_count: 101, expected: 0 [ 16.273122][ C3] RCU nest depth: 0, expected: 0 [ 16.273445][ C3] INFO: lockdep is turned off. [ 16.273976][ C3] Preemption disabled at: [ 16.273980][ C3] [<0000000000000000>] 0x0 [ 16.274526][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.274533][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.274537][ C3] Call Trace: [ 16.274540][ C3] [ 16.274544][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.274553][ C3] __might_resched+0x360/0x5a0 [ 16.274563][ C3] down_write+0x72/0x210 [ 16.274569][ C3] ? __pfx_down_write+0x10/0x10 [ 16.274574][ C3] ? simple_recursive_removal+0x33/0x610 [ 16.274578][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.274586][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.274594][ C3] simple_recursive_removal+0x6a/0x610 [ 16.274598][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.274604][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.274612][ C3] debugfs_remove+0x44/0x70 [ 16.274617][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.274626][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.274631][ C3] ? __sk_destruct+0x383/0x780 [ 16.274638][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.274644][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.274649][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.274654][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.274661][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.274667][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.274672][ C3] ? default_idle+0x9/0x10 [ 16.274676][ C3] ? default_idle_call+0x6d/0xb0 [ 16.274680][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.274685][ C3] ? do_idle+0xf6/0x160 [ 16.274689][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.274693][ C3] ? start_secondary+0x213/0x2a0 [ 16.274699][ C3] ? common_startup_64+0x13e/0x148 [ 16.274710][ C3] __put_net+0x19/0x60 [ 16.274715][ C3] __sk_destruct+0x58a/0x780 [ 16.274722][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.274727][ C3] rcu_do_batch+0x34c/0xf20 [ 16.274733][ C3] ? find_held_lock+0x2b/0x80 [ 16.274742][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.274748][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.274754][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.274759][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.274767][ C3] rcu_core+0x2bb/0x500 [ 16.274775][ C3] handle_softirqs+0x218/0x620 [ 16.274785][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.274792][ C3] irq_exit_rcu+0xe/0x30 [ 16.274797][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.274803][ C3] [ 16.274805][ C3] [ 16.274808][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.274813][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.274819][ 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 [ 16.274824][ C3] RSP: 0000:ffffc90000157de8 EFLAGS: 00000242 [ 16.274829][ C3] RAX: 000000000004565b RBX: 1ffff9200002afc1 RCX: ffffffff8d1905d9 [ 16.274833][ C3] RDX: 0000000000000000 RSI: ffffffff8dc8f4e4 RDI: ffffffff8d453be0 [ 16.274836][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 16.274847][ C3] R10: ffff8880361b37d3 R11: ffffffff8de11288 R12: 0000000000000000 [ 16.274851][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.274858][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.274867][ C3] default_idle+0x9/0x10 [ 16.274871][ C3] default_idle_call+0x6d/0xb0 [ 16.274876][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.274881][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.274889][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.274896][ C3] do_idle+0xf6/0x160 [ 16.274902][ C3] cpu_startup_entry+0x54/0x60 [ 16.274908][ C3] start_secondary+0x213/0x2a0 [ 16.274913][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.274922][ C3] common_startup_64+0x13e/0x148 [ 16.274936][ C3] [ 18.156118][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 18.156581][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 18.156921][ C2] preempt_count: 101, expected: 0 [ 18.157112][ C2] RCU nest depth: 0, expected: 0 [ 18.157300][ C2] INFO: lockdep is turned off. [ 18.157487][ C2] Preemption disabled at: [ 18.157490][ C2] [<0000000000000000>] 0x0 [ 18.157840][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 18.157846][ C2] Tainted: [W]=WARN [ 18.157848][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.157850][ C2] Call Trace: [ 18.157852][ C2] [ 18.157854][ C2] dump_stack_lvl+0xb0/0xd0 [ 18.157866][ C2] __might_resched+0x360/0x5a0 [ 18.157875][ C2] down_write+0x72/0x210 [ 18.157880][ C2] ? __pfx_down_write+0x10/0x10 [ 18.157883][ C2] ? simple_recursive_removal+0x33/0x610 [ 18.157889][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.157895][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 18.157902][ C2] simple_recursive_removal+0x6a/0x610 [ 18.157905][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 18.157908][ C2] ? __pfx_remove_one+0x10/0x10 [ 18.157915][ C2] debugfs_remove+0x44/0x70 [ 18.157919][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 18.157927][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.157931][ C2] ? __sk_destruct+0x383/0x780 [ 18.157938][ C2] ? rcu_do_batch+0x34c/0xf20 [ 18.157942][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.157946][ C2] ? irq_exit_rcu+0xe/0x30 [ 18.157952][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.157958][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.157963][ C2] ? pv_native_safe_halt+0xf/0x20 [ 18.157966][ C2] ? default_idle+0x9/0x10 [ 18.157969][ C2] ? default_idle_call+0x6d/0xb0 [ 18.157972][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.157976][ C2] ? do_idle+0xf6/0x160 [ 18.157978][ C2] ? cpu_startup_entry+0x54/0x60 [ 18.157981][ C2] ? start_secondary+0x213/0x2a0 [ 18.157986][ C2] ? common_startup_64+0x13e/0x148 [ 18.157993][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 18.157997][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.158002][ C2] __put_net+0x19/0x60 [ 18.158006][ C2] __sk_destruct+0x58a/0x780 [ 18.158011][ C2] ? rcu_do_batch+0x34a/0xf20 [ 18.158013][ C2] rcu_do_batch+0x34c/0xf20 [ 18.158018][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.158022][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.158026][ C2] rcu_core+0x2bb/0x500 [ 18.158031][ C2] handle_softirqs+0x218/0x620 [ 18.158037][ C2] __irq_exit_rcu+0xfa/0x160 [ 18.158040][ C2] irq_exit_rcu+0xe/0x30 [ 18.158042][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.158046][ C2] [ 18.158047][ C2] [ 18.158049][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.158052][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 18.158057][ 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 [ 18.158060][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 18.158065][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffff8d1905d9 [ 18.158067][ C2] RDX: ffffed1006c266fb RSI: ffffffff8d453b60 RDI: ffffffff8a98d18f [ 18.158069][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 18.158071][ C2] R10: ffff8880361337d3 R11: ffff888001bdcad8 R12: 0000000000000000 [ 18.158073][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 18.158077][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 18.158080][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.158084][ C2] default_idle+0x9/0x10 [ 18.158087][ C2] default_idle_call+0x6d/0xb0 [ 18.158090][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 18.158093][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 18.158097][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 18.158101][ C2] do_idle+0xf6/0x160 [ 18.158105][ C2] cpu_startup_entry+0x54/0x60 [ 18.158108][ C2] start_secondary+0x213/0x2a0 [ 18.158110][ C2] ? __pfx_start_secondary+0x10/0x10 [ 18.158115][ C2] common_startup_64+0x13e/0x148 [ 18.158122][ C2]