[ 30.836031][ C0] [ 30.836196][ C0] ================================ [ 30.836431][ C0] WARNING: inconsistent lock state [ 30.836649][ C0] 6.15.0-virtme #1 Not tainted [ 30.836871][ C0] -------------------------------- [ 30.837089][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 30.837363][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 30.837637][ C0] ffffffffa59c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 30.838034][ C0] {SOFTIRQ-ON-W} state was registered at: [ 30.838251][ C0] __lock_acquire+0x20b/0x7e0 [ 30.838478][ C0] lock_acquire.part.0+0xb6/0x240 [ 30.838698][ C0] _raw_spin_lock+0x33/0x40 [ 30.838927][ C0] simple_pin_fs+0x24/0x150 [ 30.839150][ C0] start_creating.part.0+0x52/0x310 [ 30.839376][ C0] debugfs_create_dir+0x6a/0x540 [ 30.839595][ C0] component_debug_init+0x17/0x30 [ 30.839817][ C0] do_one_initcall+0x8f/0x1e0 [ 30.840042][ C0] do_initcalls+0x176/0x280 [ 30.840267][ C0] kernel_init_freeable+0x22d/0x300 [ 30.840492][ C0] kernel_init+0x20/0x200 [ 30.840713][ C0] ret_from_fork+0x240/0x320 [ 30.840936][ C0] ret_from_fork_asm+0x1a/0x30 [ 30.841158][ C0] irq event stamp: 636248 [ 30.841327][ C0] hardirqs last enabled at (636248): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 30.841780][ C0] hardirqs last disabled at (636247): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 30.842216][ C0] softirqs last enabled at (635184): [] handle_softirqs+0x358/0x620 [ 30.842604][ C0] softirqs last disabled at (635203): [] __irq_exit_rcu+0xfa/0x160 [ 30.842991][ C0] [ 30.842991][ C0] other info that might help us debug this: [ 30.843322][ C0] Possible unsafe locking scenario: [ 30.843322][ C0] [ 30.843646][ C0] CPU0 [ 30.843811][ C0] ---- [ 30.843973][ C0] lock(pin_fs_lock); [ 30.844142][ C0] [ 30.844301][ C0] lock(pin_fs_lock); [ 30.844472][ C0] [ 30.844472][ C0] *** DEADLOCK *** [ 30.844472][ C0] [ 30.844800][ C0] 1 lock held by swapper/0/0: [ 30.845027][ C0] #0: ffffffffa57774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 30.845433][ C0] [ 30.845433][ C0] stack backtrace: [ 30.845710][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 30.845715][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.845718][ C0] Call Trace: [ 30.845720][ C0] [ 30.845723][ C0] dump_stack_lvl+0x82/0xd0 [ 30.845730][ C0] print_usage_bug.part.0+0x25f/0x360 [ 30.845736][ C0] mark_lock_irq+0x343/0x400 [ 30.845740][ C0] ? is_bpf_text_address+0x67/0x120 [ 30.845746][ C0] ? __lock_release+0x5d/0x170 [ 30.845750][ C0] ? save_trace+0x52/0x170 [ 30.845756][ C0] mark_lock+0x174/0x2f0 [ 30.845760][ C0] mark_usage+0x46/0x150 [ 30.845763][ C0] __lock_acquire+0x20b/0x7e0 [ 30.845766][ C0] ? __lock_acquire+0x44d/0x7e0 [ 30.845770][ C0] lock_acquire.part.0+0xb6/0x240 [ 30.845773][ C0] ? simple_pin_fs+0x24/0x150 [ 30.845778][ C0] ? rcu_is_watching+0x12/0xc0 [ 30.845783][ C0] ? lock_acquire+0x10c/0x170 [ 30.845786][ C0] ? simple_pin_fs+0x24/0x150 [ 30.845790][ C0] _raw_spin_lock+0x33/0x40 [ 30.845794][ C0] ? simple_pin_fs+0x24/0x150 [ 30.845797][ C0] simple_pin_fs+0x24/0x150 [ 30.845801][ C0] debugfs_remove+0x35/0x70 [ 30.845806][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 30.845813][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 30.845816][ C0] ? __sk_destruct+0x383/0x780 [ 30.845824][ C0] ? rcu_do_batch+0x34c/0xf20 [ 30.845826][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 30.845830][ C0] ? irq_exit_rcu+0xe/0x30 [ 30.845833][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 30.845838][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 30.845842][ C0] ? pv_native_safe_halt+0xf/0x20 [ 30.845845][ C0] ? default_idle+0x9/0x10 [ 30.845848][ C0] ? default_idle_call+0x6d/0xb0 [ 30.845850][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 30.845854][ C0] ? do_idle+0xf6/0x160 [ 30.845858][ C0] ? cpu_startup_entry+0x54/0x60 [ 30.845861][ C0] ? rest_init+0x14b/0x260 [ 30.845865][ C0] ? start_kernel+0x350/0x410 [ 30.845872][ C0] __put_net+0x19/0x60 [ 30.845876][ C0] __sk_destruct+0x58a/0x780 [ 30.845880][ C0] ? rcu_do_batch+0x34a/0xf20 [ 30.845883][ C0] rcu_do_batch+0x34c/0xf20 [ 30.845886][ C0] ? find_held_lock+0x2b/0x80 [ 30.845890][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 30.845894][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 30.845897][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 30.845900][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 30.845905][ C0] rcu_core+0x2bb/0x500 [ 30.845911][ C0] handle_softirqs+0x218/0x620 [ 30.845916][ C0] __irq_exit_rcu+0xfa/0x160 [ 30.845919][ C0] irq_exit_rcu+0xe/0x30 [ 30.845922][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 30.845926][ C0] [ 30.845928][ C0] [ 30.845930][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 30.845932][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 30.845937][ C0] 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 [ 30.845940][ C0] RSP: 0018:ffffffffa5407df8 EFLAGS: 00000246 [ 30.845943][ C0] RAX: 000000000009b141 RBX: 1ffffffff4a80fc3 RCX: ffffffffa47905d9 [ 30.845945][ C0] RDX: 0000000000000000 RSI: ffffffffa528f4e4 RDI: ffffffffa4a53be0 [ 30.845947][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 30.845949][ C0] R10: ffff8880360337d3 R11: ffffffffa5411288 R12: 0000000000000000 [ 30.845950][ C0] R13: ffffffffa541f240 R14: dffffc0000000000 R15: 0000000000014770 [ 30.845955][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 30.845959][ C0] default_idle+0x9/0x10 [ 30.845962][ C0] default_idle_call+0x6d/0xb0 [ 30.845964][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 30.845968][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 30.845971][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 30.845978][ C0] do_idle+0xf6/0x160 [ 30.845982][ C0] cpu_startup_entry+0x54/0x60 [ 30.845985][ C0] rest_init+0x14b/0x260 [ 30.845989][ C0] start_kernel+0x350/0x410 [ 30.845993][ C0] x86_64_start_reservations+0x18/0x30 [ 30.845998][ C0] x86_64_start_kernel+0xf8/0x150 [ 30.846002][ C0] common_startup_64+0x13e/0x148 [ 30.846013][ C0] [ 30.865725][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 30.866088][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 30.866452][ C0] preempt_count: 101, expected: 0 [ 30.866793][ C0] RCU nest depth: 0, expected: 0 [ 30.867004][ C0] INFO: lockdep is turned off. [ 30.867219][ C0] Preemption disabled at: [ 30.867221][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 30.867711][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 30.867716][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.867719][ C0] Call Trace: [ 30.867721][ C0] [ 30.867723][ C0] dump_stack_lvl+0xb0/0xd0 [ 30.867731][ C0] __might_resched+0x360/0x5a0 [ 30.867740][ C0] down_write+0x72/0x210 [ 30.867745][ C0] ? __pfx_down_write+0x10/0x10 [ 30.867748][ C0] ? simple_recursive_removal+0x33/0x610 [ 30.867753][ C0] ? rcu_is_watching+0x12/0xc0 [ 30.867759][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 30.867766][ C0] simple_recursive_removal+0x6a/0x610 [ 30.867769][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 30.867773][ C0] ? __pfx_remove_one+0x10/0x10 [ 30.867779][ C0] debugfs_remove+0x44/0x70 [ 30.867782][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 30.867790][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 30.867793][ C0] ? __sk_destruct+0x383/0x780 [ 30.867800][ C0] ? rcu_do_batch+0x34c/0xf20 [ 30.867804][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 30.867807][ C0] ? irq_exit_rcu+0xe/0x30 [ 30.867814][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 30.867820][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 30.867825][ C0] ? pv_native_safe_halt+0xf/0x20 [ 30.867828][ C0] ? default_idle+0x9/0x10 [ 30.867831][ C0] ? default_idle_call+0x6d/0xb0 [ 30.867834][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 30.867838][ C0] ? do_idle+0xf6/0x160 [ 30.867841][ C0] ? cpu_startup_entry+0x54/0x60 [ 30.867843][ C0] ? rest_init+0x14b/0x260 [ 30.867846][ C0] ? start_kernel+0x350/0x410 [ 30.867854][ C0] __put_net+0x19/0x60 [ 30.867859][ C0] __sk_destruct+0x58a/0x780 [ 30.867863][ C0] ? rcu_do_batch+0x34a/0xf20 [ 30.867866][ C0] rcu_do_batch+0x34c/0xf20 [ 30.867869][ C0] ? find_held_lock+0x2b/0x80 [ 30.867876][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 30.867879][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 30.867884][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 30.867887][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 30.867892][ C0] rcu_core+0x2bb/0x500 [ 30.867897][ C0] handle_softirqs+0x218/0x620 [ 30.867902][ C0] __irq_exit_rcu+0xfa/0x160 [ 30.867905][ C0] irq_exit_rcu+0xe/0x30 [ 30.867908][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 30.867912][ C0] [ 30.867913][ C0] [ 30.867915][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 30.867917][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 30.867922][ C0] 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 [ 30.867924][ C0] RSP: 0018:ffffffffa5407df8 EFLAGS: 00000246 [ 30.867928][ C0] RAX: 000000000009b141 RBX: 1ffffffff4a80fc3 RCX: ffffffffa47905d9 [ 30.867930][ C0] RDX: 0000000000000000 RSI: ffffffffa528f4e4 RDI: ffffffffa4a53be0 [ 30.867932][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 30.867934][ C0] R10: ffff8880360337d3 R11: ffffffffa5411288 R12: 0000000000000000 [ 30.867936][ C0] R13: ffffffffa541f240 R14: dffffc0000000000 R15: 0000000000014770 [ 30.867940][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 30.867945][ C0] default_idle+0x9/0x10 [ 30.867948][ C0] default_idle_call+0x6d/0xb0 [ 30.867950][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 30.867954][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 30.867958][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 30.867964][ C0] do_idle+0xf6/0x160 [ 30.867967][ C0] cpu_startup_entry+0x54/0x60 [ 30.867970][ C0] rest_init+0x14b/0x260 [ 30.867973][ C0] start_kernel+0x350/0x410 [ 30.867977][ C0] x86_64_start_reservations+0x18/0x30 [ 30.867981][ C0] x86_64_start_kernel+0xf8/0x150 [ 30.867985][ C0] common_startup_64+0x13e/0x148 [ 30.867994][ C0] [ 33.740322][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 33.740904][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 33.741447][ C3] preempt_count: 101, expected: 0 [ 33.741769][ C3] RCU nest depth: 0, expected: 0 [ 33.742068][ C3] INFO: lockdep is turned off. [ 33.742373][ C3] Preemption disabled at: [ 33.742377][ C3] [<0000000000000000>] 0x0 [ 33.742925][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 33.742932][ C3] Tainted: [W]=WARN [ 33.742934][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 33.742936][ C3] Call Trace: [ 33.742938][ C3] [ 33.742941][ C3] dump_stack_lvl+0xb0/0xd0 [ 33.742954][ C3] __might_resched+0x360/0x5a0 [ 33.742963][ C3] down_write+0x72/0x210 [ 33.742969][ C3] ? __pfx_down_write+0x10/0x10 [ 33.742972][ C3] ? simple_recursive_removal+0x33/0x610 [ 33.742978][ C3] ? rcu_is_watching+0x12/0xc0 [ 33.742984][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 33.742991][ C3] simple_recursive_removal+0x6a/0x610 [ 33.742994][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 33.742997][ C3] ? __pfx_remove_one+0x10/0x10 [ 33.743003][ C3] debugfs_remove+0x44/0x70 [ 33.743007][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 33.743016][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 33.743021][ C3] ? __sk_destruct+0x383/0x780 [ 33.743030][ C3] ? rcu_do_batch+0x34c/0xf20 [ 33.743035][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 33.743040][ C3] ? irq_exit_rcu+0xe/0x30 [ 33.743048][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 33.743056][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 33.743063][ C3] ? pv_native_safe_halt+0xf/0x20 [ 33.743068][ C3] ? default_idle+0x9/0x10 [ 33.743073][ C3] ? default_idle_call+0x6d/0xb0 [ 33.743077][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 33.743083][ C3] ? do_idle+0xf6/0x160 [ 33.743088][ C3] ? cpu_startup_entry+0x54/0x60 [ 33.743092][ C3] ? start_secondary+0x213/0x2a0 [ 33.743098][ C3] ? common_startup_64+0x13e/0x148 [ 33.743106][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 33.743113][ C3] ? rcu_is_watching+0x12/0xc0 [ 33.743121][ C3] __put_net+0x19/0x60 [ 33.743129][ C3] __sk_destruct+0x58a/0x780 [ 33.743136][ C3] ? rcu_do_batch+0x34a/0xf20 [ 33.743139][ C3] rcu_do_batch+0x34c/0xf20 [ 33.743148][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 33.743155][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 33.743165][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 33.743176][ C3] rcu_core+0x2bb/0x500 [ 33.743183][ C3] handle_softirqs+0x218/0x620 [ 33.743194][ C3] __irq_exit_rcu+0xfa/0x160 [ 33.743199][ C3] irq_exit_rcu+0xe/0x30 [ 33.743204][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 33.743210][ C3] [ 33.743212][ C3] [ 33.743215][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 33.743220][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 33.743226][ 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 [ 33.743231][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 33.743237][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffffa47905d9 [ 33.743241][ C3] RDX: ffffed1006c366fb RSI: ffffffffa4a53b60 RDI: ffffffffa1f8d18f [ 33.743244][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 33.743247][ C3] R10: ffff8880361b37d3 R11: ffff88800536cad8 R12: 0000000000000000 [ 33.743250][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 33.743256][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 33.743261][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 33.743268][ C3] default_idle+0x9/0x10 [ 33.743273][ C3] default_idle_call+0x6d/0xb0 [ 33.743277][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 33.743283][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 33.743290][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 33.743299][ C3] do_idle+0xf6/0x160 [ 33.743305][ C3] cpu_startup_entry+0x54/0x60 [ 33.743311][ C3] start_secondary+0x213/0x2a0 [ 33.743316][ C3] ? __pfx_start_secondary+0x10/0x10 [ 33.743325][ C3] common_startup_64+0x13e/0x148 [ 33.743338][ C3]