[ 19.415774][ C0] [ 19.415935][ C0] ================================ [ 19.416145][ C0] WARNING: inconsistent lock state [ 19.416366][ C0] 6.15.0-virtme #1 Not tainted [ 19.416620][ C0] -------------------------------- [ 19.416843][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 19.417107][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 19.417380][ C0] ffffffffabbc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 19.417784][ C0] {SOFTIRQ-ON-W} state was registered at: [ 19.417992][ C0] __lock_acquire+0x20b/0x7e0 [ 19.418217][ C0] lock_acquire.part.0+0xb6/0x240 [ 19.418445][ C0] _raw_spin_lock+0x33/0x40 [ 19.418668][ C0] simple_pin_fs+0x24/0x150 [ 19.418879][ C0] start_creating.part.0+0x52/0x310 [ 19.419103][ C0] debugfs_create_dir+0x6a/0x540 [ 19.419313][ C0] component_debug_init+0x17/0x30 [ 19.419535][ C0] do_one_initcall+0x8f/0x1e0 [ 19.419748][ C0] do_initcalls+0x176/0x280 [ 19.419966][ C0] kernel_init_freeable+0x22d/0x300 [ 19.420178][ C0] kernel_init+0x20/0x200 [ 19.420408][ C0] ret_from_fork+0x240/0x320 [ 19.420649][ C0] ret_from_fork_asm+0x1a/0x30 [ 19.420994][ C0] irq event stamp: 448264 [ 19.421269][ C0] hardirqs last enabled at (448264): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 19.421981][ C0] hardirqs last disabled at (448263): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 19.422686][ C0] softirqs last enabled at (446074): [] handle_softirqs+0x358/0x620 [ 19.423324][ C0] softirqs last disabled at (446081): [] __irq_exit_rcu+0xfa/0x160 [ 19.423942][ C0] [ 19.423942][ C0] other info that might help us debug this: [ 19.424460][ C0] Possible unsafe locking scenario: [ 19.424460][ C0] [ 19.424972][ C0] CPU0 [ 19.425239][ C0] ---- [ 19.425505][ C0] lock(pin_fs_lock); [ 19.425755][ C0] [ 19.426007][ C0] lock(pin_fs_lock); [ 19.426265][ C0] [ 19.426265][ C0] *** DEADLOCK *** [ 19.426265][ C0] [ 19.426763][ C0] 1 lock held by swapper/0/0: [ 19.427099][ C0] #0: ffffffffab9774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 19.427710][ C0] [ 19.427710][ C0] stack backtrace: [ 19.428168][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 19.428177][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.428180][ C0] Call Trace: [ 19.428183][ C0] [ 19.428186][ C0] dump_stack_lvl+0x82/0xd0 [ 19.428196][ C0] print_usage_bug.part.0+0x25f/0x360 [ 19.428206][ C0] mark_lock_irq+0x343/0x400 [ 19.428212][ C0] ? is_bpf_text_address+0x67/0x120 [ 19.428219][ C0] ? __lock_release+0x5d/0x170 [ 19.428226][ C0] ? save_trace+0x52/0x170 [ 19.428236][ C0] mark_lock+0x174/0x2f0 [ 19.428243][ C0] mark_usage+0x46/0x150 [ 19.428247][ C0] __lock_acquire+0x20b/0x7e0 [ 19.428251][ C0] ? __lock_acquire+0x44d/0x7e0 [ 19.428259][ C0] lock_acquire.part.0+0xb6/0x240 [ 19.428265][ C0] ? simple_pin_fs+0x24/0x150 [ 19.428273][ C0] ? rcu_is_watching+0x12/0xc0 [ 19.428279][ C0] ? lock_acquire+0x10c/0x170 [ 19.428284][ C0] ? simple_pin_fs+0x24/0x150 [ 19.428292][ C0] _raw_spin_lock+0x33/0x40 [ 19.428298][ C0] ? simple_pin_fs+0x24/0x150 [ 19.428303][ C0] simple_pin_fs+0x24/0x150 [ 19.428310][ C0] debugfs_remove+0x35/0x70 [ 19.428317][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 19.428324][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 19.428330][ C0] ? __sk_destruct+0x383/0x780 [ 19.428336][ C0] ? rcu_do_batch+0x34c/0xf20 [ 19.428341][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 19.428346][ C0] ? irq_exit_rcu+0xe/0x30 [ 19.428351][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.428358][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.428364][ C0] ? pv_native_safe_halt+0xf/0x20 [ 19.428369][ C0] ? default_idle+0x9/0x10 [ 19.428374][ C0] ? default_idle_call+0x6d/0xb0 [ 19.428378][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 19.428383][ C0] ? do_idle+0xf6/0x160 [ 19.428388][ C0] ? cpu_startup_entry+0x54/0x60 [ 19.428392][ C0] ? rest_init+0x14b/0x260 [ 19.428397][ C0] ? start_kernel+0x350/0x410 [ 19.428408][ C0] __put_net+0x19/0x60 [ 19.428413][ C0] __sk_destruct+0x58a/0x780 [ 19.428420][ C0] ? rcu_do_batch+0x34a/0xf20 [ 19.428424][ C0] rcu_do_batch+0x34c/0xf20 [ 19.428430][ C0] ? find_held_lock+0x2b/0x80 [ 19.428438][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 19.428444][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 19.428449][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 19.428454][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 19.428463][ C0] rcu_core+0x2bb/0x500 [ 19.428470][ C0] handle_softirqs+0x218/0x620 [ 19.428480][ C0] __irq_exit_rcu+0xfa/0x160 [ 19.428485][ C0] irq_exit_rcu+0xe/0x30 [ 19.428490][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.428495][ C0] [ 19.428497][ C0] [ 19.428500][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.428505][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 19.428512][ C0] Code: a2 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 47 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 [ 19.428516][ C0] RSP: 0018:ffffffffab607df8 EFLAGS: 00000242 [ 19.428522][ C0] RAX: 000000000006ce7f RBX: 1ffffffff56c0fc3 RCX: ffffffffaa98f5d9 [ 19.428525][ C0] RDX: 0000000000000000 RSI: ffffffffab48f4e4 RDI: ffffffffaac53be0 [ 19.428529][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 19.428532][ C0] R10: ffff8880360337d3 R11: ffffffffab611288 R12: 0000000000000000 [ 19.428535][ C0] R13: ffffffffab61f240 R14: dffffc0000000000 R15: 0000000000014770 [ 19.428542][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 19.428551][ C0] default_idle+0x9/0x10 [ 19.428554][ C0] default_idle_call+0x6d/0xb0 [ 19.428558][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 19.428563][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 19.428569][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 19.428578][ C0] do_idle+0xf6/0x160 [ 19.428584][ C0] cpu_startup_entry+0x54/0x60 [ 19.428589][ C0] rest_init+0x14b/0x260 [ 19.428596][ C0] start_kernel+0x350/0x410 [ 19.428603][ C0] x86_64_start_reservations+0x18/0x30 [ 19.428609][ C0] x86_64_start_kernel+0xf8/0x150 [ 19.428616][ C0] common_startup_64+0x13e/0x148 [ 19.428631][ C0] [ 19.461385][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 19.461984][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 19.462825][ C0] preempt_count: 101, expected: 0 [ 19.463175][ C0] RCU nest depth: 0, expected: 0 [ 19.463514][ C0] INFO: lockdep is turned off. [ 19.463843][ C0] Preemption disabled at: [ 19.463845][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 19.464557][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 19.464564][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.464567][ C0] Call Trace: [ 19.464570][ C0] [ 19.464573][ C0] dump_stack_lvl+0xb0/0xd0 [ 19.464582][ C0] __might_resched+0x360/0x5a0 [ 19.464592][ C0] down_write+0x72/0x210 [ 19.464599][ C0] ? __pfx_down_write+0x10/0x10 [ 19.464604][ C0] ? simple_recursive_removal+0x33/0x610 [ 19.464610][ C0] ? rcu_is_watching+0x12/0xc0 [ 19.464618][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 19.464627][ C0] simple_recursive_removal+0x6a/0x610 [ 19.464632][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 19.464638][ C0] ? __pfx_remove_one+0x10/0x10 [ 19.464647][ C0] debugfs_remove+0x44/0x70 [ 19.464652][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 19.464661][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 19.464666][ C0] ? __sk_destruct+0x383/0x780 [ 19.464674][ C0] ? rcu_do_batch+0x34c/0xf20 [ 19.464679][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 19.464685][ C0] ? irq_exit_rcu+0xe/0x30 [ 19.464691][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.464698][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.464704][ C0] ? pv_native_safe_halt+0xf/0x20 [ 19.464710][ C0] ? default_idle+0x9/0x10 [ 19.464714][ C0] ? default_idle_call+0x6d/0xb0 [ 19.464718][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 19.464724][ C0] ? do_idle+0xf6/0x160 [ 19.464728][ C0] ? cpu_startup_entry+0x54/0x60 [ 19.464732][ C0] ? rest_init+0x14b/0x260 [ 19.464738][ C0] ? start_kernel+0x350/0x410 [ 19.464750][ C0] __put_net+0x19/0x60 [ 19.464756][ C0] __sk_destruct+0x58a/0x780 [ 19.464763][ C0] ? rcu_do_batch+0x34a/0xf20 [ 19.464767][ C0] rcu_do_batch+0x34c/0xf20 [ 19.464774][ C0] ? find_held_lock+0x2b/0x80 [ 19.464783][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 19.464789][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 19.464796][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 19.464803][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 19.464812][ C0] rcu_core+0x2bb/0x500 [ 19.464820][ C0] handle_softirqs+0x218/0x620 [ 19.464830][ C0] __irq_exit_rcu+0xfa/0x160 [ 19.464835][ C0] irq_exit_rcu+0xe/0x30 [ 19.464839][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.464846][ C0] [ 19.464848][ C0] [ 19.464850][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.464856][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 19.464862][ C0] Code: a2 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 47 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 [ 19.464867][ C0] RSP: 0018:ffffffffab607df8 EFLAGS: 00000242 [ 19.464873][ C0] RAX: 000000000006ce7f RBX: 1ffffffff56c0fc3 RCX: ffffffffaa98f5d9 [ 19.464876][ C0] RDX: 0000000000000000 RSI: ffffffffab48f4e4 RDI: ffffffffaac53be0 [ 19.464879][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 19.464883][ C0] R10: ffff8880360337d3 R11: ffffffffab611288 R12: 0000000000000000 [ 19.464886][ C0] R13: ffffffffab61f240 R14: dffffc0000000000 R15: 0000000000014770 [ 19.464894][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 19.464901][ C0] default_idle+0x9/0x10 [ 19.464905][ C0] default_idle_call+0x6d/0xb0 [ 19.464908][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 19.464913][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 19.464919][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 19.464927][ C0] do_idle+0xf6/0x160 [ 19.464933][ C0] cpu_startup_entry+0x54/0x60 [ 19.464939][ C0] rest_init+0x14b/0x260 [ 19.464946][ C0] start_kernel+0x350/0x410 [ 19.464952][ C0] x86_64_start_reservations+0x18/0x30 [ 19.464958][ C0] x86_64_start_kernel+0xf8/0x150 [ 19.464964][ C0] common_startup_64+0x13e/0x148 [ 19.464980][ C0] [ 22.540859][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 22.541444][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 22.541974][ C3] preempt_count: 101, expected: 0 [ 22.542262][ C3] RCU nest depth: 0, expected: 0 [ 22.542550][ C3] INFO: lockdep is turned off. [ 22.542854][ C3] Preemption disabled at: [ 22.542857][ C3] [<0000000000000000>] 0x0 [ 22.543381][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 22.543392][ C3] Tainted: [W]=WARN [ 22.543394][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.543397][ C3] Call Trace: [ 22.543400][ C3] [ 22.543403][ C3] dump_stack_lvl+0xb0/0xd0 [ 22.543415][ C3] __might_resched+0x360/0x5a0 [ 22.543425][ C3] down_write+0x72/0x210 [ 22.543432][ C3] ? __pfx_down_write+0x10/0x10 [ 22.543437][ C3] ? simple_recursive_removal+0x33/0x610 [ 22.543443][ C3] ? rcu_is_watching+0x12/0xc0 [ 22.543452][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 22.543461][ C3] simple_recursive_removal+0x6a/0x610 [ 22.543466][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 22.543471][ C3] ? __pfx_remove_one+0x10/0x10 [ 22.543481][ C3] debugfs_remove+0x44/0x70 [ 22.543486][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 22.543494][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 22.543499][ C3] ? __sk_destruct+0x383/0x780 [ 22.543506][ C3] ? rcu_do_batch+0x34c/0xf20 [ 22.543512][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 22.543517][ C3] ? irq_exit_rcu+0xe/0x30 [ 22.543524][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 22.543530][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 22.543535][ C3] ? pv_native_safe_halt+0xf/0x20 [ 22.543540][ C3] ? default_idle+0x9/0x10 [ 22.543544][ C3] ? default_idle_call+0x6d/0xb0 [ 22.543548][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 22.543553][ C3] ? do_idle+0xf6/0x160 [ 22.543556][ C3] ? cpu_startup_entry+0x54/0x60 [ 22.543559][ C3] ? start_secondary+0x213/0x2a0 [ 22.543565][ C3] ? common_startup_64+0x13e/0x148 [ 22.543572][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 22.543577][ C3] ? rcu_is_watching+0x12/0xc0 [ 22.543585][ C3] __put_net+0x19/0x60 [ 22.543590][ C3] __sk_destruct+0x58a/0x780 [ 22.543597][ C3] ? rcu_do_batch+0x34a/0xf20 [ 22.543601][ C3] rcu_do_batch+0x34c/0xf20 [ 22.543610][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 22.543615][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 22.543623][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 22.543632][ C3] rcu_core+0x2bb/0x500 [ 22.543638][ C3] handle_softirqs+0x218/0x620 [ 22.543647][ C3] __irq_exit_rcu+0xfa/0x160 [ 22.543652][ C3] irq_exit_rcu+0xe/0x30 [ 22.543656][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 22.543661][ C3] [ 22.543663][ C3] [ 22.543665][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 22.543671][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 22.543676][ C3] Code: a2 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 47 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 [ 22.543681][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 22.543687][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffffaa98f5d9 [ 22.543690][ C3] RDX: ffffed1006c366fb RSI: ffffffffaac53b60 RDI: ffffffffa818d18f [ 22.543693][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 22.543696][ C3] R10: ffff8880361b37d3 R11: ffffffffae250d88 R12: 0000000000000000 [ 22.543699][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 22.543705][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 22.543711][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 22.543717][ C3] default_idle+0x9/0x10 [ 22.543722][ C3] default_idle_call+0x6d/0xb0 [ 22.543727][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 22.543732][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 22.543738][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 22.543745][ C3] do_idle+0xf6/0x160 [ 22.543750][ C3] cpu_startup_entry+0x54/0x60 [ 22.543754][ C3] start_secondary+0x213/0x2a0 [ 22.543758][ C3] ? __pfx_start_secondary+0x10/0x10 [ 22.543765][ C3] common_startup_64+0x13e/0x148 [ 22.543776][ C3]