[ 16.363709][ C3] [ 16.363886][ C3] ================================ [ 16.364091][ C3] WARNING: inconsistent lock state [ 16.364294][ C3] 6.15.0-rc7-virtme #1 Not tainted [ 16.364495][ C3] -------------------------------- [ 16.364702][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.364955][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.365208][ C3] ffffffffae5bff78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 16.365582][ C3] {SOFTIRQ-ON-W} state was registered at: [ 16.365786][ C3] __lock_acquire+0x3eb/0x9d0 [ 16.366003][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.366212][ C3] _raw_spin_lock+0x33/0x40 [ 16.366425][ C3] simple_pin_fs+0x24/0x150 [ 16.366636][ C3] start_creating.part.0+0x3f/0x2f0 [ 16.366845][ C3] debugfs_create_dir+0x6a/0x540 [ 16.367054][ C3] component_debug_init+0x17/0x30 [ 16.367267][ C3] do_one_initcall+0x8f/0x1e0 [ 16.367479][ C3] do_initcalls+0x176/0x280 [ 16.367684][ C3] kernel_init_freeable+0x22d/0x300 [ 16.367884][ C3] kernel_init+0x20/0x200 [ 16.368085][ C3] ret_from_fork+0x31/0x70 [ 16.368286][ C3] ret_from_fork_asm+0x1a/0x30 [ 16.368489][ C3] irq event stamp: 290692 [ 16.368640][ C3] hardirqs last enabled at (290692): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.369040][ C3] hardirqs last disabled at (290691): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.369442][ C3] softirqs last enabled at (288730): [] handle_softirqs+0x358/0x620 [ 16.369796][ C3] softirqs last disabled at (288755): [] __irq_exit_rcu+0xfa/0x160 [ 16.370148][ C3] [ 16.370148][ C3] other info that might help us debug this: [ 16.370444][ C3] Possible unsafe locking scenario: [ 16.370444][ C3] [ 16.370749][ C3] CPU0 [ 16.370904][ C3] ---- [ 16.371057][ C3] lock(pin_fs_lock); [ 16.371211][ C3] [ 16.371362][ C3] lock(pin_fs_lock); [ 16.371522][ C3] [ 16.371522][ C3] *** DEADLOCK *** [ 16.371522][ C3] [ 16.371825][ C3] 1 lock held by swapper/3/0: [ 16.372034][ C3] #0: ffffffffae3749c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.372395][ C3] [ 16.372395][ C3] stack backtrace: [ 16.372646][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 16.372651][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.372653][ C3] Call Trace: [ 16.372656][ C3] [ 16.372658][ C3] dump_stack_lvl+0x82/0xd0 [ 16.372665][ C3] print_usage_bug.part.0+0x25f/0x360 [ 16.372671][ C3] mark_lock_irq+0x343/0x400 [ 16.372676][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 16.372682][ C3] ? save_trace+0x52/0x170 [ 16.372687][ C3] mark_lock+0x174/0x2f0 [ 16.372692][ C3] mark_usage+0x46/0x150 [ 16.372695][ C3] __lock_acquire+0x3eb/0x9d0 [ 16.372701][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.372703][ C3] ? simple_pin_fs+0x24/0x150 [ 16.372707][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.372714][ C3] ? lock_acquire+0x10c/0x170 [ 16.372716][ C3] ? simple_pin_fs+0x24/0x150 [ 16.372720][ C3] _raw_spin_lock+0x33/0x40 [ 16.372723][ C3] ? simple_pin_fs+0x24/0x150 [ 16.372725][ C3] simple_pin_fs+0x24/0x150 [ 16.372729][ C3] debugfs_remove+0x35/0x70 [ 16.372732][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.372738][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.372741][ C3] ? __sk_destruct+0x383/0x780 [ 16.372748][ C3] ? rcu_do_batch+0x34f/0xf20 [ 16.372751][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.372754][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.372757][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.372762][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.372766][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.372769][ C3] ? default_idle+0x9/0x10 [ 16.372771][ C3] ? default_idle_call+0x6d/0xb0 [ 16.372773][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.372778][ C3] ? do_idle+0xf6/0x160 [ 16.372781][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.372784][ C3] ? start_secondary+0x213/0x2a0 [ 16.372790][ C3] ? common_startup_64+0x13e/0x148 [ 16.372797][ C3] __put_net+0x19/0x60 [ 16.372801][ C3] __sk_destruct+0x58a/0x780 [ 16.372805][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.372808][ C3] rcu_do_batch+0x34f/0xf20 [ 16.372812][ C3] ? find_held_lock+0x2b/0x80 [ 16.372816][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.372820][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.372824][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.372827][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.372832][ C3] rcu_core+0x2bb/0x500 [ 16.372836][ C3] handle_softirqs+0x218/0x620 [ 16.372841][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.372843][ C3] irq_exit_rcu+0xe/0x30 [ 16.372846][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.372849][ C3] [ 16.372851][ C3] [ 16.372852][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.372855][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.372860][ C3] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 16.372862][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 16.372866][ C3] RAX: 00000000000467f1 RBX: 1ffff9200002afc1 RCX: ffffffffad35ba19 [ 16.372868][ C3] RDX: 0000000000000000 RSI: ffffffffade87785 RDI: ffffffffad651260 [ 16.372870][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005ef667a [ 16.372871][ C3] R10: ffff88802f7b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 16.372873][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 16.372877][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.372882][ C3] default_idle+0x9/0x10 [ 16.372884][ C3] default_idle_call+0x6d/0xb0 [ 16.372886][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.372890][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.372895][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 16.372900][ C3] do_idle+0xf6/0x160 [ 16.372904][ C3] cpu_startup_entry+0x54/0x60 [ 16.372907][ C3] start_secondary+0x213/0x2a0 [ 16.372911][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.372916][ C3] common_startup_64+0x13e/0x148 [ 16.372923][ C3] [ 16.388682][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.389024][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 16.389347][ C3] preempt_count: 101, expected: 0 [ 16.389536][ C3] RCU nest depth: 0, expected: 0 [ 16.389723][ C3] INFO: lockdep is turned off. [ 16.389918][ C3] Preemption disabled at: [ 16.389920][ C3] [<0000000000000000>] 0x0 [ 16.390248][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 16.390252][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.390254][ C3] Call Trace: [ 16.390256][ C3] [ 16.390258][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.390265][ C3] __might_resched+0x360/0x5a0 [ 16.390273][ C3] down_write+0x72/0x210 [ 16.390277][ C3] ? __pfx_down_write+0x10/0x10 [ 16.390280][ C3] ? simple_recursive_removal+0x3a/0x860 [ 16.390285][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.390292][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.390297][ C3] simple_recursive_removal+0x166/0x860 [ 16.390300][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.390304][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.390309][ C3] debugfs_remove+0x44/0x70 [ 16.390312][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.390317][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.390320][ C3] ? __sk_destruct+0x383/0x780 [ 16.390326][ C3] ? rcu_do_batch+0x34f/0xf20 [ 16.390330][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.390333][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.390336][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.390341][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.390344][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.390348][ C3] ? default_idle+0x9/0x10 [ 16.390350][ C3] ? default_idle_call+0x6d/0xb0 [ 16.390353][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.390358][ C3] ? do_idle+0xf6/0x160 [ 16.390361][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.390364][ C3] ? start_secondary+0x213/0x2a0 [ 16.390368][ C3] ? common_startup_64+0x13e/0x148 [ 16.390374][ C3] __put_net+0x19/0x60 [ 16.390378][ C3] __sk_destruct+0x58a/0x780 [ 16.390382][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.390385][ C3] rcu_do_batch+0x34f/0xf20 [ 16.390388][ C3] ? find_held_lock+0x2b/0x80 [ 16.390394][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.390398][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.390402][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.390406][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.390411][ C3] rcu_core+0x2bb/0x500 [ 16.390415][ C3] handle_softirqs+0x218/0x620 [ 16.390420][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.390423][ C3] irq_exit_rcu+0xe/0x30 [ 16.390425][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.390429][ C3] [ 16.390430][ C3] [ 16.390432][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.390434][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.390438][ C3] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 16.390441][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 16.390444][ C3] RAX: 00000000000467f1 RBX: 1ffff9200002afc1 RCX: ffffffffad35ba19 [ 16.390446][ C3] RDX: 0000000000000000 RSI: ffffffffade87785 RDI: ffffffffad651260 [ 16.390448][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005ef667a [ 16.390450][ C3] R10: ffff88802f7b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 16.390452][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 16.390456][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.390460][ C3] default_idle+0x9/0x10 [ 16.390463][ C3] default_idle_call+0x6d/0xb0 [ 16.390465][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.390469][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.390473][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 16.390478][ C3] do_idle+0xf6/0x160 [ 16.390483][ C3] cpu_startup_entry+0x54/0x60 [ 16.390486][ C3] start_secondary+0x213/0x2a0 [ 16.390490][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.390495][ C3] common_startup_64+0x13e/0x148 [ 16.390502][ C3] [ 18.721876][ T258] packetdrill (258) used greatest stack depth: 24584 bytes left [ 18.725934][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 18.726299][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 18.726643][ C3] preempt_count: 101, expected: 0 [ 18.726835][ C3] RCU nest depth: 0, expected: 0 [ 18.727033][ C3] INFO: lockdep is turned off. [ 18.727223][ C3] Preemption disabled at: [ 18.727225][ C3] [<0000000000000000>] 0x0 [ 18.727569][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-rc7-virtme #1 PREEMPT(full) [ 18.727575][ C3] Tainted: [W]=WARN [ 18.727576][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.727578][ C3] Call Trace: [ 18.727581][ C3] [ 18.727583][ C3] dump_stack_lvl+0xb0/0xd0 [ 18.727593][ C3] __might_resched+0x360/0x5a0 [ 18.727601][ C3] down_write+0x72/0x210 [ 18.727607][ C3] ? __pfx_down_write+0x10/0x10 [ 18.727610][ C3] ? simple_recursive_removal+0x3a/0x860 [ 18.727616][ C3] ? rcu_is_watching+0x12/0xc0 [ 18.727624][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 18.727631][ C3] simple_recursive_removal+0x166/0x860 [ 18.727633][ C3] ? __pfx_remove_one+0x10/0x10 [ 18.727640][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 18.727645][ C3] debugfs_remove+0x44/0x70 [ 18.727648][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 18.727654][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.727658][ C3] ? __sk_destruct+0x383/0x780 [ 18.727665][ C3] ? rcu_do_batch+0x34f/0xf20 [ 18.727670][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.727673][ C3] ? irq_exit_rcu+0xe/0x30 [ 18.727679][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.727684][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.727688][ C3] ? pv_native_safe_halt+0xf/0x20 [ 18.727692][ C3] ? default_idle+0x9/0x10 [ 18.727694][ C3] ? default_idle_call+0x6d/0xb0 [ 18.727697][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.727702][ C3] ? do_idle+0xf6/0x160 [ 18.727706][ C3] ? cpu_startup_entry+0x54/0x60 [ 18.727709][ C3] ? start_secondary+0x213/0x2a0 [ 18.727715][ C3] ? common_startup_64+0x13e/0x148 [ 18.727721][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 18.727726][ C3] ? rcu_is_watching+0x12/0xc0 [ 18.727731][ C3] __put_net+0x19/0x60 [ 18.727736][ C3] __sk_destruct+0x58a/0x780 [ 18.727740][ C3] ? rcu_do_batch+0x34a/0xf20 [ 18.727743][ C3] rcu_do_batch+0x34f/0xf20 [ 18.727748][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.727753][ C3] ? rcu_is_watching+0x12/0xc0 [ 18.727758][ C3] rcu_core+0x2bb/0x500 [ 18.727762][ C3] handle_softirqs+0x218/0x620 [ 18.727767][ C3] __irq_exit_rcu+0xfa/0x160 [ 18.727770][ C3] irq_exit_rcu+0xe/0x30 [ 18.727772][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.727776][ C3] [ 18.727777][ C3] [ 18.727778][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.727781][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 18.727785][ C3] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 18.727789][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 18.727793][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffffad35ba19 [ 18.727795][ C3] RDX: ffffed1005ef667b RSI: ffffffffad6511e0 RDI: ffffffffaab8633f [ 18.727797][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1005ef667a [ 18.727799][ C3] R10: ffff88802f7b33d3 R11: ffff888001bdcb58 R12: 0000000000000000 [ 18.727801][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 18.727805][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 18.727808][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.727813][ C3] default_idle+0x9/0x10 [ 18.727815][ C3] default_idle_call+0x6d/0xb0 [ 18.727818][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 18.727821][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 18.727826][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 18.727831][ C3] do_idle+0xf6/0x160 [ 18.727838][ C3] cpu_startup_entry+0x54/0x60 [ 18.727841][ C3] start_secondary+0x213/0x2a0 [ 18.727845][ C3] ? __pfx_start_secondary+0x10/0x10 [ 18.727850][ C3] common_startup_64+0x13e/0x148 [ 18.727857][ C3]