[ 13.276971][ C3] [ 13.277186][ C3] ================================ [ 13.277382][ C3] WARNING: inconsistent lock state [ 13.277573][ C3] 6.15.0-virtme #1 Not tainted [ 13.277761][ C3] -------------------------------- [ 13.277969][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 13.278202][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 13.278440][ C3] ffffffff895c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 13.278794][ C3] {SOFTIRQ-ON-W} state was registered at: [ 13.278985][ C3] __lock_acquire+0x20b/0x7e0 [ 13.279178][ C3] lock_acquire.part.0+0xb6/0x240 [ 13.279367][ C3] _raw_spin_lock+0x33/0x40 [ 13.279560][ C3] simple_pin_fs+0x24/0x150 [ 13.279744][ C3] start_creating.part.0+0x52/0x310 [ 13.279939][ C3] debugfs_create_dir+0x6a/0x540 [ 13.280128][ C3] component_debug_init+0x17/0x30 [ 13.280318][ C3] do_one_initcall+0x8f/0x1e0 [ 13.280507][ C3] do_initcalls+0x176/0x280 [ 13.280701][ C3] kernel_init_freeable+0x22d/0x300 [ 13.280895][ C3] kernel_init+0x20/0x200 [ 13.281093][ C3] ret_from_fork+0x240/0x320 [ 13.281282][ C3] ret_from_fork_asm+0x1a/0x30 [ 13.281476][ C3] irq event stamp: 250914 [ 13.281622][ C3] hardirqs last enabled at (250914): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.282004][ C3] hardirqs last disabled at (250913): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 13.282383][ C3] softirqs last enabled at (250880): [] handle_softirqs+0x358/0x620 [ 13.282739][ C3] softirqs last disabled at (250887): [] __irq_exit_rcu+0xfa/0x160 [ 13.283072][ C3] [ 13.283072][ C3] other info that might help us debug this: [ 13.283350][ C3] Possible unsafe locking scenario: [ 13.283350][ C3] [ 13.283642][ C3] CPU0 [ 13.283797][ C3] ---- [ 13.283942][ C3] lock(pin_fs_lock); [ 13.284090][ C3] [ 13.284250][ C3] lock(pin_fs_lock); [ 13.284393][ C3] [ 13.284393][ C3] *** DEADLOCK *** [ 13.284393][ C3] [ 13.284690][ C3] 1 lock held by swapper/3/0: [ 13.284895][ C3] #0: ffffffff893774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 13.285245][ C3] [ 13.285245][ C3] stack backtrace: [ 13.285498][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 13.285502][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.285506][ C3] Call Trace: [ 13.285509][ C3] [ 13.285511][ C3] dump_stack_lvl+0x82/0xd0 [ 13.285520][ C3] print_usage_bug.part.0+0x25f/0x360 [ 13.285527][ C3] mark_lock_irq+0x343/0x400 [ 13.285532][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 13.285539][ C3] ? save_trace+0x52/0x170 [ 13.285543][ C3] mark_lock+0x174/0x2f0 [ 13.285547][ C3] mark_usage+0x46/0x150 [ 13.285551][ C3] __lock_acquire+0x20b/0x7e0 [ 13.285554][ C3] ? __lock_acquire+0x44d/0x7e0 [ 13.285559][ C3] lock_acquire.part.0+0xb6/0x240 [ 13.285563][ C3] ? simple_pin_fs+0x24/0x150 [ 13.285571][ C3] ? rcu_is_watching+0x12/0xc0 [ 13.285580][ C3] ? lock_acquire+0x10c/0x170 [ 13.285585][ C3] ? simple_pin_fs+0x24/0x150 [ 13.285591][ C3] _raw_spin_lock+0x33/0x40 [ 13.285596][ C3] ? simple_pin_fs+0x24/0x150 [ 13.285599][ C3] simple_pin_fs+0x24/0x150 [ 13.285602][ C3] debugfs_remove+0x35/0x70 [ 13.285608][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 13.285614][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.285617][ C3] ? __sk_destruct+0x383/0x780 [ 13.285623][ C3] ? rcu_do_batch+0x34c/0xf20 [ 13.285627][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.285630][ C3] ? irq_exit_rcu+0xe/0x30 [ 13.285635][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.285640][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.285645][ C3] ? pv_native_safe_halt+0xf/0x20 [ 13.285649][ C3] ? default_idle+0x9/0x10 [ 13.285652][ C3] ? default_idle_call+0x6d/0xb0 [ 13.285654][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 13.285659][ C3] ? do_idle+0xf6/0x160 [ 13.285662][ C3] ? cpu_startup_entry+0x54/0x60 [ 13.285664][ C3] ? start_secondary+0x213/0x2a0 [ 13.285669][ C3] ? common_startup_64+0x13e/0x148 [ 13.285677][ C3] __put_net+0x19/0x60 [ 13.285682][ C3] __sk_destruct+0x58a/0x780 [ 13.285687][ C3] ? rcu_do_batch+0x34a/0xf20 [ 13.285689][ C3] rcu_do_batch+0x34c/0xf20 [ 13.285693][ C3] ? find_held_lock+0x2b/0x80 [ 13.285697][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.285701][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.285705][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.285709][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.285714][ C3] rcu_core+0x2bb/0x500 [ 13.285721][ C3] handle_softirqs+0x218/0x620 [ 13.285730][ C3] __irq_exit_rcu+0xfa/0x160 [ 13.285737][ C3] irq_exit_rcu+0xe/0x30 [ 13.285744][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.285748][ C3] [ 13.285749][ C3] [ 13.285751][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.285754][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.285759][ C3] Code: a2 b4 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 17 0f 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 13.285762][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 13.285766][ C3] RAX: 000000000003d405 RBX: 1ffff9200002afc1 RCX: ffffffff883a25d9 [ 13.285768][ C3] RDX: 0000000000000000 RSI: ffffffff88e9175c RDI: ffffffff88653ca0 [ 13.285770][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 13.285772][ C3] R10: ffff8880361b37d3 R11: ffffffff89011288 R12: 0000000000000000 [ 13.285773][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 13.285777][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.285782][ C3] default_idle+0x9/0x10 [ 13.285784][ C3] default_idle_call+0x6d/0xb0 [ 13.285787][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 13.285790][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.285795][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 13.285800][ C3] do_idle+0xf6/0x160 [ 13.285804][ C3] cpu_startup_entry+0x54/0x60 [ 13.285807][ C3] start_secondary+0x213/0x2a0 [ 13.285810][ C3] ? __pfx_start_secondary+0x10/0x10 [ 13.285815][ C3] common_startup_64+0x13e/0x148 [ 13.285823][ C3] [ 13.301235][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 13.301539][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 13.301857][ C3] preempt_count: 101, expected: 0 [ 13.302043][ C3] RCU nest depth: 0, expected: 0 [ 13.302244][ C3] INFO: lockdep is turned off. [ 13.302421][ C3] Preemption disabled at: [ 13.302424][ C3] [<0000000000000000>] 0x0 [ 13.302740][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 13.302745][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.302747][ C3] Call Trace: [ 13.302750][ C3] [ 13.302752][ C3] dump_stack_lvl+0xb0/0xd0 [ 13.302760][ C3] __might_resched+0x360/0x5a0 [ 13.302771][ C3] down_write+0x72/0x210 [ 13.302775][ C3] ? __pfx_down_write+0x10/0x10 [ 13.302778][ C3] ? simple_recursive_removal+0x33/0x610 [ 13.302784][ C3] ? rcu_is_watching+0x12/0xc0 [ 13.302791][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 13.302795][ C3] simple_recursive_removal+0x6a/0x610 [ 13.302798][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 13.302801][ C3] ? __pfx_remove_one+0x10/0x10 [ 13.302806][ C3] debugfs_remove+0x44/0x70 [ 13.302809][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 13.302815][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.302817][ C3] ? __sk_destruct+0x383/0x780 [ 13.302823][ C3] ? rcu_do_batch+0x34c/0xf20 [ 13.302828][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.302831][ C3] ? irq_exit_rcu+0xe/0x30 [ 13.302837][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.302843][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.302847][ C3] ? pv_native_safe_halt+0xf/0x20 [ 13.302851][ C3] ? default_idle+0x9/0x10 [ 13.302853][ C3] ? default_idle_call+0x6d/0xb0 [ 13.302856][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 13.302861][ C3] ? do_idle+0xf6/0x160 [ 13.302863][ C3] ? cpu_startup_entry+0x54/0x60 [ 13.302866][ C3] ? start_secondary+0x213/0x2a0 [ 13.302871][ C3] ? common_startup_64+0x13e/0x148 [ 13.302880][ C3] __put_net+0x19/0x60 [ 13.302885][ C3] __sk_destruct+0x58a/0x780 [ 13.302889][ C3] ? rcu_do_batch+0x34a/0xf20 [ 13.302892][ C3] rcu_do_batch+0x34c/0xf20 [ 13.302895][ C3] ? find_held_lock+0x2b/0x80 [ 13.302900][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.302904][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.302909][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.302913][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.302918][ C3] rcu_core+0x2bb/0x500 [ 13.302926][ C3] handle_softirqs+0x218/0x620 [ 13.302932][ C3] __irq_exit_rcu+0xfa/0x160 [ 13.302936][ C3] irq_exit_rcu+0xe/0x30 [ 13.302939][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.302942][ C3] [ 13.302943][ C3] [ 13.302945][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.302948][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.302952][ C3] Code: a2 b4 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 17 0f 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 13.302954][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 13.302958][ C3] RAX: 000000000003d405 RBX: 1ffff9200002afc1 RCX: ffffffff883a25d9 [ 13.302960][ C3] RDX: 0000000000000000 RSI: ffffffff88e9175c RDI: ffffffff88653ca0 [ 13.302962][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 13.302963][ C3] R10: ffff8880361b37d3 R11: ffffffff89011288 R12: 0000000000000000 [ 13.302965][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 13.302969][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.302973][ C3] default_idle+0x9/0x10 [ 13.302976][ C3] default_idle_call+0x6d/0xb0 [ 13.302978][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 13.302982][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.302986][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 13.302991][ C3] do_idle+0xf6/0x160 [ 13.302994][ C3] cpu_startup_entry+0x54/0x60 [ 13.302998][ C3] start_secondary+0x213/0x2a0 [ 13.303001][ C3] ? __pfx_start_secondary+0x10/0x10 [ 13.303006][ C3] common_startup_64+0x13e/0x148 [ 13.303013][ C3] [ 16.474137][ T228] seq-ext_ipv4 (228) used greatest stack depth: 24288 bytes left