[ 14.722247][ C3] [ 14.722383][ C3] ================================ [ 14.722576][ C3] WARNING: inconsistent lock state [ 14.722764][ C3] 6.15.0-virtme #1 Not tainted [ 14.722954][ C3] -------------------------------- [ 14.723143][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.723374][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.723608][ C3] ffffffff9c5c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.723940][ C3] {SOFTIRQ-ON-W} state was registered at: [ 14.724129][ C3] __lock_acquire+0x20b/0x7e0 [ 14.724319][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.724507][ C3] _raw_spin_lock+0x33/0x40 [ 14.724697][ C3] simple_pin_fs+0x24/0x150 [ 14.724883][ C3] start_creating.part.0+0x52/0x310 [ 14.725073][ C3] debugfs_create_dir+0x6a/0x540 [ 14.725263][ C3] component_debug_init+0x17/0x30 [ 14.725452][ C3] do_one_initcall+0x8f/0x1e0 [ 14.725638][ C3] do_initcalls+0x176/0x280 [ 14.725824][ C3] kernel_init_freeable+0x22d/0x300 [ 14.726013][ C3] kernel_init+0x20/0x200 [ 14.726198][ C3] ret_from_fork+0x240/0x320 [ 14.726392][ C3] ret_from_fork_asm+0x1a/0x30 [ 14.726579][ C3] irq event stamp: 302496 [ 14.726725][ C3] hardirqs last enabled at (302496): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.727095][ C3] hardirqs last disabled at (302495): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.727464][ C3] softirqs last enabled at (301962): [] handle_softirqs+0x358/0x620 [ 14.727795][ C3] softirqs last disabled at (301969): [] __irq_exit_rcu+0xfa/0x160 [ 14.728117][ C3] [ 14.728117][ C3] other info that might help us debug this: [ 14.728391][ C3] Possible unsafe locking scenario: [ 14.728391][ C3] [ 14.728664][ C3] CPU0 [ 14.728801][ C3] ---- [ 14.728940][ C3] lock(pin_fs_lock); [ 14.729082][ C3] [ 14.729222][ C3] lock(pin_fs_lock); [ 14.729367][ C3] [ 14.729367][ C3] *** DEADLOCK *** [ 14.729367][ C3] [ 14.729642][ C3] 1 lock held by swapper/3/0: [ 14.729830][ C3] #0: ffffffff9c3774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.730163][ C3] [ 14.730163][ C3] stack backtrace: [ 14.730394][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.730398][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.730400][ C3] Call Trace: [ 14.730402][ C3] [ 14.730405][ C3] dump_stack_lvl+0x82/0xd0 [ 14.730411][ C3] print_usage_bug.part.0+0x25f/0x360 [ 14.730415][ C3] mark_lock_irq+0x343/0x400 [ 14.730420][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.730425][ C3] ? save_trace+0x52/0x170 [ 14.730431][ C3] mark_lock+0x174/0x2f0 [ 14.730434][ C3] mark_usage+0x46/0x150 [ 14.730437][ C3] __lock_acquire+0x20b/0x7e0 [ 14.730440][ C3] ? __lock_acquire+0x44d/0x7e0 [ 14.730444][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.730447][ C3] ? simple_pin_fs+0x24/0x150 [ 14.730452][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.730456][ C3] ? lock_acquire+0x10c/0x170 [ 14.730458][ C3] ? simple_pin_fs+0x24/0x150 [ 14.730463][ C3] _raw_spin_lock+0x33/0x40 [ 14.730467][ C3] ? simple_pin_fs+0x24/0x150 [ 14.730470][ C3] simple_pin_fs+0x24/0x150 [ 14.730474][ C3] debugfs_remove+0x35/0x70 [ 14.730477][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.730483][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.730487][ C3] ? __sk_destruct+0x383/0x780 [ 14.730492][ C3] ? rcu_do_batch+0x34c/0xf20 [ 14.730495][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.730498][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.730501][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.730506][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.730509][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.730513][ C3] ? default_idle+0x9/0x10 [ 14.730515][ C3] ? default_idle_call+0x6d/0xb0 [ 14.730518][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.730521][ C3] ? do_idle+0xf6/0x160 [ 14.730524][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.730526][ C3] ? start_secondary+0x213/0x2a0 [ 14.730530][ C3] ? common_startup_64+0x13e/0x148 [ 14.730537][ C3] __put_net+0x19/0x60 [ 14.730541][ C3] __sk_destruct+0x58a/0x780 [ 14.730546][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.730548][ C3] rcu_do_batch+0x34c/0xf20 [ 14.730551][ C3] ? find_held_lock+0x2b/0x80 [ 14.730555][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.730559][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.730562][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.730565][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.730570][ C3] rcu_core+0x2bb/0x500 [ 14.730574][ C3] handle_softirqs+0x218/0x620 [ 14.730580][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.730583][ C3] irq_exit_rcu+0xe/0x30 [ 14.730585][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.730589][ C3] [ 14.730590][ C3] [ 14.730592][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.730594][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.730599][ 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 [ 14.730602][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 14.730605][ C3] RAX: 0000000000049b8f RBX: 1ffff9200002afc1 RCX: ffffffff9b38f5d9 [ 14.730607][ C3] RDX: 0000000000000000 RSI: ffffffff9be8f4e4 RDI: ffffffff9b653be0 [ 14.730609][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 14.730610][ C3] R10: ffff8880361b37d3 R11: ffffffff9c011288 R12: 0000000000000000 [ 14.730612][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 14.730616][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.730621][ C3] default_idle+0x9/0x10 [ 14.730623][ C3] default_idle_call+0x6d/0xb0 [ 14.730626][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.730629][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.730633][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.730637][ C3] do_idle+0xf6/0x160 [ 14.730641][ C3] cpu_startup_entry+0x54/0x60 [ 14.730644][ C3] start_secondary+0x213/0x2a0 [ 14.730647][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.730651][ C3] common_startup_64+0x13e/0x148 [ 14.730658][ C3] [ 14.745541][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.745846][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 14.746143][ C3] preempt_count: 101, expected: 0 [ 14.746314][ C3] RCU nest depth: 0, expected: 0 [ 14.746484][ C3] INFO: lockdep is turned off. [ 14.746659][ C3] Preemption disabled at: [ 14.746661][ C3] [<0000000000000000>] 0x0 [ 14.746972][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.746976][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.746978][ C3] Call Trace: [ 14.746979][ C3] [ 14.746981][ C3] dump_stack_lvl+0xb0/0xd0 [ 14.746988][ C3] __might_resched+0x360/0x5a0 [ 14.746995][ C3] down_write+0x72/0x210 [ 14.746999][ C3] ? __pfx_down_write+0x10/0x10 [ 14.747002][ C3] ? simple_recursive_removal+0x33/0x610 [ 14.747005][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.747010][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.747016][ C3] simple_recursive_removal+0x6a/0x610 [ 14.747019][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.747022][ C3] ? __pfx_remove_one+0x10/0x10 [ 14.747027][ C3] debugfs_remove+0x44/0x70 [ 14.747030][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.747036][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.747039][ C3] ? __sk_destruct+0x383/0x780 [ 14.747044][ C3] ? rcu_do_batch+0x34c/0xf20 [ 14.747047][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.747050][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.747054][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.747058][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.747062][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.747065][ C3] ? default_idle+0x9/0x10 [ 14.747067][ C3] ? default_idle_call+0x6d/0xb0 [ 14.747070][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.747073][ C3] ? do_idle+0xf6/0x160 [ 14.747075][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.747078][ C3] ? start_secondary+0x213/0x2a0 [ 14.747081][ C3] ? common_startup_64+0x13e/0x148 [ 14.747087][ C3] __put_net+0x19/0x60 [ 14.747090][ C3] __sk_destruct+0x58a/0x780 [ 14.747094][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.747096][ C3] rcu_do_batch+0x34c/0xf20 [ 14.747100][ C3] ? find_held_lock+0x2b/0x80 [ 14.747105][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.747108][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.747112][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.747115][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.747120][ C3] rcu_core+0x2bb/0x500 [ 14.747124][ C3] handle_softirqs+0x218/0x620 [ 14.747130][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.747132][ C3] irq_exit_rcu+0xe/0x30 [ 14.747135][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.747139][ C3] [ 14.747140][ C3] [ 14.747141][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.747144][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.747148][ 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 [ 14.747150][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 14.747153][ C3] RAX: 0000000000049b8f RBX: 1ffff9200002afc1 RCX: ffffffff9b38f5d9 [ 14.747155][ C3] RDX: 0000000000000000 RSI: ffffffff9be8f4e4 RDI: ffffffff9b653be0 [ 14.747157][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 14.747158][ C3] R10: ffff8880361b37d3 R11: ffffffff9c011288 R12: 0000000000000000 [ 14.747160][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 14.747164][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.747168][ C3] default_idle+0x9/0x10 [ 14.747171][ C3] default_idle_call+0x6d/0xb0 [ 14.747173][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.747177][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.747180][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.747184][ C3] do_idle+0xf6/0x160 [ 14.747188][ C3] cpu_startup_entry+0x54/0x60 [ 14.747191][ C3] start_secondary+0x213/0x2a0 [ 14.747193][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.747198][ C3] common_startup_64+0x13e/0x148 [ 14.747205][ C3] [ 16.365029][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.365468][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 16.365793][ C2] preempt_count: 101, expected: 0 [ 16.365979][ C2] RCU nest depth: 0, expected: 0 [ 16.366161][ C2] INFO: lockdep is turned off. [ 16.366345][ C2] Preemption disabled at: [ 16.366347][ C2] [<0000000000000000>] 0x0 [ 16.366674][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.366680][ C2] Tainted: [W]=WARN [ 16.366681][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.366683][ C2] Call Trace: [ 16.366685][ C2] [ 16.366687][ C2] dump_stack_lvl+0xb0/0xd0 [ 16.366695][ C2] __might_resched+0x360/0x5a0 [ 16.366703][ C2] down_write+0x72/0x210 [ 16.366707][ C2] ? __pfx_down_write+0x10/0x10 [ 16.366710][ C2] ? simple_recursive_removal+0x33/0x610 [ 16.366715][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.366720][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.366725][ C2] simple_recursive_removal+0x6a/0x610 [ 16.366728][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.366731][ C2] ? __pfx_remove_one+0x10/0x10 [ 16.366737][ C2] debugfs_remove+0x44/0x70 [ 16.366740][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 16.366748][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.366752][ C2] ? __sk_destruct+0x383/0x780 [ 16.366757][ C2] ? rcu_do_batch+0x34c/0xf20 [ 16.366760][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.366764][ C2] ? irq_exit_rcu+0xe/0x30 [ 16.366768][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.366774][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.366778][ C2] ? pv_native_safe_halt+0xf/0x20 [ 16.366781][ C2] ? default_idle+0x9/0x10 [ 16.366784][ C2] ? default_idle_call+0x6d/0xb0 [ 16.366786][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.366790][ C2] ? do_idle+0xf6/0x160 [ 16.366792][ C2] ? cpu_startup_entry+0x54/0x60 [ 16.366795][ C2] ? start_secondary+0x213/0x2a0 [ 16.366799][ C2] ? common_startup_64+0x13e/0x148 [ 16.366804][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.366808][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.366812][ C2] __put_net+0x19/0x60 [ 16.366816][ C2] __sk_destruct+0x58a/0x780 [ 16.366820][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.366822][ C2] rcu_do_batch+0x34c/0xf20 [ 16.366827][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.366830][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.366836][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.366842][ C2] rcu_core+0x2bb/0x500 [ 16.366846][ C2] handle_softirqs+0x218/0x620 [ 16.366851][ C2] __irq_exit_rcu+0xfa/0x160 [ 16.366854][ C2] irq_exit_rcu+0xe/0x30 [ 16.366857][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.366861][ C2] [ 16.366862][ C2] [ 16.366863][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.366866][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.366871][ 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 [ 16.366873][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 16.366877][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffff9b38f5d9 [ 16.366879][ C2] RDX: ffffed1006c266fb RSI: ffffffff9b653b60 RDI: ffffffff98b8d18f [ 16.366881][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 16.366883][ C2] R10: ffff8880361337d3 R11: ffff888001ee2818 R12: 0000000000000000 [ 16.366885][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 16.366888][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.366892][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.366895][ C2] default_idle+0x9/0x10 [ 16.366898][ C2] default_idle_call+0x6d/0xb0 [ 16.366900][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 16.366903][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.366907][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.366911][ C2] do_idle+0xf6/0x160 [ 16.366915][ C2] cpu_startup_entry+0x54/0x60 [ 16.366918][ C2] start_secondary+0x213/0x2a0 [ 16.366920][ C2] ? __pfx_start_secondary+0x10/0x10 [ 16.366925][ C2] common_startup_64+0x13e/0x148 [ 16.366932][ C2]