[ 17.544613][ C3] [ 17.544789][ C3] ================================ [ 17.544975][ C3] WARNING: inconsistent lock state [ 17.545175][ C3] 6.15.0-virtme #1 Not tainted [ 17.545385][ C3] -------------------------------- [ 17.545586][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 17.545835][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 17.546080][ C3] ffffffff8e3c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 17.546436][ C3] {SOFTIRQ-ON-W} state was registered at: [ 17.546622][ C3] __lock_acquire+0x20b/0x7e0 [ 17.546836][ C3] lock_acquire.part.0+0xb6/0x240 [ 17.547028][ C3] _raw_spin_lock+0x33/0x40 [ 17.547230][ C3] simple_pin_fs+0x24/0x150 [ 17.547419][ C3] start_creating.part.0+0x52/0x310 [ 17.547607][ C3] debugfs_create_dir+0x6a/0x540 [ 17.547819][ C3] component_debug_init+0x17/0x30 [ 17.548017][ C3] do_one_initcall+0x8f/0x1e0 [ 17.548222][ C3] do_initcalls+0x176/0x280 [ 17.548426][ C3] kernel_init_freeable+0x22d/0x300 [ 17.548618][ C3] kernel_init+0x20/0x200 [ 17.548815][ C3] ret_from_fork+0x240/0x320 [ 17.549009][ C3] ret_from_fork_asm+0x1a/0x30 [ 17.549227][ C3] irq event stamp: 301790 [ 17.549376][ C3] hardirqs last enabled at (301790): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.549817][ C3] hardirqs last disabled at (301789): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 17.550229][ C3] softirqs last enabled at (300882): [] handle_softirqs+0x358/0x620 [ 17.550584][ C3] softirqs last disabled at (300901): [] __irq_exit_rcu+0xfa/0x160 [ 17.550927][ C3] [ 17.550927][ C3] other info that might help us debug this: [ 17.551222][ C3] Possible unsafe locking scenario: [ 17.551222][ C3] [ 17.551520][ C3] CPU0 [ 17.551665][ C3] ---- [ 17.551811][ C3] lock(pin_fs_lock); [ 17.551967][ C3] [ 17.552136][ C3] lock(pin_fs_lock); [ 17.552297][ C3] [ 17.552297][ C3] *** DEADLOCK *** [ 17.552297][ C3] [ 17.552600][ C3] 1 lock held by swapper/3/0: [ 17.552827][ C3] #0: ffffffff8e1774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 17.553183][ C3] [ 17.553183][ C3] stack backtrace: [ 17.553422][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 17.553427][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.553429][ C3] Call Trace: [ 17.553432][ C3] [ 17.553438][ C3] dump_stack_lvl+0x82/0xd0 [ 17.553450][ C3] print_usage_bug.part.0+0x25f/0x360 [ 17.553456][ C3] mark_lock_irq+0x343/0x400 [ 17.553461][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 17.553467][ C3] ? save_trace+0x52/0x170 [ 17.553473][ C3] mark_lock+0x174/0x2f0 [ 17.553477][ C3] mark_usage+0x46/0x150 [ 17.553480][ C3] __lock_acquire+0x20b/0x7e0 [ 17.553483][ C3] ? __lock_acquire+0x44d/0x7e0 [ 17.553487][ C3] lock_acquire.part.0+0xb6/0x240 [ 17.553491][ C3] ? simple_pin_fs+0x24/0x150 [ 17.553496][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.553501][ C3] ? lock_acquire+0x10c/0x170 [ 17.553503][ C3] ? simple_pin_fs+0x24/0x150 [ 17.553508][ C3] _raw_spin_lock+0x33/0x40 [ 17.553512][ C3] ? simple_pin_fs+0x24/0x150 [ 17.553515][ C3] simple_pin_fs+0x24/0x150 [ 17.553519][ C3] debugfs_remove+0x35/0x70 [ 17.553524][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 17.553531][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.553535][ C3] ? __sk_destruct+0x383/0x780 [ 17.553543][ C3] ? rcu_do_batch+0x34c/0xf20 [ 17.553545][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.553550][ C3] ? irq_exit_rcu+0xe/0x30 [ 17.553555][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.553563][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.553570][ C3] ? pv_native_safe_halt+0xf/0x20 [ 17.553574][ C3] ? default_idle+0x9/0x10 [ 17.553577][ C3] ? default_idle_call+0x6d/0xb0 [ 17.553580][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.553584][ C3] ? do_idle+0xf6/0x160 [ 17.553587][ C3] ? cpu_startup_entry+0x54/0x60 [ 17.553589][ C3] ? start_secondary+0x213/0x2a0 [ 17.553594][ C3] ? common_startup_64+0x13e/0x148 [ 17.553603][ C3] __put_net+0x19/0x60 [ 17.553607][ C3] __sk_destruct+0x58a/0x780 [ 17.553611][ C3] ? rcu_do_batch+0x34a/0xf20 [ 17.553614][ C3] rcu_do_batch+0x34c/0xf20 [ 17.553617][ C3] ? find_held_lock+0x2b/0x80 [ 17.553622][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.553625][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.553629][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 17.553632][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.553637][ C3] rcu_core+0x2bb/0x500 [ 17.553643][ C3] handle_softirqs+0x218/0x620 [ 17.553652][ C3] __irq_exit_rcu+0xfa/0x160 [ 17.553655][ C3] irq_exit_rcu+0xe/0x30 [ 17.553658][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.553662][ C3] [ 17.553663][ C3] [ 17.553665][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.553668][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.553673][ 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 [ 17.553676][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 17.553679][ C3] RAX: 0000000000049763 RBX: 1ffff9200002afc1 RCX: ffffffff8d1905d9 [ 17.553681][ C3] RDX: 0000000000000000 RSI: ffffffff8dc8f4e4 RDI: ffffffff8d453be0 [ 17.553683][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 17.553685][ C3] R10: ffff8880361b37d3 R11: ffffffff8de11288 R12: 0000000000000000 [ 17.553686][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 17.553694][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.553699][ C3] default_idle+0x9/0x10 [ 17.553701][ C3] default_idle_call+0x6d/0xb0 [ 17.553704][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 17.553707][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.553711][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.553716][ C3] do_idle+0xf6/0x160 [ 17.553719][ C3] cpu_startup_entry+0x54/0x60 [ 17.553722][ C3] start_secondary+0x213/0x2a0 [ 17.553725][ C3] ? __pfx_start_secondary+0x10/0x10 [ 17.553730][ C3] common_startup_64+0x13e/0x148 [ 17.553738][ C3] [ 17.570410][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.570734][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 17.571053][ C3] preempt_count: 101, expected: 0 [ 17.571235][ C3] RCU nest depth: 0, expected: 0 [ 17.571429][ C3] INFO: lockdep is turned off. [ 17.571614][ C3] Preemption disabled at: [ 17.571616][ C3] [<0000000000000000>] 0x0 [ 17.571960][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 17.571966][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.571968][ C3] Call Trace: [ 17.571970][ C3] [ 17.571973][ C3] dump_stack_lvl+0xb0/0xd0 [ 17.571984][ C3] __might_resched+0x360/0x5a0 [ 17.571993][ C3] down_write+0x72/0x210 [ 17.571998][ C3] ? __pfx_down_write+0x10/0x10 [ 17.572001][ C3] ? simple_recursive_removal+0x33/0x610 [ 17.572006][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.572013][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.572020][ C3] simple_recursive_removal+0x6a/0x610 [ 17.572023][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.572026][ C3] ? __pfx_remove_one+0x10/0x10 [ 17.572032][ C3] debugfs_remove+0x44/0x70 [ 17.572035][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 17.572043][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.572047][ C3] ? __sk_destruct+0x383/0x780 [ 17.572054][ C3] ? rcu_do_batch+0x34c/0xf20 [ 17.572057][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.572061][ C3] ? irq_exit_rcu+0xe/0x30 [ 17.572067][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.572073][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.572078][ C3] ? pv_native_safe_halt+0xf/0x20 [ 17.572081][ C3] ? default_idle+0x9/0x10 [ 17.572084][ C3] ? default_idle_call+0x6d/0xb0 [ 17.572087][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.572091][ C3] ? do_idle+0xf6/0x160 [ 17.572093][ C3] ? cpu_startup_entry+0x54/0x60 [ 17.572096][ C3] ? start_secondary+0x213/0x2a0 [ 17.572101][ C3] ? common_startup_64+0x13e/0x148 [ 17.572113][ C3] __put_net+0x19/0x60 [ 17.572120][ C3] __sk_destruct+0x58a/0x780 [ 17.572126][ C3] ? rcu_do_batch+0x34a/0xf20 [ 17.572129][ C3] rcu_do_batch+0x34c/0xf20 [ 17.572133][ C3] ? find_held_lock+0x2b/0x80 [ 17.572140][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.572144][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.572149][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 17.572152][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.572157][ C3] rcu_core+0x2bb/0x500 [ 17.572162][ C3] handle_softirqs+0x218/0x620 [ 17.572168][ C3] __irq_exit_rcu+0xfa/0x160 [ 17.572171][ C3] irq_exit_rcu+0xe/0x30 [ 17.572173][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.572177][ C3] [ 17.572178][ C3] [ 17.572180][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.572182][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.572187][ 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 [ 17.572190][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 17.572194][ C3] RAX: 0000000000049763 RBX: 1ffff9200002afc1 RCX: ffffffff8d1905d9 [ 17.572195][ C3] RDX: 0000000000000000 RSI: ffffffff8dc8f4e4 RDI: ffffffff8d453be0 [ 17.572197][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 17.572199][ C3] R10: ffff8880361b37d3 R11: ffffffff8de11288 R12: 0000000000000000 [ 17.572200][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 17.572204][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.572209][ C3] default_idle+0x9/0x10 [ 17.572212][ C3] default_idle_call+0x6d/0xb0 [ 17.572214][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 17.572218][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.572221][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.572226][ C3] do_idle+0xf6/0x160 [ 17.572234][ C3] cpu_startup_entry+0x54/0x60 [ 17.572237][ C3] start_secondary+0x213/0x2a0 [ 17.572240][ C3] ? __pfx_start_secondary+0x10/0x10 [ 17.572245][ C3] common_startup_64+0x13e/0x148 [ 17.572252][ C3] [ 20.539996][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 20.540417][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 20.540790][ C2] preempt_count: 101, expected: 0 [ 20.540992][ C2] RCU nest depth: 0, expected: 0 [ 20.541193][ C2] INFO: lockdep is turned off. [ 20.541397][ C2] Preemption disabled at: [ 20.541399][ C2] [<0000000000000000>] 0x0 [ 20.541785][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 20.541790][ C2] Tainted: [W]=WARN [ 20.541792][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.541794][ C2] Call Trace: [ 20.541797][ C2] [ 20.541799][ C2] dump_stack_lvl+0xb0/0xd0 [ 20.541811][ C2] __might_resched+0x360/0x5a0 [ 20.541821][ C2] down_write+0x72/0x210 [ 20.541827][ C2] ? __pfx_down_write+0x10/0x10 [ 20.541830][ C2] ? simple_recursive_removal+0x33/0x610 [ 20.541836][ C2] ? rcu_is_watching+0x12/0xc0 [ 20.541843][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 20.541851][ C2] simple_recursive_removal+0x6a/0x610 [ 20.541854][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 20.541857][ C2] ? __pfx_remove_one+0x10/0x10 [ 20.541864][ C2] debugfs_remove+0x44/0x70 [ 20.541868][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 20.541876][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 20.541880][ C2] ? __sk_destruct+0x383/0x780 [ 20.541888][ C2] ? rcu_do_batch+0x34c/0xf20 [ 20.541892][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 20.541895][ C2] ? irq_exit_rcu+0xe/0x30 [ 20.541902][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 20.541909][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 20.541914][ C2] ? pv_native_safe_halt+0xf/0x20 [ 20.541917][ C2] ? default_idle+0x9/0x10 [ 20.541920][ C2] ? default_idle_call+0x6d/0xb0 [ 20.541923][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 20.541927][ C2] ? do_idle+0xf6/0x160 [ 20.541930][ C2] ? cpu_startup_entry+0x54/0x60 [ 20.541932][ C2] ? start_secondary+0x213/0x2a0 [ 20.541937][ C2] ? common_startup_64+0x13e/0x148 [ 20.541945][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 20.541951][ C2] ? rcu_is_watching+0x12/0xc0 [ 20.541955][ C2] __put_net+0x19/0x60 [ 20.541960][ C2] __sk_destruct+0x58a/0x780 [ 20.541965][ C2] ? rcu_do_batch+0x34a/0xf20 [ 20.541967][ C2] rcu_do_batch+0x34c/0xf20 [ 20.541972][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 20.541975][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 20.541982][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 20.541989][ C2] rcu_core+0x2bb/0x500 [ 20.541994][ C2] handle_softirqs+0x218/0x620 [ 20.542000][ C2] __irq_exit_rcu+0xfa/0x160 [ 20.542003][ C2] irq_exit_rcu+0xe/0x30 [ 20.542005][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 20.542009][ C2] [ 20.542010][ C2] [ 20.542012][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 20.542015][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 20.542019][ 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 [ 20.542022][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 20.542026][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffff8d1905d9 [ 20.542029][ C2] RDX: ffffed1006c266fb RSI: ffffffff8d453b60 RDI: ffffffff8a98d18f [ 20.542030][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 20.542032][ C2] R10: ffff8880361337d3 R11: ffffffff90a4c618 R12: 0000000000000000 [ 20.542034][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 20.542038][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 20.542042][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 20.542046][ C2] default_idle+0x9/0x10 [ 20.542048][ C2] default_idle_call+0x6d/0xb0 [ 20.542051][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 20.542054][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 20.542058][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 20.542062][ C2] do_idle+0xf6/0x160 [ 20.542066][ C2] cpu_startup_entry+0x54/0x60 [ 20.542069][ C2] start_secondary+0x213/0x2a0 [ 20.542072][ C2] ? __pfx_start_secondary+0x10/0x10 [ 20.542076][ C2] common_startup_64+0x13e/0x148 [ 20.542083][ C2]