[ 14.964227][ C1] [ 14.964363][ C1] ================================ [ 14.964568][ C1] WARNING: inconsistent lock state [ 14.964752][ C1] 6.15.0-virtme #1 Not tainted [ 14.964937][ C1] -------------------------------- [ 14.965117][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.965343][ C1] ksoftirqd/1/22 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.965574][ C1] ffffffffbc9c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.965902][ C1] {SOFTIRQ-ON-W} state was registered at: [ 14.966084][ C1] __lock_acquire+0x20b/0x7e0 [ 14.966277][ C1] lock_acquire.part.0+0xb6/0x240 [ 14.966457][ C1] _raw_spin_lock+0x33/0x40 [ 14.966645][ C1] simple_pin_fs+0x24/0x150 [ 14.966835][ C1] start_creating.part.0+0x52/0x310 [ 14.967022][ C1] debugfs_create_dir+0x6a/0x540 [ 14.967205][ C1] component_debug_init+0x17/0x30 [ 14.967392][ C1] do_one_initcall+0x8f/0x1e0 [ 14.967578][ C1] do_initcalls+0x176/0x280 [ 14.967763][ C1] kernel_init_freeable+0x22d/0x300 [ 14.967950][ C1] kernel_init+0x20/0x200 [ 14.968137][ C1] ret_from_fork+0x240/0x320 [ 14.968327][ C1] ret_from_fork_asm+0x1a/0x30 [ 14.968512][ C1] irq event stamp: 251808 [ 14.968653][ C1] hardirqs last enabled at (251808): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.969017][ C1] hardirqs last disabled at (251807): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.969383][ C1] softirqs last enabled at (251480): [] handle_softirqs+0x358/0x620 [ 14.969701][ C1] softirqs last disabled at (251485): [] run_ksoftirqd+0x3f/0x70 [ 14.970024][ C1] [ 14.970024][ C1] other info that might help us debug this: [ 14.970294][ C1] Possible unsafe locking scenario: [ 14.970294][ C1] [ 14.970562][ C1] CPU0 [ 14.970699][ C1] ---- [ 14.970834][ C1] lock(pin_fs_lock); [ 14.970975][ C1] [ 14.971112][ C1] lock(pin_fs_lock); [ 14.971252][ C1] [ 14.971252][ C1] *** DEADLOCK *** [ 14.971252][ C1] [ 14.971530][ C1] 1 lock held by ksoftirqd/1/22: [ 14.971715][ C1] #0: ffffffffbc7774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.972043][ C1] [ 14.972043][ C1] stack backtrace: [ 14.972269][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.972274][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.972276][ C1] Call Trace: [ 14.972278][ C1] [ 14.972280][ C1] dump_stack_lvl+0x82/0xd0 [ 14.972286][ C1] print_usage_bug.part.0+0x25f/0x360 [ 14.972291][ C1] mark_lock_irq+0x343/0x400 [ 14.972295][ C1] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.972299][ C1] ? save_trace+0x52/0x170 [ 14.972306][ C1] mark_lock+0x174/0x2f0 [ 14.972309][ C1] mark_usage+0x46/0x150 [ 14.972313][ C1] __lock_acquire+0x20b/0x7e0 [ 14.972316][ C1] ? __lock_acquire+0x44d/0x7e0 [ 14.972320][ C1] lock_acquire.part.0+0xb6/0x240 [ 14.972323][ C1] ? simple_pin_fs+0x24/0x150 [ 14.972327][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.972331][ C1] ? lock_acquire+0x10c/0x170 [ 14.972334][ C1] ? simple_pin_fs+0x24/0x150 [ 14.972338][ C1] _raw_spin_lock+0x33/0x40 [ 14.972342][ C1] ? simple_pin_fs+0x24/0x150 [ 14.972345][ C1] simple_pin_fs+0x24/0x150 [ 14.972349][ C1] debugfs_remove+0x35/0x70 [ 14.972353][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 14.972358][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.972362][ C1] ? __sk_destruct+0x383/0x780 [ 14.972367][ C1] ? rcu_do_batch+0x34c/0xf20 [ 14.972370][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.972373][ C1] ? smpboot_thread_fn+0x30a/0x960 [ 14.972377][ C1] ? kthread+0x37e/0x600 [ 14.972381][ C1] ? ret_from_fork+0x240/0x320 [ 14.972383][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 14.972386][ C1] ? migrate_enable+0x1f2/0x270 [ 14.972390][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 14.972396][ C1] __put_net+0x19/0x60 [ 14.972399][ C1] __sk_destruct+0x58a/0x780 [ 14.972403][ C1] ? rcu_do_batch+0x34a/0xf20 [ 14.972406][ C1] rcu_do_batch+0x34c/0xf20 [ 14.972411][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.972414][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.972417][ C1] ? note_gp_changes+0x182/0x1e0 [ 14.972420][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.972424][ C1] rcu_core+0x2bb/0x500 [ 14.972428][ C1] handle_softirqs+0x218/0x620 [ 14.972432][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 14.972436][ C1] run_ksoftirqd+0x3f/0x70 [ 14.972438][ C1] smpboot_thread_fn+0x30a/0x960 [ 14.972442][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 14.972446][ C1] kthread+0x37e/0x600 [ 14.972449][ C1] ? __pfx_kthread+0x10/0x10 [ 14.972451][ C1] ? ret_from_fork+0x1b/0x320 [ 14.972453][ C1] ? __lock_release+0x5d/0x170 [ 14.972457][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.972460][ C1] ? __pfx_kthread+0x10/0x10 [ 14.972462][ C1] ret_from_fork+0x240/0x320 [ 14.972465][ C1] ? __pfx_kthread+0x10/0x10 [ 14.972467][ C1] ret_from_fork_asm+0x1a/0x30 [ 14.972475][ C1] [ 14.982703][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.983001][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 22, name: ksoftirqd/1 [ 14.983303][ C1] preempt_count: 100, expected: 0 [ 14.983472][ C1] RCU nest depth: 0, expected: 0 [ 14.983641][ C1] INFO: lockdep is turned off. [ 14.983810][ C1] Preemption disabled at: [ 14.983812][ C1] [] handle_softirqs+0xe5/0x620 [ 14.984151][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.984156][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.984157][ C1] Call Trace: [ 14.984159][ C1] [ 14.984161][ C1] dump_stack_lvl+0xb0/0xd0 [ 14.984166][ C1] __might_resched+0x360/0x5a0 [ 14.984171][ C1] down_write+0x72/0x210 [ 14.984175][ C1] ? __pfx_down_write+0x10/0x10 [ 14.984178][ C1] ? simple_recursive_removal+0x33/0x610 [ 14.984181][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.984185][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 14.984190][ C1] simple_recursive_removal+0x6a/0x610 [ 14.984193][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 14.984199][ C1] ? __pfx_remove_one+0x10/0x10 [ 14.984205][ C1] debugfs_remove+0x44/0x70 [ 14.984207][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 14.984212][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.984215][ C1] ? __sk_destruct+0x383/0x780 [ 14.984220][ C1] ? rcu_do_batch+0x34c/0xf20 [ 14.984222][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.984225][ C1] ? smpboot_thread_fn+0x30a/0x960 [ 14.984229][ C1] ? kthread+0x37e/0x600 [ 14.984231][ C1] ? ret_from_fork+0x240/0x320 [ 14.984234][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 14.984238][ C1] ? migrate_enable+0x1f2/0x270 [ 14.984241][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 14.984247][ C1] __put_net+0x19/0x60 [ 14.984250][ C1] __sk_destruct+0x58a/0x780 [ 14.984254][ C1] ? rcu_do_batch+0x34a/0xf20 [ 14.984256][ C1] rcu_do_batch+0x34c/0xf20 [ 14.984261][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.984264][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.984267][ C1] ? note_gp_changes+0x182/0x1e0 [ 14.984269][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.984273][ C1] rcu_core+0x2bb/0x500 [ 14.984277][ C1] handle_softirqs+0x218/0x620 [ 14.984281][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 14.984284][ C1] run_ksoftirqd+0x3f/0x70 [ 14.984287][ C1] smpboot_thread_fn+0x30a/0x960 [ 14.984291][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 14.984295][ C1] kthread+0x37e/0x600 [ 14.984297][ C1] ? __pfx_kthread+0x10/0x10 [ 14.984300][ C1] ? ret_from_fork+0x1b/0x320 [ 14.984302][ C1] ? __lock_release+0x5d/0x170 [ 14.984305][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.984308][ C1] ? __pfx_kthread+0x10/0x10 [ 14.984311][ C1] ret_from_fork+0x240/0x320 [ 14.984314][ C1] ? __pfx_kthread+0x10/0x10 [ 14.984316][ C1] ret_from_fork_asm+0x1a/0x30 [ 14.984323][ C1] [ 16.712303][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.712700][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 16.713044][ C2] preempt_count: 101, expected: 0 [ 16.713257][ C2] RCU nest depth: 0, expected: 0 [ 16.713458][ C2] INFO: lockdep is turned off. [ 16.713663][ C2] Preemption disabled at: [ 16.713665][ C2] [<0000000000000000>] 0x0 [ 16.714030][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.714036][ C2] Tainted: [W]=WARN [ 16.714037][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.714039][ C2] Call Trace: [ 16.714041][ C2] [ 16.714043][ C2] dump_stack_lvl+0xb0/0xd0 [ 16.714052][ C2] __might_resched+0x360/0x5a0 [ 16.714059][ C2] down_write+0x72/0x210 [ 16.714063][ C2] ? __pfx_down_write+0x10/0x10 [ 16.714066][ C2] ? simple_recursive_removal+0x33/0x610 [ 16.714071][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.714076][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.714082][ C2] simple_recursive_removal+0x6a/0x610 [ 16.714085][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.714088][ C2] ? __pfx_remove_one+0x10/0x10 [ 16.714093][ C2] debugfs_remove+0x44/0x70 [ 16.714097][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 16.714103][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.714106][ C2] ? __sk_destruct+0x383/0x780 [ 16.714112][ C2] ? rcu_do_batch+0x34c/0xf20 [ 16.714116][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.714119][ C2] ? irq_exit_rcu+0xe/0x30 [ 16.714123][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.714128][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.714132][ C2] ? pv_native_safe_halt+0xf/0x20 [ 16.714135][ C2] ? default_idle+0x9/0x10 [ 16.714138][ C2] ? default_idle_call+0x6d/0xb0 [ 16.714141][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.714144][ C2] ? do_idle+0xf6/0x160 [ 16.714147][ C2] ? cpu_startup_entry+0x54/0x60 [ 16.714149][ C2] ? start_secondary+0x213/0x2a0 [ 16.714152][ C2] ? common_startup_64+0x13e/0x148 [ 16.714158][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.714162][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.714166][ C2] __put_net+0x19/0x60 [ 16.714170][ C2] __sk_destruct+0x58a/0x780 [ 16.714174][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.714176][ C2] rcu_do_batch+0x34c/0xf20 [ 16.714181][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.714184][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.714190][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.714199][ C2] rcu_core+0x2bb/0x500 [ 16.714204][ C2] handle_softirqs+0x218/0x620 [ 16.714210][ C2] __irq_exit_rcu+0xfa/0x160 [ 16.714213][ C2] irq_exit_rcu+0xe/0x30 [ 16.714216][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.714219][ C2] [ 16.714220][ C2] [ 16.714222][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.714225][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.714229][ 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.714231][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 16.714235][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffffbb7905d9 [ 16.714237][ C2] RDX: ffffed1006c266fb RSI: ffffffffbba53b60 RDI: ffffffffb8f8d18f [ 16.714239][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 16.714241][ C2] R10: ffff8880361337d3 R11: ffffffffbf111730 R12: 0000000000000000 [ 16.714243][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 16.714247][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.714250][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.714254][ C2] default_idle+0x9/0x10 [ 16.714256][ C2] default_idle_call+0x6d/0xb0 [ 16.714259][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 16.714262][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.714266][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.714270][ C2] do_idle+0xf6/0x160 [ 16.714274][ C2] cpu_startup_entry+0x54/0x60 [ 16.714277][ C2] start_secondary+0x213/0x2a0 [ 16.714279][ C2] ? __pfx_start_secondary+0x10/0x10 [ 16.714284][ C2] common_startup_64+0x13e/0x148 [ 16.714291][ C2]