[ 14.252510][ C2] [ 14.252655][ C2] ================================ [ 14.252850][ C2] WARNING: inconsistent lock state [ 14.253065][ C2] 6.15.0-virtme #1 Not tainted [ 14.253269][ C2] -------------------------------- [ 14.253466][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.253713][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.253962][ C2] ffffffffa25c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.254327][ C2] {SOFTIRQ-ON-W} state was registered at: [ 14.254518][ C2] __lock_acquire+0x20b/0x7e0 [ 14.254717][ C2] lock_acquire.part.0+0xb6/0x240 [ 14.254913][ C2] _raw_spin_lock+0x33/0x40 [ 14.255109][ C2] simple_pin_fs+0x24/0x150 [ 14.255303][ C2] start_creating.part.0+0x52/0x310 [ 14.255496][ C2] debugfs_create_dir+0x6a/0x540 [ 14.255690][ C2] component_debug_init+0x17/0x30 [ 14.255887][ C2] do_one_initcall+0x8f/0x1e0 [ 14.256084][ C2] do_initcalls+0x176/0x280 [ 14.256276][ C2] kernel_init_freeable+0x22d/0x300 [ 14.256471][ C2] kernel_init+0x20/0x200 [ 14.256668][ C2] ret_from_fork+0x240/0x320 [ 14.256882][ C2] ret_from_fork_asm+0x1a/0x30 [ 14.257084][ C2] irq event stamp: 250374 [ 14.257236][ C2] hardirqs last enabled at (250374): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.257630][ C2] hardirqs last disabled at (250373): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.258052][ C2] softirqs last enabled at (248914): [] handle_softirqs+0x358/0x620 [ 14.258394][ C2] softirqs last disabled at (248927): [] __irq_exit_rcu+0xfa/0x160 [ 14.258735][ C2] [ 14.258735][ C2] other info that might help us debug this: [ 14.259022][ C2] Possible unsafe locking scenario: [ 14.259022][ C2] [ 14.259309][ C2] CPU0 [ 14.259459][ C2] ---- [ 14.259606][ C2] lock(pin_fs_lock); [ 14.259754][ C2] [ 14.259899][ C2] lock(pin_fs_lock); [ 14.260047][ C2] [ 14.260047][ C2] *** DEADLOCK *** [ 14.260047][ C2] [ 14.260332][ C2] 1 lock held by swapper/2/0: [ 14.260533][ C2] #0: ffffffffa23774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.260920][ C2] [ 14.260920][ C2] stack backtrace: [ 14.261169][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.261174][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.261176][ C2] Call Trace: [ 14.261178][ C2] [ 14.261180][ C2] dump_stack_lvl+0x82/0xd0 [ 14.261186][ C2] print_usage_bug.part.0+0x25f/0x360 [ 14.261191][ C2] mark_lock_irq+0x343/0x400 [ 14.261195][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.261200][ C2] ? save_trace+0x52/0x170 [ 14.261206][ C2] mark_lock+0x174/0x2f0 [ 14.261209][ C2] mark_usage+0x46/0x150 [ 14.261212][ C2] __lock_acquire+0x20b/0x7e0 [ 14.261216][ C2] ? __lock_acquire+0x44d/0x7e0 [ 14.261220][ C2] lock_acquire.part.0+0xb6/0x240 [ 14.261223][ C2] ? simple_pin_fs+0x24/0x150 [ 14.261227][ C2] ? rcu_is_watching+0x12/0xc0 [ 14.261231][ C2] ? lock_acquire+0x10c/0x170 [ 14.261234][ C2] ? simple_pin_fs+0x24/0x150 [ 14.261238][ C2] _raw_spin_lock+0x33/0x40 [ 14.261241][ C2] ? simple_pin_fs+0x24/0x150 [ 14.261245][ C2] simple_pin_fs+0x24/0x150 [ 14.261249][ C2] debugfs_remove+0x35/0x70 [ 14.261252][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 14.261258][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.261261][ C2] ? __sk_destruct+0x383/0x780 [ 14.261266][ C2] ? rcu_do_batch+0x34c/0xf20 [ 14.261269][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.261272][ C2] ? irq_exit_rcu+0xe/0x30 [ 14.261275][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.261281][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.261284][ C2] ? pv_native_safe_halt+0xf/0x20 [ 14.261287][ C2] ? default_idle+0x9/0x10 [ 14.261290][ C2] ? default_idle_call+0x6d/0xb0 [ 14.261292][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.261296][ C2] ? do_idle+0xf6/0x160 [ 14.261299][ C2] ? cpu_startup_entry+0x54/0x60 [ 14.261301][ C2] ? start_secondary+0x213/0x2a0 [ 14.261305][ C2] ? common_startup_64+0x13e/0x148 [ 14.261312][ C2] __put_net+0x19/0x60 [ 14.261315][ C2] __sk_destruct+0x58a/0x780 [ 14.261320][ C2] ? rcu_do_batch+0x34a/0xf20 [ 14.261322][ C2] rcu_do_batch+0x34c/0xf20 [ 14.261325][ C2] ? find_held_lock+0x2b/0x80 [ 14.261329][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.261333][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.261336][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.261339][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.261344][ C2] rcu_core+0x2bb/0x500 [ 14.261348][ C2] handle_softirqs+0x218/0x620 [ 14.261353][ C2] __irq_exit_rcu+0xfa/0x160 [ 14.261356][ C2] irq_exit_rcu+0xe/0x30 [ 14.261359][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.261363][ C2] [ 14.261364][ C2] [ 14.261365][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.261368][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.261373][ C2] 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 [ 14.261375][ C2] RSP: 0000:ffffc90000147de8 EFLAGS: 00000242 [ 14.261378][ C2] RAX: 000000000003cc5d RBX: 1ffff92000028fc1 RCX: ffffffffa138f5d9 [ 14.261381][ C2] RDX: 0000000000000000 RSI: ffffffffa1e8f4e4 RDI: ffffffffa1653be0 [ 14.261382][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 14.261384][ C2] R10: ffff8880361337d3 R11: ffffffffa2011288 R12: 0000000000000000 [ 14.261386][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 14.261389][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.261394][ C2] default_idle+0x9/0x10 [ 14.261397][ C2] default_idle_call+0x6d/0xb0 [ 14.261399][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 14.261402][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.261406][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.261411][ C2] do_idle+0xf6/0x160 [ 14.261414][ C2] cpu_startup_entry+0x54/0x60 [ 14.261417][ C2] start_secondary+0x213/0x2a0 [ 14.261420][ C2] ? __pfx_start_secondary+0x10/0x10 [ 14.261425][ C2] common_startup_64+0x13e/0x148 [ 14.261432][ C2] [ 14.277093][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.277436][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 14.277757][ C2] preempt_count: 101, expected: 0 [ 14.278055][ C2] RCU nest depth: 0, expected: 0 [ 14.278252][ C2] INFO: lockdep is turned off. [ 14.278443][ C2] Preemption disabled at: [ 14.278444][ C2] [<0000000000000000>] 0x0 [ 14.278993][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.278997][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.278999][ C2] Call Trace: [ 14.279000][ C2] [ 14.279002][ C2] dump_stack_lvl+0xb0/0xd0 [ 14.279008][ C2] __might_resched+0x360/0x5a0 [ 14.279015][ C2] down_write+0x72/0x210 [ 14.279020][ C2] ? __pfx_down_write+0x10/0x10 [ 14.279022][ C2] ? simple_recursive_removal+0x33/0x610 [ 14.279026][ C2] ? rcu_is_watching+0x12/0xc0 [ 14.279030][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 14.279035][ C2] simple_recursive_removal+0x6a/0x610 [ 14.279038][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 14.279041][ C2] ? __pfx_remove_one+0x10/0x10 [ 14.279046][ C2] debugfs_remove+0x44/0x70 [ 14.279049][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 14.279054][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.279057][ C2] ? __sk_destruct+0x383/0x780 [ 14.279062][ C2] ? rcu_do_batch+0x34c/0xf20 [ 14.279065][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.279068][ C2] ? irq_exit_rcu+0xe/0x30 [ 14.279073][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.279078][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.279081][ C2] ? pv_native_safe_halt+0xf/0x20 [ 14.279085][ C2] ? default_idle+0x9/0x10 [ 14.279087][ C2] ? default_idle_call+0x6d/0xb0 [ 14.279089][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.279093][ C2] ? do_idle+0xf6/0x160 [ 14.279095][ C2] ? cpu_startup_entry+0x54/0x60 [ 14.279097][ C2] ? start_secondary+0x213/0x2a0 [ 14.279100][ C2] ? common_startup_64+0x13e/0x148 [ 14.279107][ C2] __put_net+0x19/0x60 [ 14.279111][ C2] __sk_destruct+0x58a/0x780 [ 14.279115][ C2] ? rcu_do_batch+0x34a/0xf20 [ 14.279117][ C2] rcu_do_batch+0x34c/0xf20 [ 14.279121][ C2] ? find_held_lock+0x2b/0x80 [ 14.279126][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.279129][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.279133][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.279136][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.279140][ C2] rcu_core+0x2bb/0x500 [ 14.279144][ C2] handle_softirqs+0x218/0x620 [ 14.279149][ C2] __irq_exit_rcu+0xfa/0x160 [ 14.279152][ C2] irq_exit_rcu+0xe/0x30 [ 14.279155][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.279158][ C2] [ 14.279159][ C2] [ 14.279161][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.279163][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.279167][ C2] 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 [ 14.279169][ C2] RSP: 0000:ffffc90000147de8 EFLAGS: 00000242 [ 14.279172][ C2] RAX: 000000000003cc5d RBX: 1ffff92000028fc1 RCX: ffffffffa138f5d9 [ 14.279174][ C2] RDX: 0000000000000000 RSI: ffffffffa1e8f4e4 RDI: ffffffffa1653be0 [ 14.279176][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 14.279177][ C2] R10: ffff8880361337d3 R11: ffffffffa2011288 R12: 0000000000000000 [ 14.279179][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 14.279182][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.279187][ C2] default_idle+0x9/0x10 [ 14.279190][ C2] default_idle_call+0x6d/0xb0 [ 14.279192][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 14.279198][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.279201][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.279205][ C2] do_idle+0xf6/0x160 [ 14.279209][ C2] cpu_startup_entry+0x54/0x60 [ 14.279212][ C2] start_secondary+0x213/0x2a0 [ 14.279214][ C2] ? __pfx_start_secondary+0x10/0x10 [ 14.279219][ C2] common_startup_64+0x13e/0x148 [ 14.279225][ C2] [ 15.808705][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.809032][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/1 [ 15.809338][ C1] preempt_count: 101, expected: 0 [ 15.809508][ C1] RCU nest depth: 0, expected: 0 [ 15.809676][ C1] INFO: lockdep is turned off. [ 15.809841][ C1] Preemption disabled at: [ 15.809843][ C1] [<0000000000000000>] 0x0 [ 15.810140][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 15.810145][ C1] Tainted: [W]=WARN [ 15.810147][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.810149][ C1] Call Trace: [ 15.810150][ C1] [ 15.810152][ C1] dump_stack_lvl+0xb0/0xd0 [ 15.810160][ C1] __might_resched+0x360/0x5a0 [ 15.810167][ C1] down_write+0x72/0x210 [ 15.810172][ C1] ? __pfx_down_write+0x10/0x10 [ 15.810175][ C1] ? simple_recursive_removal+0x33/0x610 [ 15.810179][ C1] ? rcu_is_watching+0x12/0xc0 [ 15.810184][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 15.810190][ C1] simple_recursive_removal+0x6a/0x610 [ 15.810193][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 15.810198][ C1] ? __pfx_remove_one+0x10/0x10 [ 15.810204][ C1] debugfs_remove+0x44/0x70 [ 15.810207][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 15.810213][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.810216][ C1] ? __sk_destruct+0x383/0x780 [ 15.810222][ C1] ? rcu_do_batch+0x34c/0xf20 [ 15.810225][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.810229][ C1] ? irq_exit_rcu+0xe/0x30 [ 15.810234][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.810239][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.810243][ C1] ? pv_native_safe_halt+0xf/0x20 [ 15.810246][ C1] ? default_idle+0x9/0x10 [ 15.810249][ C1] ? default_idle_call+0x6d/0xb0 [ 15.810251][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.810255][ C1] ? do_idle+0xf6/0x160 [ 15.810257][ C1] ? cpu_startup_entry+0x54/0x60 [ 15.810259][ C1] ? start_secondary+0x213/0x2a0 [ 15.810263][ C1] ? common_startup_64+0x13e/0x148 [ 15.810268][ C1] ? bpf_sk_storage_free+0x9f/0x1c0 [ 15.810289][ C1] ? rcu_is_watching+0x12/0xc0 [ 15.810293][ C1] __put_net+0x19/0x60 [ 15.810297][ C1] __sk_destruct+0x58a/0x780 [ 15.810301][ C1] ? rcu_do_batch+0x34a/0xf20 [ 15.810303][ C1] rcu_do_batch+0x34c/0xf20 [ 15.810308][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.810311][ C1] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 15.810317][ C1] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.810323][ C1] rcu_core+0x2bb/0x500 [ 15.810328][ C1] handle_softirqs+0x218/0x620 [ 15.810333][ C1] __irq_exit_rcu+0xfa/0x160 [ 15.810336][ C1] irq_exit_rcu+0xe/0x30 [ 15.810339][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.810343][ C1] [ 15.810344][ C1] [ 15.810345][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.810348][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.810352][ C1] 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 [ 15.810355][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000246 [ 15.810358][ C1] RAX: 0000000000000001 RBX: 1ffff92000026fc1 RCX: ffffffffa138f5d9 [ 15.810361][ C1] RDX: ffffed1006c166fb RSI: ffffffffa1653b60 RDI: ffffffff9eb8d18f [ 15.810362][ C1] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c166fa [ 15.810364][ C1] R10: ffff8880360b37d3 R11: ffff8880093ba818 R12: 0000000000000000 [ 15.810366][ C1] R13: ffff888001bf0040 R14: dffffc0000000000 R15: 0000000000000000 [ 15.810370][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.810373][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.810377][ C1] default_idle+0x9/0x10 [ 15.810379][ C1] default_idle_call+0x6d/0xb0 [ 15.810382][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 15.810385][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.810389][ C1] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.810393][ C1] do_idle+0xf6/0x160 [ 15.810396][ C1] cpu_startup_entry+0x54/0x60 [ 15.810399][ C1] start_secondary+0x213/0x2a0 [ 15.810402][ C1] ? __pfx_start_secondary+0x10/0x10 [ 15.810406][ C1] common_startup_64+0x13e/0x148 [ 15.810413][ C1]