[ 12.690754][ C0] [ 12.690914][ C0] ================================ [ 12.691120][ C0] WARNING: inconsistent lock state [ 12.691326][ C0] 6.15.0-virtme #1 Not tainted [ 12.691532][ C0] -------------------------------- [ 12.691740][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 12.691991][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 12.692248][ C0] ffffffffb8fc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 12.692618][ C0] {SOFTIRQ-ON-W} state was registered at: [ 12.692821][ C0] __lock_acquire+0x20b/0x7e0 [ 12.693035][ C0] lock_acquire.part.0+0xb6/0x240 [ 12.693244][ C0] _raw_spin_lock+0x33/0x40 [ 12.693457][ C0] simple_pin_fs+0x24/0x150 [ 12.693664][ C0] start_creating.part.0+0x52/0x310 [ 12.693869][ C0] debugfs_create_dir+0x6a/0x540 [ 12.694072][ C0] component_debug_init+0x17/0x30 [ 12.694278][ C0] do_one_initcall+0x8f/0x1e0 [ 12.694485][ C0] do_initcalls+0x176/0x280 [ 12.694692][ C0] kernel_init_freeable+0x22d/0x300 [ 12.694900][ C0] kernel_init+0x20/0x200 [ 12.695110][ C0] ret_from_fork+0x240/0x320 [ 12.695321][ C0] ret_from_fork_asm+0x1a/0x30 [ 12.695527][ C0] irq event stamp: 445432 [ 12.695685][ C0] hardirqs last enabled at (445432): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.696101][ C0] hardirqs last disabled at (445431): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 12.696514][ C0] softirqs last enabled at (445052): [] handle_softirqs+0x358/0x620 [ 12.696878][ C0] softirqs last disabled at (445061): [] __irq_exit_rcu+0xfa/0x160 [ 12.697239][ C0] [ 12.697239][ C0] other info that might help us debug this: [ 12.697546][ C0] Possible unsafe locking scenario: [ 12.697546][ C0] [ 12.697849][ C0] CPU0 [ 12.698005][ C0] ---- [ 12.698158][ C0] lock(pin_fs_lock); [ 12.698316][ C0] [ 12.698475][ C0] lock(pin_fs_lock); [ 12.698635][ C0] [ 12.698635][ C0] *** DEADLOCK *** [ 12.698635][ C0] [ 12.698945][ C0] 1 lock held by swapper/0/0: [ 12.699157][ C0] #0: ffffffffb8d774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 12.699526][ C0] [ 12.699526][ C0] stack backtrace: [ 12.699783][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 12.699788][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.699790][ C0] Call Trace: [ 12.699791][ C0] [ 12.699793][ C0] dump_stack_lvl+0x82/0xd0 [ 12.699799][ C0] print_usage_bug.part.0+0x25f/0x360 [ 12.699804][ C0] mark_lock_irq+0x343/0x400 [ 12.699808][ C0] ? is_bpf_text_address+0x67/0x120 [ 12.699813][ C0] ? __lock_release+0x5d/0x170 [ 12.699817][ C0] ? save_trace+0x52/0x170 [ 12.699821][ C0] mark_lock+0x174/0x2f0 [ 12.699825][ C0] mark_usage+0x46/0x150 [ 12.699828][ C0] __lock_acquire+0x20b/0x7e0 [ 12.699832][ C0] ? __lock_acquire+0x44d/0x7e0 [ 12.699837][ C0] lock_acquire.part.0+0xb6/0x240 [ 12.699840][ C0] ? simple_pin_fs+0x24/0x150 [ 12.699843][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.699848][ C0] ? lock_acquire+0x10c/0x170 [ 12.699851][ C0] ? simple_pin_fs+0x24/0x150 [ 12.699855][ C0] _raw_spin_lock+0x33/0x40 [ 12.699858][ C0] ? simple_pin_fs+0x24/0x150 [ 12.699860][ C0] simple_pin_fs+0x24/0x150 [ 12.699863][ C0] debugfs_remove+0x35/0x70 [ 12.699867][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 12.699871][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.699874][ C0] ? __sk_destruct+0x383/0x780 [ 12.699879][ C0] ? rcu_do_batch+0x34c/0xf20 [ 12.699882][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.699885][ C0] ? irq_exit_rcu+0xe/0x30 [ 12.699888][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.699893][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.699897][ C0] ? pv_native_safe_halt+0xf/0x20 [ 12.699900][ C0] ? default_idle+0x9/0x10 [ 12.699902][ C0] ? default_idle_call+0x6d/0xb0 [ 12.699904][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 12.699908][ C0] ? do_idle+0xf6/0x160 [ 12.699911][ C0] ? cpu_startup_entry+0x54/0x60 [ 12.699914][ C0] ? rest_init+0x14b/0x260 [ 12.699916][ C0] ? start_kernel+0x350/0x410 [ 12.699922][ C0] __put_net+0x19/0x60 [ 12.699926][ C0] __sk_destruct+0x58a/0x780 [ 12.699930][ C0] ? rcu_do_batch+0x34a/0xf20 [ 12.699933][ C0] rcu_do_batch+0x34c/0xf20 [ 12.699938][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.699942][ C0] ? __lock_release+0x5d/0x170 [ 12.699945][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.699948][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.699953][ C0] rcu_core+0x2bb/0x500 [ 12.699958][ C0] handle_softirqs+0x218/0x620 [ 12.699963][ C0] __irq_exit_rcu+0xfa/0x160 [ 12.699967][ C0] irq_exit_rcu+0xe/0x30 [ 12.699970][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.699973][ C0] [ 12.699974][ C0] [ 12.699976][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.699979][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 12.699982][ C0] Code: 92 b4 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 07 0f 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 12.699985][ C0] RSP: 0018:ffffffffb8a07df8 EFLAGS: 00000242 [ 12.699988][ C0] RAX: 000000000006ca83 RBX: 1ffffffff7140fc3 RCX: ffffffffb7da35d9 [ 12.699990][ C0] RDX: 0000000000000000 RSI: ffffffffb889175c RDI: ffffffffb8053ca0 [ 12.699992][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 12.699994][ C0] R10: ffff8880360337d3 R11: ffffffffb8a11288 R12: 0000000000000000 [ 12.699996][ C0] R13: ffffffffb8a1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 12.699999][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 12.700004][ C0] default_idle+0x9/0x10 [ 12.700007][ C0] default_idle_call+0x6d/0xb0 [ 12.700009][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 12.700012][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 12.700016][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 12.700022][ C0] do_idle+0xf6/0x160 [ 12.700026][ C0] cpu_startup_entry+0x54/0x60 [ 12.700029][ C0] rest_init+0x14b/0x260 [ 12.700032][ C0] start_kernel+0x350/0x410 [ 12.700036][ C0] x86_64_start_reservations+0x18/0x30 [ 12.700041][ C0] x86_64_start_kernel+0xf8/0x150 [ 12.700045][ C0] common_startup_64+0x13e/0x148 [ 12.700055][ C0] [ 12.717459][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 12.717794][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 12.718503][ C0] preempt_count: 101, expected: 0 [ 12.718695][ C0] RCU nest depth: 0, expected: 0 [ 12.718887][ C0] INFO: lockdep is turned off. [ 12.719076][ C0] Preemption disabled at: [ 12.719078][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 12.719521][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 12.719525][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.719527][ C0] Call Trace: [ 12.719529][ C0] [ 12.719530][ C0] dump_stack_lvl+0xb0/0xd0 [ 12.719536][ C0] __might_resched+0x360/0x5a0 [ 12.719544][ C0] down_write+0x72/0x210 [ 12.719547][ C0] ? __pfx_down_write+0x10/0x10 [ 12.719550][ C0] ? simple_recursive_removal+0x33/0x610 [ 12.719554][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.719560][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 12.719564][ C0] simple_recursive_removal+0x6a/0x610 [ 12.719567][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 12.719569][ C0] ? __pfx_remove_one+0x10/0x10 [ 12.719574][ C0] debugfs_remove+0x44/0x70 [ 12.719578][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 12.719582][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.719584][ C0] ? __sk_destruct+0x383/0x780 [ 12.719589][ C0] ? rcu_do_batch+0x34c/0xf20 [ 12.719593][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.719595][ C0] ? irq_exit_rcu+0xe/0x30 [ 12.719600][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.719605][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.719608][ C0] ? pv_native_safe_halt+0xf/0x20 [ 12.719611][ C0] ? default_idle+0x9/0x10 [ 12.719614][ C0] ? default_idle_call+0x6d/0xb0 [ 12.719616][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 12.719620][ C0] ? do_idle+0xf6/0x160 [ 12.719623][ C0] ? cpu_startup_entry+0x54/0x60 [ 12.719625][ C0] ? rest_init+0x14b/0x260 [ 12.719628][ C0] ? start_kernel+0x350/0x410 [ 12.719635][ C0] __put_net+0x19/0x60 [ 12.719639][ C0] __sk_destruct+0x58a/0x780 [ 12.719643][ C0] ? rcu_do_batch+0x34a/0xf20 [ 12.719646][ C0] rcu_do_batch+0x34c/0xf20 [ 12.719651][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.719654][ C0] ? __lock_release+0x5d/0x170 [ 12.719660][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.719663][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.719669][ C0] rcu_core+0x2bb/0x500 [ 12.719673][ C0] handle_softirqs+0x218/0x620 [ 12.719679][ C0] __irq_exit_rcu+0xfa/0x160 [ 12.719682][ C0] irq_exit_rcu+0xe/0x30 [ 12.719685][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.719689][ C0] [ 12.719690][ C0] [ 12.719691][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.719694][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 12.719698][ C0] Code: 92 b4 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 07 0f 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 12.719700][ C0] RSP: 0018:ffffffffb8a07df8 EFLAGS: 00000242 [ 12.719704][ C0] RAX: 000000000006ca83 RBX: 1ffffffff7140fc3 RCX: ffffffffb7da35d9 [ 12.719706][ C0] RDX: 0000000000000000 RSI: ffffffffb889175c RDI: ffffffffb8053ca0 [ 12.719707][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 12.719709][ C0] R10: ffff8880360337d3 R11: ffffffffb8a11288 R12: 0000000000000000 [ 12.719711][ C0] R13: ffffffffb8a1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 12.719715][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 12.719719][ C0] default_idle+0x9/0x10 [ 12.719722][ C0] default_idle_call+0x6d/0xb0 [ 12.719724][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 12.719728][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 12.719732][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 12.719737][ C0] do_idle+0xf6/0x160 [ 12.719741][ C0] cpu_startup_entry+0x54/0x60 [ 12.719744][ C0] rest_init+0x14b/0x260 [ 12.719748][ C0] start_kernel+0x350/0x410 [ 12.719752][ C0] x86_64_start_reservations+0x18/0x30 [ 12.719755][ C0] x86_64_start_kernel+0xf8/0x150 [ 12.719760][ C0] common_startup_64+0x13e/0x148 [ 12.719768][ C0]