[ 18.703733][ C2] [ 18.703967][ C2] ================================ [ 18.704306][ C2] WARNING: inconsistent lock state [ 18.704625][ C2] 6.15.0-rc7-virtme #1 Not tainted [ 18.704919][ C2] -------------------------------- [ 18.705232][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 18.705625][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 18.706025][ C2] ffffffffbc3bff78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 18.706574][ C2] {SOFTIRQ-ON-W} state was registered at: [ 18.706889][ C2] __lock_acquire+0x3eb/0x9d0 [ 18.707233][ C2] lock_acquire.part.0+0xb6/0x240 [ 18.707568][ C2] _raw_spin_lock+0x33/0x40 [ 18.707904][ C2] simple_pin_fs+0x24/0x150 [ 18.708241][ C2] start_creating.part.0+0x3f/0x2f0 [ 18.708581][ C2] debugfs_create_dir+0x6a/0x540 [ 18.708892][ C2] component_debug_init+0x17/0x30 [ 18.709235][ C2] do_one_initcall+0x8f/0x1e0 [ 18.709575][ C2] do_initcalls+0x176/0x280 [ 18.709910][ C2] kernel_init_freeable+0x22d/0x300 [ 18.710241][ C2] kernel_init+0x20/0x200 [ 18.710599][ C2] ret_from_fork+0x31/0x70 [ 18.710932][ C2] ret_from_fork_asm+0x1a/0x30 [ 18.711270][ C2] irq event stamp: 296036 [ 18.711531][ C2] hardirqs last enabled at (296036): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 18.712194][ C2] hardirqs last disabled at (296035): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 18.712854][ C2] softirqs last enabled at (295510): [] handle_softirqs+0x358/0x620 [ 18.713415][ C2] softirqs last disabled at (295517): [] __irq_exit_rcu+0xfa/0x160 [ 18.713973][ C2] [ 18.713973][ C2] other info that might help us debug this: [ 18.714461][ C2] Possible unsafe locking scenario: [ 18.714461][ C2] [ 18.714951][ C2] CPU0 [ 18.715198][ C2] ---- [ 18.715449][ C2] lock(pin_fs_lock); [ 18.715706][ C2] [ 18.715954][ C2] lock(pin_fs_lock); [ 18.716212][ C2] [ 18.716212][ C2] *** DEADLOCK *** [ 18.716212][ C2] [ 18.716684][ C2] 1 lock held by swapper/2/0: [ 18.716959][ C2] #0: ffffffffbc1749c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 18.717327][ C2] [ 18.717327][ C2] stack backtrace: [ 18.717625][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 18.717633][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.717636][ C2] Call Trace: [ 18.717640][ C2] [ 18.717645][ C2] dump_stack_lvl+0x82/0xd0 [ 18.717657][ C2] print_usage_bug.part.0+0x25f/0x360 [ 18.717669][ C2] mark_lock_irq+0x343/0x400 [ 18.717677][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 18.717685][ C2] ? save_trace+0x52/0x170 [ 18.717690][ C2] mark_lock+0x174/0x2f0 [ 18.717694][ C2] mark_usage+0x46/0x150 [ 18.717698][ C2] __lock_acquire+0x3eb/0x9d0 [ 18.717704][ C2] lock_acquire.part.0+0xb6/0x240 [ 18.717706][ C2] ? simple_pin_fs+0x24/0x150 [ 18.717711][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.717716][ C2] ? lock_acquire+0x10c/0x170 [ 18.717719][ C2] ? simple_pin_fs+0x24/0x150 [ 18.717722][ C2] _raw_spin_lock+0x33/0x40 [ 18.717726][ C2] ? simple_pin_fs+0x24/0x150 [ 18.717728][ C2] simple_pin_fs+0x24/0x150 [ 18.717731][ C2] debugfs_remove+0x35/0x70 [ 18.717736][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 18.717742][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.717745][ C2] ? __sk_destruct+0x383/0x780 [ 18.717752][ C2] ? rcu_do_batch+0x34f/0xf20 [ 18.717756][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.717759][ C2] ? irq_exit_rcu+0xe/0x30 [ 18.717763][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.717769][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.717774][ C2] ? pv_native_safe_halt+0xf/0x20 [ 18.717777][ C2] ? default_idle+0x9/0x10 [ 18.717780][ C2] ? default_idle_call+0x6d/0xb0 [ 18.717782][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.717788][ C2] ? do_idle+0xf6/0x160 [ 18.717791][ C2] ? cpu_startup_entry+0x54/0x60 [ 18.717794][ C2] ? start_secondary+0x213/0x2a0 [ 18.717800][ C2] ? common_startup_64+0x13e/0x148 [ 18.717807][ C2] __put_net+0x19/0x60 [ 18.717812][ C2] __sk_destruct+0x58a/0x780 [ 18.717816][ C2] ? rcu_do_batch+0x34a/0xf20 [ 18.717819][ C2] rcu_do_batch+0x34f/0xf20 [ 18.717823][ C2] ? find_held_lock+0x2b/0x80 [ 18.717827][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.717831][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 18.717835][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 18.717839][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 18.717844][ C2] rcu_core+0x2bb/0x500 [ 18.717850][ C2] handle_softirqs+0x218/0x620 [ 18.717858][ C2] __irq_exit_rcu+0xfa/0x160 [ 18.717862][ C2] irq_exit_rcu+0xe/0x30 [ 18.717865][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.717871][ C2] [ 18.717873][ C2] [ 18.717875][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.717881][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 18.717887][ C2] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 18.717892][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 18.717897][ C2] RAX: 000000000004825b RBX: 1ffff92000028fc1 RCX: ffffffffbb15ba19 [ 18.717901][ C2] RDX: 0000000000000000 RSI: ffffffffbbc87785 RDI: ffffffffbb451260 [ 18.717904][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2667a [ 18.717907][ C2] R10: ffff8880361333d3 R11: 0000000000000000 R12: 0000000000000000 [ 18.717910][ C2] R13: ffff888001bf2340 R14: dffffc0000000000 R15: 0000000000000000 [ 18.717918][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 18.717927][ C2] default_idle+0x9/0x10 [ 18.717931][ C2] default_idle_call+0x6d/0xb0 [ 18.717935][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 18.717941][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 18.717950][ C2] ? tsc_verify_tsc_adjust+0x98/0x300 [ 18.717958][ C2] do_idle+0xf6/0x160 [ 18.717965][ C2] cpu_startup_entry+0x54/0x60 [ 18.717971][ C2] start_secondary+0x213/0x2a0 [ 18.717977][ C2] ? __pfx_start_secondary+0x10/0x10 [ 18.717987][ C2] common_startup_64+0x13e/0x148 [ 18.718000][ C2] [ 18.737036][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 18.737439][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 18.737815][ C2] preempt_count: 101, expected: 0 [ 18.738042][ C2] RCU nest depth: 0, expected: 0 [ 18.738293][ C2] INFO: lockdep is turned off. [ 18.738543][ C2] Preemption disabled at: [ 18.738546][ C2] [<0000000000000000>] 0x0 [ 18.738981][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 18.738989][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.738993][ C2] Call Trace: [ 18.738996][ C2] [ 18.739001][ C2] dump_stack_lvl+0xb0/0xd0 [ 18.739014][ C2] __might_resched+0x360/0x5a0 [ 18.739026][ C2] down_write+0x72/0x210 [ 18.739033][ C2] ? __pfx_down_write+0x10/0x10 [ 18.739038][ C2] ? simple_recursive_removal+0x3a/0x860 [ 18.739046][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.739055][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 18.739061][ C2] simple_recursive_removal+0x166/0x860 [ 18.739064][ C2] ? __pfx_remove_one+0x10/0x10 [ 18.739069][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 18.739074][ C2] debugfs_remove+0x44/0x70 [ 18.739077][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 18.739084][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.739087][ C2] ? __sk_destruct+0x383/0x780 [ 18.739094][ C2] ? rcu_do_batch+0x34f/0xf20 [ 18.739099][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.739102][ C2] ? irq_exit_rcu+0xe/0x30 [ 18.739107][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.739113][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.739118][ C2] ? pv_native_safe_halt+0xf/0x20 [ 18.739121][ C2] ? default_idle+0x9/0x10 [ 18.739124][ C2] ? default_idle_call+0x6d/0xb0 [ 18.739127][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.739133][ C2] ? do_idle+0xf6/0x160 [ 18.739136][ C2] ? cpu_startup_entry+0x54/0x60 [ 18.739139][ C2] ? start_secondary+0x213/0x2a0 [ 18.739145][ C2] ? common_startup_64+0x13e/0x148 [ 18.739152][ C2] __put_net+0x19/0x60 [ 18.739157][ C2] __sk_destruct+0x58a/0x780 [ 18.739161][ C2] ? rcu_do_batch+0x34a/0xf20 [ 18.739164][ C2] rcu_do_batch+0x34f/0xf20 [ 18.739168][ C2] ? find_held_lock+0x2b/0x80 [ 18.739174][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.739178][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 18.739184][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 18.739187][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 18.739192][ C2] rcu_core+0x2bb/0x500 [ 18.739197][ C2] handle_softirqs+0x218/0x620 [ 18.739202][ C2] __irq_exit_rcu+0xfa/0x160 [ 18.739205][ C2] irq_exit_rcu+0xe/0x30 [ 18.739207][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.739211][ C2] [ 18.739212][ C2] [ 18.739214][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.739217][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 18.739222][ C2] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 18.739225][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 18.739229][ C2] RAX: 000000000004825b RBX: 1ffff92000028fc1 RCX: ffffffffbb15ba19 [ 18.739232][ C2] RDX: 0000000000000000 RSI: ffffffffbbc87785 RDI: ffffffffbb451260 [ 18.739234][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2667a [ 18.739236][ C2] R10: ffff8880361333d3 R11: 0000000000000000 R12: 0000000000000000 [ 18.739238][ C2] R13: ffff888001bf2340 R14: dffffc0000000000 R15: 0000000000000000 [ 18.739242][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 18.739247][ C2] default_idle+0x9/0x10 [ 18.739249][ C2] default_idle_call+0x6d/0xb0 [ 18.739252][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 18.739256][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 18.739260][ C2] ? tsc_verify_tsc_adjust+0x98/0x300 [ 18.739265][ C2] do_idle+0xf6/0x160 [ 18.739269][ C2] cpu_startup_entry+0x54/0x60 [ 18.739273][ C2] start_secondary+0x213/0x2a0 [ 18.739277][ C2] ? __pfx_start_secondary+0x10/0x10 [ 18.739282][ C2] common_startup_64+0x13e/0x148 [ 18.739289][ C2] [ 21.398496][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 21.398972][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 21.399288][ C3] preempt_count: 101, expected: 0 [ 21.399519][ C3] RCU nest depth: 0, expected: 0 [ 21.399714][ C3] INFO: lockdep is turned off. [ 21.399944][ C3] Preemption disabled at: [ 21.399946][ C3] [<0000000000000000>] 0x0 [ 21.400327][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-rc7-virtme #1 PREEMPT(full) [ 21.400334][ C3] Tainted: [W]=WARN [ 21.400336][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.400338][ C3] Call Trace: [ 21.400340][ C3] [ 21.400343][ C3] dump_stack_lvl+0xb0/0xd0 [ 21.400355][ C3] __might_resched+0x360/0x5a0 [ 21.400363][ C3] down_write+0x72/0x210 [ 21.400369][ C3] ? __pfx_down_write+0x10/0x10 [ 21.400372][ C3] ? simple_recursive_removal+0x3a/0x860 [ 21.400378][ C3] ? rcu_is_watching+0x12/0xc0 [ 21.400386][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 21.400391][ C3] simple_recursive_removal+0x166/0x860 [ 21.400394][ C3] ? __pfx_remove_one+0x10/0x10 [ 21.400400][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 21.400405][ C3] debugfs_remove+0x44/0x70 [ 21.400408][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 21.400414][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 21.400417][ C3] ? __sk_destruct+0x383/0x780 [ 21.400424][ C3] ? rcu_do_batch+0x34f/0xf20 [ 21.400429][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 21.400432][ C3] ? irq_exit_rcu+0xe/0x30 [ 21.400437][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 21.400444][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 21.400448][ C3] ? pv_native_safe_halt+0xf/0x20 [ 21.400451][ C3] ? default_idle+0x9/0x10 [ 21.400454][ C3] ? default_idle_call+0x6d/0xb0 [ 21.400456][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 21.400462][ C3] ? do_idle+0xf6/0x160 [ 21.400465][ C3] ? cpu_startup_entry+0x54/0x60 [ 21.400468][ C3] ? start_secondary+0x213/0x2a0 [ 21.400475][ C3] ? common_startup_64+0x13e/0x148 [ 21.400480][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 21.400485][ C3] ? rcu_is_watching+0x12/0xc0 [ 21.400491][ C3] __put_net+0x19/0x60 [ 21.400495][ C3] __sk_destruct+0x58a/0x780 [ 21.400499][ C3] ? rcu_do_batch+0x34a/0xf20 [ 21.400502][ C3] rcu_do_batch+0x34f/0xf20 [ 21.400508][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 21.400512][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 21.400518][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 21.400524][ C3] rcu_core+0x2bb/0x500 [ 21.400528][ C3] handle_softirqs+0x218/0x620 [ 21.400533][ C3] __irq_exit_rcu+0xfa/0x160 [ 21.400535][ C3] irq_exit_rcu+0xe/0x30 [ 21.400538][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 21.400541][ C3] [ 21.400542][ C3] [ 21.400544][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 21.400547][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 21.400552][ C3] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 21.400555][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 21.400559][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffffbb15ba19 [ 21.400561][ C3] RDX: ffffed1006c3667b RSI: ffffffffbb4511e0 RDI: ffffffffb898633f [ 21.400563][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c3667a [ 21.400565][ C3] R10: ffff8880361b33d3 R11: ffff88800a334b58 R12: 0000000000000000 [ 21.400567][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 21.400571][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 21.400574][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 21.400578][ C3] default_idle+0x9/0x10 [ 21.400581][ C3] default_idle_call+0x6d/0xb0 [ 21.400583][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 21.400587][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 21.400591][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 21.400597][ C3] do_idle+0xf6/0x160 [ 21.400601][ C3] cpu_startup_entry+0x54/0x60 [ 21.400605][ C3] start_secondary+0x213/0x2a0 [ 21.400608][ C3] ? __pfx_start_secondary+0x10/0x10 [ 21.400614][ C3] common_startup_64+0x13e/0x148 [ 21.400620][ C3]