[ 14.613014][ C3] [ 14.613214][ C3] ================================ [ 14.613403][ C3] WARNING: inconsistent lock state [ 14.613588][ C3] 6.15.0-virtme #1 Not tainted [ 14.613775][ C3] -------------------------------- [ 14.613963][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.614195][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.614425][ C3] ffffffff9b1c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.614758][ C3] {SOFTIRQ-ON-W} state was registered at: [ 14.614942][ C3] __lock_acquire+0x20b/0x7e0 [ 14.615135][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.615322][ C3] _raw_spin_lock+0x33/0x40 [ 14.615514][ C3] simple_pin_fs+0x24/0x150 [ 14.615700][ C3] start_creating.part.0+0x52/0x310 [ 14.615886][ C3] debugfs_create_dir+0x6a/0x540 [ 14.616073][ C3] component_debug_init+0x17/0x30 [ 14.616263][ C3] do_one_initcall+0x8f/0x1e0 [ 14.616451][ C3] do_initcalls+0x176/0x280 [ 14.616638][ C3] kernel_init_freeable+0x22d/0x300 [ 14.616821][ C3] kernel_init+0x20/0x200 [ 14.617007][ C3] ret_from_fork+0x240/0x320 [ 14.617193][ C3] ret_from_fork_asm+0x1a/0x30 [ 14.617378][ C3] irq event stamp: 249594 [ 14.617526][ C3] hardirqs last enabled at (249594): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.617894][ C3] hardirqs last disabled at (249593): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.618264][ C3] softirqs last enabled at (248544): [] handle_softirqs+0x358/0x620 [ 14.618590][ C3] softirqs last disabled at (248551): [] __irq_exit_rcu+0xfa/0x160 [ 14.618914][ C3] [ 14.618914][ C3] other info that might help us debug this: [ 14.619190][ C3] Possible unsafe locking scenario: [ 14.619190][ C3] [ 14.619459][ C3] CPU0 [ 14.619598][ C3] ---- [ 14.619733][ C3] lock(pin_fs_lock); [ 14.619873][ C3] [ 14.620012][ C3] lock(pin_fs_lock); [ 14.620153][ C3] [ 14.620153][ C3] *** DEADLOCK *** [ 14.620153][ C3] [ 14.620425][ C3] 1 lock held by swapper/3/0: [ 14.620609][ C3] #0: ffffffff9af774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.620940][ C3] [ 14.620940][ C3] stack backtrace: [ 14.621169][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.621174][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.621175][ C3] Call Trace: [ 14.621177][ C3] [ 14.621179][ C3] dump_stack_lvl+0x82/0xd0 [ 14.621185][ C3] print_usage_bug.part.0+0x25f/0x360 [ 14.621190][ C3] mark_lock_irq+0x343/0x400 [ 14.621194][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.621199][ C3] ? save_trace+0x52/0x170 [ 14.621205][ C3] mark_lock+0x174/0x2f0 [ 14.621208][ C3] mark_usage+0x46/0x150 [ 14.621211][ C3] __lock_acquire+0x20b/0x7e0 [ 14.621214][ C3] ? __lock_acquire+0x44d/0x7e0 [ 14.621218][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.621221][ C3] ? simple_pin_fs+0x24/0x150 [ 14.621225][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.621230][ C3] ? lock_acquire+0x10c/0x170 [ 14.621232][ C3] ? simple_pin_fs+0x24/0x150 [ 14.621237][ C3] _raw_spin_lock+0x33/0x40 [ 14.621240][ C3] ? simple_pin_fs+0x24/0x150 [ 14.621244][ C3] simple_pin_fs+0x24/0x150 [ 14.621247][ C3] debugfs_remove+0x35/0x70 [ 14.621251][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.621256][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.621260][ C3] ? __sk_destruct+0x383/0x780 [ 14.621265][ C3] ? rcu_do_batch+0x34c/0xf20 [ 14.621268][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.621271][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.621274][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.621279][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.621283][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.621286][ C3] ? default_idle+0x9/0x10 [ 14.621288][ C3] ? default_idle_call+0x6d/0xb0 [ 14.621291][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.621295][ C3] ? do_idle+0xf6/0x160 [ 14.621297][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.621299][ C3] ? start_secondary+0x213/0x2a0 [ 14.621303][ C3] ? common_startup_64+0x13e/0x148 [ 14.621310][ C3] __put_net+0x19/0x60 [ 14.621314][ C3] __sk_destruct+0x58a/0x780 [ 14.621318][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.621320][ C3] rcu_do_batch+0x34c/0xf20 [ 14.621324][ C3] ? find_held_lock+0x2b/0x80 [ 14.621328][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.621331][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.621335][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.621338][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.621342][ C3] rcu_core+0x2bb/0x500 [ 14.621347][ C3] handle_softirqs+0x218/0x620 [ 14.621352][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.621355][ C3] irq_exit_rcu+0xe/0x30 [ 14.621358][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.621362][ C3] [ 14.621363][ C3] [ 14.621364][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.621367][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.621371][ 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 [ 14.621374][ C3] RSP: 0000:ffffc90000157de8 EFLAGS: 00000242 [ 14.621377][ C3] RAX: 000000000003cae5 RBX: 1ffff9200002afc1 RCX: ffffffff99f905d9 [ 14.621379][ C3] RDX: 0000000000000000 RSI: ffffffff9aa8f4e4 RDI: ffffffff9a253be0 [ 14.621381][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 14.621382][ C3] R10: ffff8880361b37d3 R11: ffffffff9ac11288 R12: 0000000000000000 [ 14.621384][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 14.621388][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.621393][ C3] default_idle+0x9/0x10 [ 14.621395][ C3] default_idle_call+0x6d/0xb0 [ 14.621398][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.621401][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.621405][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.621409][ C3] do_idle+0xf6/0x160 [ 14.621413][ C3] cpu_startup_entry+0x54/0x60 [ 14.621416][ C3] start_secondary+0x213/0x2a0 [ 14.621418][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.621423][ C3] common_startup_64+0x13e/0x148 [ 14.621430][ C3] [ 14.636200][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.636501][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 14.636797][ C3] preempt_count: 101, expected: 0 [ 14.636975][ C3] RCU nest depth: 0, expected: 0 [ 14.637162][ C3] INFO: lockdep is turned off. [ 14.637335][ C3] Preemption disabled at: [ 14.637337][ C3] [<0000000000000000>] 0x0 [ 14.637644][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.637648][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.637650][ C3] Call Trace: [ 14.637651][ C3] [ 14.637653][ C3] dump_stack_lvl+0xb0/0xd0 [ 14.637659][ C3] __might_resched+0x360/0x5a0 [ 14.637666][ C3] down_write+0x72/0x210 [ 14.637670][ C3] ? __pfx_down_write+0x10/0x10 [ 14.637673][ C3] ? simple_recursive_removal+0x33/0x610 [ 14.637676][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.637681][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.637686][ C3] simple_recursive_removal+0x6a/0x610 [ 14.637689][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.637692][ C3] ? __pfx_remove_one+0x10/0x10 [ 14.637698][ C3] debugfs_remove+0x44/0x70 [ 14.637700][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.637705][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.637709][ C3] ? __sk_destruct+0x383/0x780 [ 14.637712][ C3] ? rcu_do_batch+0x34c/0xf20 [ 14.637715][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.637719][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.637723][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.637727][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.637730][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.637734][ C3] ? default_idle+0x9/0x10 [ 14.637736][ C3] ? default_idle_call+0x6d/0xb0 [ 14.637739][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.637742][ C3] ? do_idle+0xf6/0x160 [ 14.637744][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.637747][ C3] ? start_secondary+0x213/0x2a0 [ 14.637750][ C3] ? common_startup_64+0x13e/0x148 [ 14.637756][ C3] __put_net+0x19/0x60 [ 14.637759][ C3] __sk_destruct+0x58a/0x780 [ 14.637763][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.637766][ C3] rcu_do_batch+0x34c/0xf20 [ 14.637769][ C3] ? find_held_lock+0x2b/0x80 [ 14.637774][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.637778][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.637782][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.637785][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.637790][ C3] rcu_core+0x2bb/0x500 [ 14.637794][ C3] handle_softirqs+0x218/0x620 [ 14.637799][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.637802][ C3] irq_exit_rcu+0xe/0x30 [ 14.637805][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.637808][ C3] [ 14.637809][ C3] [ 14.637811][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.637814][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.637818][ 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 [ 14.637820][ C3] RSP: 0000:ffffc90000157de8 EFLAGS: 00000242 [ 14.637823][ C3] RAX: 000000000003cae5 RBX: 1ffff9200002afc1 RCX: ffffffff99f905d9 [ 14.637825][ C3] RDX: 0000000000000000 RSI: ffffffff9aa8f4e4 RDI: ffffffff9a253be0 [ 14.637826][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 14.637828][ C3] R10: ffff8880361b37d3 R11: ffffffff9ac11288 R12: 0000000000000000 [ 14.637830][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 14.637833][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.637838][ C3] default_idle+0x9/0x10 [ 14.637840][ C3] default_idle_call+0x6d/0xb0 [ 14.637843][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.637846][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.637850][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.637854][ C3] do_idle+0xf6/0x160 [ 14.637858][ C3] cpu_startup_entry+0x54/0x60 [ 14.637861][ C3] start_secondary+0x213/0x2a0 [ 14.637863][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.637868][ C3] common_startup_64+0x13e/0x148 [ 14.637875][ C3] [ 16.579175][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.579860][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 16.580190][ C2] preempt_count: 101, expected: 0 [ 16.580389][ C2] RCU nest depth: 0, expected: 0 [ 16.580580][ C2] INFO: lockdep is turned off. [ 16.580775][ C2] Preemption disabled at: [ 16.580779][ C2] [<0000000000000000>] 0x0 [ 16.581159][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.581166][ C2] Tainted: [W]=WARN [ 16.581168][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.581173][ C2] Call Trace: [ 16.581178][ C2] [ 16.581180][ C2] dump_stack_lvl+0xb0/0xd0 [ 16.581218][ C2] __might_resched+0x360/0x5a0 [ 16.581237][ C2] down_write+0x72/0x210 [ 16.581243][ C2] ? __pfx_down_write+0x10/0x10 [ 16.581246][ C2] ? simple_recursive_removal+0x33/0x610 [ 16.581261][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.581270][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.581281][ C2] simple_recursive_removal+0x6a/0x610 [ 16.581284][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.581287][ C2] ? __pfx_remove_one+0x10/0x10 [ 16.581298][ C2] debugfs_remove+0x44/0x70 [ 16.581301][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 16.581316][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.581320][ C2] ? __sk_destruct+0x383/0x780 [ 16.581335][ C2] ? rcu_do_batch+0x34c/0xf20 [ 16.581340][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.581343][ C2] ? irq_exit_rcu+0xe/0x30 [ 16.581357][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.581364][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.581375][ C2] ? pv_native_safe_halt+0xf/0x20 [ 16.581379][ C2] ? default_idle+0x9/0x10 [ 16.581381][ C2] ? default_idle_call+0x6d/0xb0 [ 16.581384][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.581389][ C2] ? do_idle+0xf6/0x160 [ 16.581391][ C2] ? cpu_startup_entry+0x54/0x60 [ 16.581394][ C2] ? start_secondary+0x213/0x2a0 [ 16.581402][ C2] ? common_startup_64+0x13e/0x148 [ 16.581414][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.581421][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.581426][ C2] __put_net+0x19/0x60 [ 16.581431][ C2] __sk_destruct+0x58a/0x780 [ 16.581435][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.581438][ C2] rcu_do_batch+0x34c/0xf20 [ 16.581442][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.581446][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.581458][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.581465][ C2] rcu_core+0x2bb/0x500 [ 16.581469][ C2] handle_softirqs+0x218/0x620 [ 16.581474][ C2] __irq_exit_rcu+0xfa/0x160 [ 16.581477][ C2] irq_exit_rcu+0xe/0x30 [ 16.581480][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.581484][ C2] [ 16.581485][ C2] [ 16.581487][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.581490][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.581496][ 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.581500][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 16.581508][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffff99f905d9 [ 16.581511][ C2] RDX: ffffed1006c266fb RSI: ffffffff9a253b60 RDI: ffffffff9778d18f [ 16.581513][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 16.581514][ C2] R10: ffff8880361337d3 R11: ffffffff9d871d70 R12: 0000000000000000 [ 16.581517][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 16.581521][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.581524][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.581528][ C2] default_idle+0x9/0x10 [ 16.581530][ C2] default_idle_call+0x6d/0xb0 [ 16.581533][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 16.581536][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.581539][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.581544][ C2] do_idle+0xf6/0x160 [ 16.581547][ C2] cpu_startup_entry+0x54/0x60 [ 16.581550][ C2] start_secondary+0x213/0x2a0 [ 16.581553][ C2] ? __pfx_start_secondary+0x10/0x10 [ 16.581557][ C2] common_startup_64+0x13e/0x148 [ 16.581564][ C2]