[ 15.958130][ C3] [ 15.958350][ C3] ================================ [ 15.958563][ C3] WARNING: inconsistent lock state [ 15.958777][ C3] 6.15.0-virtme #1 Not tainted [ 15.958993][ C3] -------------------------------- [ 15.959200][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.959459][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.959723][ C3] ffffffff8c1c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.960104][ C3] {SOFTIRQ-ON-W} state was registered at: [ 15.960312][ C3] __lock_acquire+0x20b/0x7e0 [ 15.960528][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.960739][ C3] _raw_spin_lock+0x33/0x40 [ 15.960952][ C3] simple_pin_fs+0x24/0x150 [ 15.961158][ C3] start_creating.part.0+0x52/0x310 [ 15.961367][ C3] debugfs_create_dir+0x6a/0x540 [ 15.961576][ C3] component_debug_init+0x17/0x30 [ 15.961782][ C3] do_one_initcall+0x8f/0x1e0 [ 15.961990][ C3] do_initcalls+0x176/0x280 [ 15.962198][ C3] kernel_init_freeable+0x22d/0x300 [ 15.962407][ C3] kernel_init+0x20/0x200 [ 15.962606][ C3] ret_from_fork+0x240/0x320 [ 15.962816][ C3] ret_from_fork_asm+0x1a/0x30 [ 15.963019][ C3] irq event stamp: 299868 [ 15.963182][ C3] hardirqs last enabled at (299868): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.963598][ C3] hardirqs last disabled at (299867): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.964012][ C3] softirqs last enabled at (299272): [] handle_softirqs+0x358/0x620 [ 15.964376][ C3] softirqs last disabled at (299279): [] __irq_exit_rcu+0xfa/0x160 [ 15.964736][ C3] [ 15.964736][ C3] other info that might help us debug this: [ 15.965051][ C3] Possible unsafe locking scenario: [ 15.965051][ C3] [ 15.965364][ C3] CPU0 [ 15.965516][ C3] ---- [ 15.965671][ C3] lock(pin_fs_lock); [ 15.965828][ C3] [ 15.965984][ C3] lock(pin_fs_lock); [ 15.966143][ C3] [ 15.966143][ C3] *** DEADLOCK *** [ 15.966143][ C3] [ 15.966448][ C3] 1 lock held by swapper/3/0: [ 15.966661][ C3] #0: ffffffff8bf774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.967030][ C3] [ 15.967030][ C3] stack backtrace: [ 15.967295][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.967299][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.967301][ C3] Call Trace: [ 15.967303][ C3] [ 15.967305][ C3] dump_stack_lvl+0x82/0xd0 [ 15.967311][ C3] print_usage_bug.part.0+0x25f/0x360 [ 15.967315][ C3] mark_lock_irq+0x343/0x400 [ 15.967320][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.967324][ C3] ? save_trace+0x52/0x170 [ 15.967330][ C3] mark_lock+0x174/0x2f0 [ 15.967334][ C3] mark_usage+0x46/0x150 [ 15.967337][ C3] __lock_acquire+0x20b/0x7e0 [ 15.967340][ C3] ? __lock_acquire+0x44d/0x7e0 [ 15.967344][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.967347][ C3] ? simple_pin_fs+0x24/0x150 [ 15.967351][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.967355][ C3] ? lock_acquire+0x10c/0x170 [ 15.967358][ C3] ? simple_pin_fs+0x24/0x150 [ 15.967362][ C3] _raw_spin_lock+0x33/0x40 [ 15.967366][ C3] ? simple_pin_fs+0x24/0x150 [ 15.967369][ C3] simple_pin_fs+0x24/0x150 [ 15.967373][ C3] debugfs_remove+0x35/0x70 [ 15.967376][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.967382][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.967386][ C3] ? __sk_destruct+0x383/0x780 [ 15.967391][ C3] ? rcu_do_batch+0x34c/0xf20 [ 15.967394][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.967397][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.967400][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.967404][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.967408][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.967411][ C3] ? default_idle+0x9/0x10 [ 15.967414][ C3] ? default_idle_call+0x6d/0xb0 [ 15.967416][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.967420][ C3] ? do_idle+0xf6/0x160 [ 15.967422][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.967425][ C3] ? start_secondary+0x213/0x2a0 [ 15.967428][ C3] ? common_startup_64+0x13e/0x148 [ 15.967436][ C3] __put_net+0x19/0x60 [ 15.967439][ C3] __sk_destruct+0x58a/0x780 [ 15.967443][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.967446][ C3] rcu_do_batch+0x34c/0xf20 [ 15.967449][ C3] ? find_held_lock+0x2b/0x80 [ 15.967453][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.967456][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.967460][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.967463][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.967468][ C3] rcu_core+0x2bb/0x500 [ 15.967472][ C3] handle_softirqs+0x218/0x620 [ 15.967478][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.967481][ C3] irq_exit_rcu+0xe/0x30 [ 15.967484][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.967487][ C3] [ 15.967488][ C3] [ 15.967490][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.967493][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.967497][ 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.967500][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 15.967503][ C3] RAX: 000000000004910d RBX: 1ffff9200002afc1 RCX: ffffffff8af905d9 [ 15.967505][ C3] RDX: 0000000000000000 RSI: ffffffff8ba8f4e4 RDI: ffffffff8b253be0 [ 15.967506][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 15.967508][ C3] R10: ffff8880361b37d3 R11: ffffffff8bc11288 R12: 0000000000000000 [ 15.967510][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 15.967514][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.967518][ C3] default_idle+0x9/0x10 [ 15.967521][ C3] default_idle_call+0x6d/0xb0 [ 15.967523][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.967526][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.967530][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.967535][ C3] do_idle+0xf6/0x160 [ 15.967538][ C3] cpu_startup_entry+0x54/0x60 [ 15.967541][ C3] start_secondary+0x213/0x2a0 [ 15.967544][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.967548][ C3] common_startup_64+0x13e/0x148 [ 15.967555][ C3] [ 15.984422][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.984757][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 15.985090][ C3] preempt_count: 101, expected: 0 [ 15.985389][ C3] RCU nest depth: 0, expected: 0 [ 15.985585][ C3] INFO: lockdep is turned off. [ 15.985770][ C3] Preemption disabled at: [ 15.985772][ C3] [<0000000000000000>] 0x0 [ 15.986207][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.986211][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.986212][ C3] Call Trace: [ 15.986214][ C3] [ 15.986216][ C3] dump_stack_lvl+0xb0/0xd0 [ 15.986222][ C3] __might_resched+0x360/0x5a0 [ 15.986228][ C3] down_write+0x72/0x210 [ 15.986232][ C3] ? __pfx_down_write+0x10/0x10 [ 15.986235][ C3] ? simple_recursive_removal+0x33/0x610 [ 15.986240][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.986244][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.986249][ C3] simple_recursive_removal+0x6a/0x610 [ 15.986252][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.986255][ C3] ? __pfx_remove_one+0x10/0x10 [ 15.986260][ C3] debugfs_remove+0x44/0x70 [ 15.986263][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.986269][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.986272][ C3] ? __sk_destruct+0x383/0x780 [ 15.986276][ C3] ? rcu_do_batch+0x34c/0xf20 [ 15.986279][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.986283][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.986286][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.986291][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.986294][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.986297][ C3] ? default_idle+0x9/0x10 [ 15.986300][ C3] ? default_idle_call+0x6d/0xb0 [ 15.986302][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.986306][ C3] ? do_idle+0xf6/0x160 [ 15.986308][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.986310][ C3] ? start_secondary+0x213/0x2a0 [ 15.986313][ C3] ? common_startup_64+0x13e/0x148 [ 15.986319][ C3] __put_net+0x19/0x60 [ 15.986323][ C3] __sk_destruct+0x58a/0x780 [ 15.986327][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.986329][ C3] rcu_do_batch+0x34c/0xf20 [ 15.986333][ C3] ? find_held_lock+0x2b/0x80 [ 15.986338][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.986341][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.986345][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.986348][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.986353][ C3] rcu_core+0x2bb/0x500 [ 15.986357][ C3] handle_softirqs+0x218/0x620 [ 15.986362][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.986365][ C3] irq_exit_rcu+0xe/0x30 [ 15.986368][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.986371][ C3] [ 15.986372][ C3] [ 15.986374][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.986377][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.986380][ 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.986383][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 15.986386][ C3] RAX: 000000000004910d RBX: 1ffff9200002afc1 RCX: ffffffff8af905d9 [ 15.986388][ C3] RDX: 0000000000000000 RSI: ffffffff8ba8f4e4 RDI: ffffffff8b253be0 [ 15.986389][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 15.986391][ C3] R10: ffff8880361b37d3 R11: ffffffff8bc11288 R12: 0000000000000000 [ 15.986392][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 15.986396][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.986401][ C3] default_idle+0x9/0x10 [ 15.986404][ C3] default_idle_call+0x6d/0xb0 [ 15.986406][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.986409][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.986413][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.986417][ C3] do_idle+0xf6/0x160 [ 15.986421][ C3] cpu_startup_entry+0x54/0x60 [ 15.986424][ C3] start_secondary+0x213/0x2a0 [ 15.986426][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.986431][ C3] common_startup_64+0x13e/0x148 [ 15.986438][ C3] [ 18.079752][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 18.080154][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 18.080491][ C2] preempt_count: 101, expected: 0 [ 18.080698][ C2] RCU nest depth: 0, expected: 0 [ 18.080884][ C2] INFO: lockdep is turned off. [ 18.081069][ C2] Preemption disabled at: [ 18.081071][ C2] [<0000000000000000>] 0x0 [ 18.081410][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 18.081417][ C2] Tainted: [W]=WARN [ 18.081418][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.081421][ C2] Call Trace: [ 18.081423][ C2] [ 18.081425][ C2] dump_stack_lvl+0xb0/0xd0 [ 18.081437][ C2] __might_resched+0x360/0x5a0 [ 18.081446][ C2] down_write+0x72/0x210 [ 18.081451][ C2] ? __pfx_down_write+0x10/0x10 [ 18.081454][ C2] ? simple_recursive_removal+0x33/0x610 [ 18.081460][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.081466][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 18.081473][ C2] simple_recursive_removal+0x6a/0x610 [ 18.081476][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 18.081479][ C2] ? __pfx_remove_one+0x10/0x10 [ 18.081486][ C2] debugfs_remove+0x44/0x70 [ 18.081489][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 18.081497][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.081501][ C2] ? __sk_destruct+0x383/0x780 [ 18.081508][ C2] ? rcu_do_batch+0x34c/0xf20 [ 18.081512][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.081515][ C2] ? irq_exit_rcu+0xe/0x30 [ 18.081522][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.081528][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.081533][ C2] ? pv_native_safe_halt+0xf/0x20 [ 18.081537][ C2] ? default_idle+0x9/0x10 [ 18.081540][ C2] ? default_idle_call+0x6d/0xb0 [ 18.081542][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.081547][ C2] ? do_idle+0xf6/0x160 [ 18.081549][ C2] ? cpu_startup_entry+0x54/0x60 [ 18.081551][ C2] ? start_secondary+0x213/0x2a0 [ 18.081556][ C2] ? common_startup_64+0x13e/0x148 [ 18.081563][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 18.081568][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.081576][ C2] __put_net+0x19/0x60 [ 18.081581][ C2] __sk_destruct+0x58a/0x780 [ 18.081585][ C2] ? rcu_do_batch+0x34a/0xf20 [ 18.081588][ C2] rcu_do_batch+0x34c/0xf20 [ 18.081593][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.081597][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.081601][ C2] rcu_core+0x2bb/0x500 [ 18.081606][ C2] handle_softirqs+0x218/0x620 [ 18.081612][ C2] __irq_exit_rcu+0xfa/0x160 [ 18.081615][ C2] irq_exit_rcu+0xe/0x30 [ 18.081618][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.081622][ C2] [ 18.081623][ C2] [ 18.081625][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.081628][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 18.081633][ 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.081636][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 18.081640][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffff8af905d9 [ 18.081643][ C2] RDX: ffffed1006c266fb RSI: ffffffff8b253b60 RDI: ffffffff8878d18f [ 18.081644][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 18.081646][ C2] R10: ffff8880361337d3 R11: ffff888001bdcad8 R12: 0000000000000000 [ 18.081648][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 18.081652][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 18.081656][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.081659][ C2] default_idle+0x9/0x10 [ 18.081662][ C2] default_idle_call+0x6d/0xb0 [ 18.081664][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 18.081668][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 18.081671][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 18.081676][ C2] do_idle+0xf6/0x160 [ 18.081679][ C2] cpu_startup_entry+0x54/0x60 [ 18.081682][ C2] start_secondary+0x213/0x2a0 [ 18.081685][ C2] ? __pfx_start_secondary+0x10/0x10 [ 18.081689][ C2] common_startup_64+0x13e/0x148 [ 18.081696][ C2]