[ 16.276265][ C2] [ 16.276545][ C2] ================================ [ 16.276868][ C2] WARNING: inconsistent lock state [ 16.277181][ C2] 6.15.0-virtme #1 Not tainted [ 16.277496][ C2] -------------------------------- [ 16.277794][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.278199][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.278624][ C2] ffffffff9d3c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 16.279249][ C2] {SOFTIRQ-ON-W} state was registered at: [ 16.279600][ C2] __lock_acquire+0x20b/0x7e0 [ 16.279911][ C2] lock_acquire.part.0+0xb6/0x240 [ 16.280182][ C2] _raw_spin_lock+0x33/0x40 [ 16.280525][ C2] simple_pin_fs+0x24/0x150 [ 16.280860][ C2] start_creating.part.0+0x52/0x310 [ 16.281198][ C2] debugfs_create_dir+0x6a/0x540 [ 16.281524][ C2] component_debug_init+0x17/0x30 [ 16.281846][ C2] do_one_initcall+0x8f/0x1e0 [ 16.282188][ C2] do_initcalls+0x176/0x280 [ 16.282524][ C2] kernel_init_freeable+0x22d/0x300 [ 16.282848][ C2] kernel_init+0x20/0x200 [ 16.283183][ C2] ret_from_fork+0x240/0x320 [ 16.283542][ C2] ret_from_fork_asm+0x1a/0x30 [ 16.283894][ C2] irq event stamp: 276914 [ 16.284154][ C2] hardirqs last enabled at (276914): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.284803][ C2] hardirqs last disabled at (276913): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.285447][ C2] softirqs last enabled at (275328): [] handle_softirqs+0x358/0x620 [ 16.286021][ C2] softirqs last disabled at (275377): [] __irq_exit_rcu+0xfa/0x160 [ 16.286587][ C2] [ 16.286587][ C2] other info that might help us debug this: [ 16.287063][ C2] Possible unsafe locking scenario: [ 16.287063][ C2] [ 16.287558][ C2] CPU0 [ 16.287814][ C2] ---- [ 16.288062][ C2] lock(pin_fs_lock); [ 16.288312][ C2] [ 16.288558][ C2] lock(pin_fs_lock); [ 16.288805][ C2] [ 16.288805][ C2] *** DEADLOCK *** [ 16.288805][ C2] [ 16.289278][ C2] 1 lock held by swapper/2/0: [ 16.289585][ C2] #0: ffffffff9d1774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.290128][ C2] [ 16.290128][ C2] stack backtrace: [ 16.290531][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.290540][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.290548][ C2] Call Trace: [ 16.290554][ C2] [ 16.290559][ C2] dump_stack_lvl+0x82/0xd0 [ 16.290576][ C2] print_usage_bug.part.0+0x25f/0x360 [ 16.290584][ C2] mark_lock_irq+0x343/0x400 [ 16.290593][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 16.290606][ C2] ? save_trace+0x52/0x170 [ 16.290615][ C2] mark_lock+0x174/0x2f0 [ 16.290620][ C2] mark_usage+0x46/0x150 [ 16.290626][ C2] __lock_acquire+0x20b/0x7e0 [ 16.290631][ C2] ? __lock_acquire+0x44d/0x7e0 [ 16.290638][ C2] lock_acquire.part.0+0xb6/0x240 [ 16.290645][ C2] ? simple_pin_fs+0x24/0x150 [ 16.290653][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.290662][ C2] ? lock_acquire+0x10c/0x170 [ 16.290666][ C2] ? simple_pin_fs+0x24/0x150 [ 16.290673][ C2] _raw_spin_lock+0x33/0x40 [ 16.290680][ C2] ? simple_pin_fs+0x24/0x150 [ 16.290685][ C2] simple_pin_fs+0x24/0x150 [ 16.290691][ C2] debugfs_remove+0x35/0x70 [ 16.290698][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 16.290710][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.290715][ C2] ? __sk_destruct+0x383/0x780 [ 16.290733][ C2] ? rcu_do_batch+0x34c/0xf20 [ 16.290738][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.290744][ C2] ? irq_exit_rcu+0xe/0x30 [ 16.290749][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.290758][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.290768][ C2] ? pv_native_safe_halt+0xf/0x20 [ 16.290773][ C2] ? default_idle+0x9/0x10 [ 16.290777][ C2] ? default_idle_call+0x6d/0xb0 [ 16.290782][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.290787][ C2] ? do_idle+0xf6/0x160 [ 16.290790][ C2] ? cpu_startup_entry+0x54/0x60 [ 16.290795][ C2] ? start_secondary+0x213/0x2a0 [ 16.290801][ C2] ? common_startup_64+0x13e/0x148 [ 16.290822][ C2] __put_net+0x19/0x60 [ 16.290829][ C2] __sk_destruct+0x58a/0x780 [ 16.290836][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.290839][ C2] rcu_do_batch+0x34c/0xf20 [ 16.290846][ C2] ? find_held_lock+0x2b/0x80 [ 16.290853][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.290858][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.290864][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.290869][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.290877][ C2] rcu_core+0x2bb/0x500 [ 16.290884][ C2] handle_softirqs+0x218/0x620 [ 16.290894][ C2] __irq_exit_rcu+0xfa/0x160 [ 16.290898][ C2] irq_exit_rcu+0xe/0x30 [ 16.290903][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.290910][ C2] [ 16.290911][ C2] [ 16.290914][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.290919][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.290925][ 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.290929][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 16.290937][ C2] RAX: 00000000000433af RBX: 1ffff92000028fc1 RCX: ffffffff9c1905d9 [ 16.290940][ C2] RDX: 0000000000000000 RSI: ffffffff9cc8f4e4 RDI: ffffffff9c453be0 [ 16.290944][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 16.290946][ C2] R10: ffff8880361337d3 R11: ffffffff9ce11288 R12: 0000000000000000 [ 16.290950][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 16.290957][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.290964][ C2] default_idle+0x9/0x10 [ 16.290968][ C2] default_idle_call+0x6d/0xb0 [ 16.290973][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 16.290979][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.290985][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.290993][ C2] do_idle+0xf6/0x160 [ 16.290999][ C2] cpu_startup_entry+0x54/0x60 [ 16.291005][ C2] start_secondary+0x213/0x2a0 [ 16.291009][ C2] ? __pfx_start_secondary+0x10/0x10 [ 16.291017][ C2] common_startup_64+0x13e/0x148 [ 16.291030][ C2] [ 16.320070][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.320658][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 16.321415][ C2] preempt_count: 101, expected: 0 [ 16.321773][ C2] RCU nest depth: 0, expected: 0 [ 16.322101][ C2] INFO: lockdep is turned off. [ 16.322424][ C2] Preemption disabled at: [ 16.322427][ C2] [<0000000000000000>] 0x0 [ 16.323026][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.323033][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.323035][ C2] Call Trace: [ 16.323038][ C2] [ 16.323041][ C2] dump_stack_lvl+0xb0/0xd0 [ 16.323053][ C2] __might_resched+0x360/0x5a0 [ 16.323069][ C2] down_write+0x72/0x210 [ 16.323076][ C2] ? __pfx_down_write+0x10/0x10 [ 16.323081][ C2] ? simple_recursive_removal+0x33/0x610 [ 16.323087][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.323094][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.323105][ C2] simple_recursive_removal+0x6a/0x610 [ 16.323110][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.323116][ C2] ? __pfx_remove_one+0x10/0x10 [ 16.323125][ C2] debugfs_remove+0x44/0x70 [ 16.323130][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 16.323138][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.323146][ C2] ? __sk_destruct+0x383/0x780 [ 16.323153][ C2] ? rcu_do_batch+0x34c/0xf20 [ 16.323158][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.323164][ C2] ? irq_exit_rcu+0xe/0x30 [ 16.323170][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.323177][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.323184][ C2] ? pv_native_safe_halt+0xf/0x20 [ 16.323189][ C2] ? default_idle+0x9/0x10 [ 16.323193][ C2] ? default_idle_call+0x6d/0xb0 [ 16.323198][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.323203][ C2] ? do_idle+0xf6/0x160 [ 16.323207][ C2] ? cpu_startup_entry+0x54/0x60 [ 16.323211][ C2] ? start_secondary+0x213/0x2a0 [ 16.323217][ C2] ? common_startup_64+0x13e/0x148 [ 16.323228][ C2] __put_net+0x19/0x60 [ 16.323234][ C2] __sk_destruct+0x58a/0x780 [ 16.323241][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.323248][ C2] rcu_do_batch+0x34c/0xf20 [ 16.323255][ C2] ? find_held_lock+0x2b/0x80 [ 16.323264][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.323270][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.323276][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.323281][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.323290][ C2] rcu_core+0x2bb/0x500 [ 16.323297][ C2] handle_softirqs+0x218/0x620 [ 16.323307][ C2] __irq_exit_rcu+0xfa/0x160 [ 16.323312][ C2] irq_exit_rcu+0xe/0x30 [ 16.323317][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.323324][ C2] [ 16.323326][ C2] [ 16.323328][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.323334][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.323340][ 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.323344][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 16.323350][ C2] RAX: 00000000000433af RBX: 1ffff92000028fc1 RCX: ffffffff9c1905d9 [ 16.323354][ C2] RDX: 0000000000000000 RSI: ffffffff9cc8f4e4 RDI: ffffffff9c453be0 [ 16.323357][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 16.323360][ C2] R10: ffff8880361337d3 R11: ffffffff9ce11288 R12: 0000000000000000 [ 16.323363][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 16.323371][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.323380][ C2] default_idle+0x9/0x10 [ 16.323385][ C2] default_idle_call+0x6d/0xb0 [ 16.323390][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 16.323395][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.323402][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.323410][ C2] do_idle+0xf6/0x160 [ 16.323415][ C2] cpu_startup_entry+0x54/0x60 [ 16.323421][ C2] start_secondary+0x213/0x2a0 [ 16.323426][ C2] ? __pfx_start_secondary+0x10/0x10 [ 16.323435][ C2] common_startup_64+0x13e/0x148 [ 16.323448][ C2] [ 18.692882][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 18.693289][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 18.693651][ C0] preempt_count: 101, expected: 0 [ 18.693861][ C0] RCU nest depth: 0, expected: 0 [ 18.694065][ C0] INFO: lockdep is turned off. [ 18.694269][ C0] Preemption disabled at: [ 18.694270][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 18.694753][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 18.694759][ C0] Tainted: [W]=WARN [ 18.694760][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.694762][ C0] Call Trace: [ 18.694764][ C0] [ 18.694766][ C0] dump_stack_lvl+0xb0/0xd0 [ 18.694772][ C0] __might_resched+0x360/0x5a0 [ 18.694780][ C0] down_write+0x72/0x210 [ 18.694784][ C0] ? __pfx_down_write+0x10/0x10 [ 18.694787][ C0] ? simple_recursive_removal+0x33/0x610 [ 18.694791][ C0] ? rcu_is_watching+0x12/0xc0 [ 18.694796][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 18.694802][ C0] simple_recursive_removal+0x6a/0x610 [ 18.694805][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 18.694808][ C0] ? __pfx_remove_one+0x10/0x10 [ 18.694814][ C0] debugfs_remove+0x44/0x70 [ 18.694817][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 18.694823][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.694826][ C0] ? __sk_destruct+0x383/0x780 [ 18.694832][ C0] ? rcu_do_batch+0x34c/0xf20 [ 18.694835][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.694838][ C0] ? irq_exit_rcu+0xe/0x30 [ 18.694843][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.694848][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.694852][ C0] ? pv_native_safe_halt+0xf/0x20 [ 18.694858][ C0] ? default_idle+0x9/0x10 [ 18.694861][ C0] ? default_idle_call+0x6d/0xb0 [ 18.694864][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.694867][ C0] ? do_idle+0xf6/0x160 [ 18.694870][ C0] ? cpu_startup_entry+0x54/0x60 [ 18.694872][ C0] ? rest_init+0x14b/0x260 [ 18.694875][ C0] ? start_kernel+0x350/0x410 [ 18.694881][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 18.694888][ C0] ? rcu_is_watching+0x12/0xc0 [ 18.694893][ C0] __put_net+0x19/0x60 [ 18.694896][ C0] __sk_destruct+0x58a/0x780 [ 18.694900][ C0] ? rcu_do_batch+0x34a/0xf20 [ 18.694903][ C0] rcu_do_batch+0x34c/0xf20 [ 18.694908][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.694912][ C0] ? rcu_is_watching+0x12/0xc0 [ 18.694916][ C0] rcu_core+0x2bb/0x500 [ 18.694921][ C0] handle_softirqs+0x218/0x620 [ 18.694926][ C0] __irq_exit_rcu+0xfa/0x160 [ 18.694929][ C0] irq_exit_rcu+0xe/0x30 [ 18.694932][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.694935][ C0] [ 18.694937][ C0] [ 18.694938][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.694941][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 18.694946][ C0] 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.694948][ C0] RSP: 0018:ffffffff9ce07df8 EFLAGS: 00000246 [ 18.694952][ C0] RAX: 0000000000000000 RBX: 1ffffffff39c0fc3 RCX: ffffffff9c1905d9 [ 18.694954][ C0] RDX: ffffed1006c066fb RSI: ffffffff9c453b60 RDI: ffffffff9998d18f [ 18.694956][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c066fa [ 18.694958][ C0] R10: ffff8880360337d3 R11: ffff888001bdcad8 R12: 0000000000000000 [ 18.694959][ C0] R13: ffffffff9ce1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 18.694963][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 18.694967][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.694971][ C0] default_idle+0x9/0x10 [ 18.694973][ C0] default_idle_call+0x6d/0xb0 [ 18.694976][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 18.694979][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 18.694983][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 18.694988][ C0] do_idle+0xf6/0x160 [ 18.694992][ C0] cpu_startup_entry+0x54/0x60 [ 18.694994][ C0] rest_init+0x14b/0x260 [ 18.694998][ C0] start_kernel+0x350/0x410 [ 18.695002][ C0] x86_64_start_reservations+0x18/0x30 [ 18.695008][ C0] x86_64_start_kernel+0xf8/0x150 [ 18.695011][ C0] common_startup_64+0x13e/0x148 [ 18.695021][ C0]