[ 16.185666][ C2] [ 16.185816][ C2] ================================ [ 16.186017][ C2] WARNING: inconsistent lock state [ 16.186211][ C2] 6.15.0-virtme #1 Not tainted [ 16.186405][ C2] -------------------------------- [ 16.186606][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.186850][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.187089][ C2] ffffffffba5c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 16.187434][ C2] {SOFTIRQ-ON-W} state was registered at: [ 16.187623][ C2] __lock_acquire+0x20b/0x7e0 [ 16.187820][ C2] lock_acquire.part.0+0xb6/0x240 [ 16.188015][ C2] _raw_spin_lock+0x33/0x40 [ 16.188212][ C2] simple_pin_fs+0x24/0x150 [ 16.188409][ C2] start_creating.part.0+0x52/0x310 [ 16.188606][ C2] debugfs_create_dir+0x6a/0x540 [ 16.188801][ C2] component_debug_init+0x17/0x30 [ 16.188995][ C2] do_one_initcall+0x8f/0x1e0 [ 16.189188][ C2] do_initcalls+0x176/0x280 [ 16.189381][ C2] kernel_init_freeable+0x22d/0x300 [ 16.189577][ C2] kernel_init+0x20/0x200 [ 16.189771][ C2] ret_from_fork+0x240/0x320 [ 16.189969][ C2] ret_from_fork_asm+0x1a/0x30 [ 16.190165][ C2] irq event stamp: 257548 [ 16.190320][ C2] hardirqs last enabled at (257548): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.190703][ C2] hardirqs last disabled at (257547): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.191089][ C2] softirqs last enabled at (255584): [] handle_softirqs+0x358/0x620 [ 16.191424][ C2] softirqs last disabled at (255591): [] __irq_exit_rcu+0xfa/0x160 [ 16.191765][ C2] [ 16.191765][ C2] other info that might help us debug this: [ 16.192053][ C2] Possible unsafe locking scenario: [ 16.192053][ C2] [ 16.192340][ C2] CPU0 [ 16.192486][ C2] ---- [ 16.192638][ C2] lock(pin_fs_lock); [ 16.192788][ C2] [ 16.192936][ C2] lock(pin_fs_lock); [ 16.193087][ C2] [ 16.193087][ C2] *** DEADLOCK *** [ 16.193087][ C2] [ 16.193373][ C2] 1 lock held by swapper/2/0: [ 16.193572][ C2] #0: ffffffffba3774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.193918][ C2] [ 16.193918][ C2] stack backtrace: [ 16.194165][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.194169][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.194171][ C2] Call Trace: [ 16.194174][ C2] [ 16.194177][ C2] dump_stack_lvl+0x82/0xd0 [ 16.194185][ C2] print_usage_bug.part.0+0x25f/0x360 [ 16.194189][ C2] mark_lock_irq+0x343/0x400 [ 16.194194][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 16.194200][ C2] ? save_trace+0x52/0x170 [ 16.194206][ C2] mark_lock+0x174/0x2f0 [ 16.194210][ C2] mark_usage+0x46/0x150 [ 16.194213][ C2] __lock_acquire+0x20b/0x7e0 [ 16.194217][ C2] ? __lock_acquire+0x44d/0x7e0 [ 16.194221][ C2] lock_acquire.part.0+0xb6/0x240 [ 16.194224][ C2] ? simple_pin_fs+0x24/0x150 [ 16.194228][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.194233][ C2] ? lock_acquire+0x10c/0x170 [ 16.194236][ C2] ? simple_pin_fs+0x24/0x150 [ 16.194240][ C2] _raw_spin_lock+0x33/0x40 [ 16.194244][ C2] ? simple_pin_fs+0x24/0x150 [ 16.194247][ C2] simple_pin_fs+0x24/0x150 [ 16.194251][ C2] debugfs_remove+0x35/0x70 [ 16.194254][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 16.194262][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.194266][ C2] ? __sk_destruct+0x383/0x780 [ 16.194273][ C2] ? rcu_do_batch+0x34c/0xf20 [ 16.194276][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.194279][ C2] ? irq_exit_rcu+0xe/0x30 [ 16.194282][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.194288][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.194293][ C2] ? pv_native_safe_halt+0xf/0x20 [ 16.194296][ C2] ? default_idle+0x9/0x10 [ 16.194299][ C2] ? default_idle_call+0x6d/0xb0 [ 16.194301][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.194305][ C2] ? do_idle+0xf6/0x160 [ 16.194308][ C2] ? cpu_startup_entry+0x54/0x60 [ 16.194310][ C2] ? start_secondary+0x213/0x2a0 [ 16.194314][ C2] ? common_startup_64+0x13e/0x148 [ 16.194323][ C2] __put_net+0x19/0x60 [ 16.194328][ C2] __sk_destruct+0x58a/0x780 [ 16.194332][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.194335][ C2] rcu_do_batch+0x34c/0xf20 [ 16.194338][ C2] ? find_held_lock+0x2b/0x80 [ 16.194342][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.194345][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.194349][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.194352][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.194357][ C2] rcu_core+0x2bb/0x500 [ 16.194362][ C2] handle_softirqs+0x218/0x620 [ 16.194367][ C2] __irq_exit_rcu+0xfa/0x160 [ 16.194370][ C2] irq_exit_rcu+0xe/0x30 [ 16.194373][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.194377][ C2] [ 16.194378][ C2] [ 16.194379][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.194382][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.194386][ 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.194389][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 16.194393][ C2] RAX: 000000000003e665 RBX: 1ffff92000028fc1 RCX: ffffffffb93905d9 [ 16.194395][ C2] RDX: 0000000000000000 RSI: ffffffffb9e8f4e4 RDI: ffffffffb9653be0 [ 16.194397][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 16.194398][ C2] R10: ffff8880361337d3 R11: ffffffffba011288 R12: 0000000000000000 [ 16.194400][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 16.194404][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.194409][ C2] default_idle+0x9/0x10 [ 16.194411][ C2] default_idle_call+0x6d/0xb0 [ 16.194414][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 16.194417][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.194421][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.194426][ C2] do_idle+0xf6/0x160 [ 16.194429][ C2] cpu_startup_entry+0x54/0x60 [ 16.194432][ C2] start_secondary+0x213/0x2a0 [ 16.194435][ C2] ? __pfx_start_secondary+0x10/0x10 [ 16.194440][ C2] common_startup_64+0x13e/0x148 [ 16.194447][ C2] [ 16.209652][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.209972][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 16.210285][ C2] preempt_count: 101, expected: 0 [ 16.210478][ C2] RCU nest depth: 0, expected: 0 [ 16.210688][ C2] INFO: lockdep is turned off. [ 16.210890][ C2] Preemption disabled at: [ 16.210892][ C2] [<0000000000000000>] 0x0 [ 16.211241][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.211245][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.211247][ C2] Call Trace: [ 16.211249][ C2] [ 16.211251][ C2] dump_stack_lvl+0xb0/0xd0 [ 16.211260][ C2] __might_resched+0x360/0x5a0 [ 16.211269][ C2] down_write+0x72/0x210 [ 16.211274][ C2] ? __pfx_down_write+0x10/0x10 [ 16.211277][ C2] ? simple_recursive_removal+0x33/0x610 [ 16.211282][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.211287][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.211293][ C2] simple_recursive_removal+0x6a/0x610 [ 16.211296][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.211300][ C2] ? __pfx_remove_one+0x10/0x10 [ 16.211306][ C2] debugfs_remove+0x44/0x70 [ 16.211309][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 16.211315][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.211319][ C2] ? __sk_destruct+0x383/0x780 [ 16.211324][ C2] ? rcu_do_batch+0x34c/0xf20 [ 16.211328][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.211331][ C2] ? irq_exit_rcu+0xe/0x30 [ 16.211337][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.211342][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.211347][ C2] ? pv_native_safe_halt+0xf/0x20 [ 16.211351][ C2] ? default_idle+0x9/0x10 [ 16.211353][ C2] ? default_idle_call+0x6d/0xb0 [ 16.211356][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.211361][ C2] ? do_idle+0xf6/0x160 [ 16.211363][ C2] ? cpu_startup_entry+0x54/0x60 [ 16.211366][ C2] ? start_secondary+0x213/0x2a0 [ 16.211370][ C2] ? common_startup_64+0x13e/0x148 [ 16.211378][ C2] __put_net+0x19/0x60 [ 16.211382][ C2] __sk_destruct+0x58a/0x780 [ 16.211386][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.211389][ C2] rcu_do_batch+0x34c/0xf20 [ 16.211392][ C2] ? find_held_lock+0x2b/0x80 [ 16.211399][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.211402][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.211406][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.211409][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.211414][ C2] rcu_core+0x2bb/0x500 [ 16.211418][ C2] handle_softirqs+0x218/0x620 [ 16.211424][ C2] __irq_exit_rcu+0xfa/0x160 [ 16.211427][ C2] irq_exit_rcu+0xe/0x30 [ 16.211430][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.211433][ C2] [ 16.211434][ C2] [ 16.211436][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.211439][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.211443][ 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.211445][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 16.211448][ C2] RAX: 000000000003e665 RBX: 1ffff92000028fc1 RCX: ffffffffb93905d9 [ 16.211450][ C2] RDX: 0000000000000000 RSI: ffffffffb9e8f4e4 RDI: ffffffffb9653be0 [ 16.211452][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 16.211453][ C2] R10: ffff8880361337d3 R11: ffffffffba011288 R12: 0000000000000000 [ 16.211455][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 16.211459][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.211464][ C2] default_idle+0x9/0x10 [ 16.211466][ C2] default_idle_call+0x6d/0xb0 [ 16.211469][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 16.211472][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.211476][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.211480][ C2] do_idle+0xf6/0x160 [ 16.211483][ C2] cpu_startup_entry+0x54/0x60 [ 16.211486][ C2] start_secondary+0x213/0x2a0 [ 16.211489][ C2] ? __pfx_start_secondary+0x10/0x10 [ 16.211493][ C2] common_startup_64+0x13e/0x148 [ 16.211501][ C2] [ 18.119919][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 18.120285][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 18.120618][ C3] preempt_count: 101, expected: 0 [ 18.120807][ C3] RCU nest depth: 0, expected: 0 [ 18.121004][ C3] INFO: lockdep is turned off. [ 18.121196][ C3] Preemption disabled at: [ 18.121198][ C3] [<0000000000000000>] 0x0 [ 18.121537][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 18.121542][ C3] Tainted: [W]=WARN [ 18.121544][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.121546][ C3] Call Trace: [ 18.121548][ C3] [ 18.121550][ C3] dump_stack_lvl+0xb0/0xd0 [ 18.121562][ C3] __might_resched+0x360/0x5a0 [ 18.121571][ C3] down_write+0x72/0x210 [ 18.121577][ C3] ? __pfx_down_write+0x10/0x10 [ 18.121580][ C3] ? simple_recursive_removal+0x33/0x610 [ 18.121586][ C3] ? rcu_is_watching+0x12/0xc0 [ 18.121593][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 18.121601][ C3] simple_recursive_removal+0x6a/0x610 [ 18.121603][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 18.121607][ C3] ? __pfx_remove_one+0x10/0x10 [ 18.121614][ C3] debugfs_remove+0x44/0x70 [ 18.121617][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 18.121625][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.121629][ C3] ? __sk_destruct+0x383/0x780 [ 18.121637][ C3] ? rcu_do_batch+0x34c/0xf20 [ 18.121641][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.121644][ C3] ? irq_exit_rcu+0xe/0x30 [ 18.121651][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.121658][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.121663][ C3] ? pv_native_safe_halt+0xf/0x20 [ 18.121667][ C3] ? default_idle+0x9/0x10 [ 18.121670][ C3] ? default_idle_call+0x6d/0xb0 [ 18.121672][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.121677][ C3] ? do_idle+0xf6/0x160 [ 18.121679][ C3] ? cpu_startup_entry+0x54/0x60 [ 18.121681][ C3] ? start_secondary+0x213/0x2a0 [ 18.121686][ C3] ? common_startup_64+0x13e/0x148 [ 18.121694][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 18.121698][ C3] ? rcu_is_watching+0x12/0xc0 [ 18.121702][ C3] __put_net+0x19/0x60 [ 18.121708][ C3] __sk_destruct+0x58a/0x780 [ 18.121712][ C3] ? rcu_do_batch+0x34a/0xf20 [ 18.121714][ C3] rcu_do_batch+0x34c/0xf20 [ 18.121719][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.121722][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 18.121728][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 18.121735][ C3] rcu_core+0x2bb/0x500 [ 18.121740][ C3] handle_softirqs+0x218/0x620 [ 18.121746][ C3] __irq_exit_rcu+0xfa/0x160 [ 18.121749][ C3] irq_exit_rcu+0xe/0x30 [ 18.121751][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.121755][ C3] [ 18.121756][ C3] [ 18.121758][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.121760][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 18.121765][ 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 [ 18.121767][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 18.121772][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffffb93905d9 [ 18.121774][ C3] RDX: ffffed1006c366fb RSI: ffffffffb9653b60 RDI: ffffffffb6b8d18f [ 18.121776][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 18.121777][ C3] R10: ffff8880361b37d3 R11: ffff88800b158558 R12: 0000000000000000 [ 18.121779][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 18.121783][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 18.121786][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.121790][ C3] default_idle+0x9/0x10 [ 18.121793][ C3] default_idle_call+0x6d/0xb0 [ 18.121795][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 18.121798][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 18.121802][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 18.121807][ C3] do_idle+0xf6/0x160 [ 18.121810][ C3] cpu_startup_entry+0x54/0x60 [ 18.121815][ C3] start_secondary+0x213/0x2a0 [ 18.121818][ C3] ? __pfx_start_secondary+0x10/0x10 [ 18.121823][ C3] common_startup_64+0x13e/0x148 [ 18.121830][ C3]