[ 16.365351][ C3] [ 16.365492][ C3] ================================ [ 16.365691][ C3] WARNING: inconsistent lock state [ 16.365894][ C3] 6.15.0-virtme #1 Not tainted [ 16.366098][ C3] -------------------------------- [ 16.366369][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.366655][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.366938][ C3] ffffffffa67c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 16.367354][ C3] {SOFTIRQ-ON-W} state was registered at: [ 16.367588][ C3] __lock_acquire+0x20b/0x7e0 [ 16.367828][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.368056][ C3] _raw_spin_lock+0x33/0x40 [ 16.368287][ C3] simple_pin_fs+0x24/0x150 [ 16.368523][ C3] start_creating.part.0+0x52/0x310 [ 16.368757][ C3] debugfs_create_dir+0x6a/0x540 [ 16.368993][ C3] component_debug_init+0x17/0x30 [ 16.369230][ C3] do_one_initcall+0x8f/0x1e0 [ 16.369469][ C3] do_initcalls+0x176/0x280 [ 16.369705][ C3] kernel_init_freeable+0x22d/0x300 [ 16.369936][ C3] kernel_init+0x20/0x200 [ 16.370171][ C3] ret_from_fork+0x240/0x320 [ 16.370404][ C3] ret_from_fork_asm+0x1a/0x30 [ 16.370644][ C3] irq event stamp: 295274 [ 16.370832][ C3] hardirqs last enabled at (295274): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.371299][ C3] hardirqs last disabled at (295273): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.371763][ C3] softirqs last enabled at (294944): [] handle_softirqs+0x358/0x620 [ 16.372183][ C3] softirqs last disabled at (294951): [] __irq_exit_rcu+0xfa/0x160 [ 16.372598][ C3] [ 16.372598][ C3] other info that might help us debug this: [ 16.372945][ C3] Possible unsafe locking scenario: [ 16.372945][ C3] [ 16.373294][ C3] CPU0 [ 16.373474][ C3] ---- [ 16.373647][ C3] lock(pin_fs_lock); [ 16.373827][ C3] [ 16.374003][ C3] lock(pin_fs_lock); [ 16.374184][ C3] [ 16.374184][ C3] *** DEADLOCK *** [ 16.374184][ C3] [ 16.374534][ C3] 1 lock held by swapper/3/0: [ 16.374778][ C3] #0: ffffffffa65774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.375205][ C3] [ 16.375205][ C3] stack backtrace: [ 16.375495][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.375500][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.375502][ C3] Call Trace: [ 16.375504][ C3] [ 16.375507][ C3] dump_stack_lvl+0x82/0xd0 [ 16.375515][ C3] print_usage_bug.part.0+0x25f/0x360 [ 16.375520][ C3] mark_lock_irq+0x343/0x400 [ 16.375524][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 16.375529][ C3] ? save_trace+0x52/0x170 [ 16.375536][ C3] mark_lock+0x174/0x2f0 [ 16.375540][ C3] mark_usage+0x46/0x150 [ 16.375543][ C3] __lock_acquire+0x20b/0x7e0 [ 16.375546][ C3] ? __lock_acquire+0x44d/0x7e0 [ 16.375550][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.375553][ C3] ? simple_pin_fs+0x24/0x150 [ 16.375557][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.375562][ C3] ? lock_acquire+0x10c/0x170 [ 16.375565][ C3] ? simple_pin_fs+0x24/0x150 [ 16.375569][ C3] _raw_spin_lock+0x33/0x40 [ 16.375573][ C3] ? simple_pin_fs+0x24/0x150 [ 16.375577][ C3] simple_pin_fs+0x24/0x150 [ 16.375583][ C3] debugfs_remove+0x35/0x70 [ 16.375588][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.375599][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.375604][ C3] ? __sk_destruct+0x383/0x780 [ 16.375612][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.375615][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.375618][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.375621][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.375628][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.375632][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.375635][ C3] ? default_idle+0x9/0x10 [ 16.375638][ C3] ? default_idle_call+0x6d/0xb0 [ 16.375640][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.375644][ C3] ? do_idle+0xf6/0x160 [ 16.375646][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.375649][ C3] ? start_secondary+0x213/0x2a0 [ 16.375651][ C3] ? common_startup_64+0x13e/0x148 [ 16.375659][ C3] __put_net+0x19/0x60 [ 16.375665][ C3] __sk_destruct+0x58a/0x780 [ 16.375668][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.375671][ C3] rcu_do_batch+0x34c/0xf20 [ 16.375674][ C3] ? find_held_lock+0x2b/0x80 [ 16.375678][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.375682][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.375685][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.375688][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.375693][ C3] rcu_core+0x2bb/0x500 [ 16.375699][ C3] handle_softirqs+0x218/0x620 [ 16.375704][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.375707][ C3] irq_exit_rcu+0xe/0x30 [ 16.375710][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.375713][ C3] [ 16.375714][ C3] [ 16.375716][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.375719][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.375723][ 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 [ 16.375726][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 16.375729][ C3] RAX: 0000000000048025 RBX: 1ffff9200002afc1 RCX: ffffffffa558f5d9 [ 16.375731][ C3] RDX: 0000000000000000 RSI: ffffffffa608f4e4 RDI: ffffffffa5853be0 [ 16.375733][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 16.375735][ C3] R10: ffff8880361b37d3 R11: ffffffffa6211288 R12: 0000000000000000 [ 16.375737][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.375740][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.375745][ C3] default_idle+0x9/0x10 [ 16.375748][ C3] default_idle_call+0x6d/0xb0 [ 16.375750][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.375753][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.375757][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.375761][ C3] do_idle+0xf6/0x160 [ 16.375765][ C3] cpu_startup_entry+0x54/0x60 [ 16.375768][ C3] start_secondary+0x213/0x2a0 [ 16.375770][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.375775][ C3] common_startup_64+0x13e/0x148 [ 16.375782][ C3] [ 16.394505][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.394899][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 16.395287][ C3] preempt_count: 101, expected: 0 [ 16.395507][ C3] RCU nest depth: 0, expected: 0 [ 16.395730][ C3] INFO: lockdep is turned off. [ 16.395959][ C3] Preemption disabled at: [ 16.395961][ C3] [<0000000000000000>] 0x0 [ 16.396363][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.396368][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.396369][ C3] Call Trace: [ 16.396371][ C3] [ 16.396373][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.396382][ C3] __might_resched+0x360/0x5a0 [ 16.396390][ C3] down_write+0x72/0x210 [ 16.396395][ C3] ? __pfx_down_write+0x10/0x10 [ 16.396398][ C3] ? simple_recursive_removal+0x33/0x610 [ 16.396402][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.396407][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.396413][ C3] simple_recursive_removal+0x6a/0x610 [ 16.396416][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.396419][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.396424][ C3] debugfs_remove+0x44/0x70 [ 16.396427][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.396433][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.396437][ C3] ? __sk_destruct+0x383/0x780 [ 16.396442][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.396445][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.396448][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.396453][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.396458][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.396462][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.396465][ C3] ? default_idle+0x9/0x10 [ 16.396468][ C3] ? default_idle_call+0x6d/0xb0 [ 16.396470][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.396474][ C3] ? do_idle+0xf6/0x160 [ 16.396477][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.396479][ C3] ? start_secondary+0x213/0x2a0 [ 16.396483][ C3] ? common_startup_64+0x13e/0x148 [ 16.396490][ C3] __put_net+0x19/0x60 [ 16.396494][ C3] __sk_destruct+0x58a/0x780 [ 16.396498][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.396500][ C3] rcu_do_batch+0x34c/0xf20 [ 16.396504][ C3] ? find_held_lock+0x2b/0x80 [ 16.396510][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.396513][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.396517][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.396520][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.396525][ C3] rcu_core+0x2bb/0x500 [ 16.396529][ C3] handle_softirqs+0x218/0x620 [ 16.396535][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.396538][ C3] irq_exit_rcu+0xe/0x30 [ 16.396540][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.396544][ C3] [ 16.396545][ C3] [ 16.396546][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.396549][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.396553][ 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 [ 16.396556][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 16.396559][ C3] RAX: 0000000000048025 RBX: 1ffff9200002afc1 RCX: ffffffffa558f5d9 [ 16.396561][ C3] RDX: 0000000000000000 RSI: ffffffffa608f4e4 RDI: ffffffffa5853be0 [ 16.396563][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 16.396565][ C3] R10: ffff8880361b37d3 R11: ffffffffa6211288 R12: 0000000000000000 [ 16.396566][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.396570][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.396575][ C3] default_idle+0x9/0x10 [ 16.396577][ C3] default_idle_call+0x6d/0xb0 [ 16.396580][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.396583][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.396587][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.396591][ C3] do_idle+0xf6/0x160 [ 16.396595][ C3] cpu_startup_entry+0x54/0x60 [ 16.396598][ C3] start_secondary+0x213/0x2a0 [ 16.396600][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.396605][ C3] common_startup_64+0x13e/0x148 [ 16.396612][ C3] [ 18.803893][ T258] packetdrill (258) used greatest stack depth: 24584 bytes left [ 18.816655][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 18.817098][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 18.817471][ C2] preempt_count: 101, expected: 0 [ 18.817692][ C2] RCU nest depth: 0, expected: 0 [ 18.817899][ C2] INFO: lockdep is turned off. [ 18.818106][ C2] Preemption disabled at: [ 18.818108][ C2] [<0000000000000000>] 0x0 [ 18.818480][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 18.818487][ C2] Tainted: [W]=WARN [ 18.818488][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.818490][ C2] Call Trace: [ 18.818493][ C2] [ 18.818496][ C2] dump_stack_lvl+0xb0/0xd0 [ 18.818508][ C2] __might_resched+0x360/0x5a0 [ 18.818517][ C2] down_write+0x72/0x210 [ 18.818523][ C2] ? __pfx_down_write+0x10/0x10 [ 18.818526][ C2] ? simple_recursive_removal+0x33/0x610 [ 18.818531][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.818537][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 18.818544][ C2] simple_recursive_removal+0x6a/0x610 [ 18.818547][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 18.818551][ C2] ? __pfx_remove_one+0x10/0x10 [ 18.818557][ C2] debugfs_remove+0x44/0x70 [ 18.818561][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 18.818569][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.818572][ C2] ? __sk_destruct+0x383/0x780 [ 18.818581][ C2] ? rcu_do_batch+0x34c/0xf20 [ 18.818584][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.818588][ C2] ? irq_exit_rcu+0xe/0x30 [ 18.818594][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.818600][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.818605][ C2] ? pv_native_safe_halt+0xf/0x20 [ 18.818608][ C2] ? default_idle+0x9/0x10 [ 18.818611][ C2] ? default_idle_call+0x6d/0xb0 [ 18.818614][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.818618][ C2] ? do_idle+0xf6/0x160 [ 18.818621][ C2] ? cpu_startup_entry+0x54/0x60 [ 18.818624][ C2] ? start_secondary+0x213/0x2a0 [ 18.818628][ C2] ? common_startup_64+0x13e/0x148 [ 18.818635][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 18.818640][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.818645][ C2] __put_net+0x19/0x60 [ 18.818649][ C2] __sk_destruct+0x58a/0x780 [ 18.818653][ C2] ? rcu_do_batch+0x34a/0xf20 [ 18.818656][ C2] rcu_do_batch+0x34c/0xf20 [ 18.818661][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.818664][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 18.818672][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 18.818678][ C2] rcu_core+0x2bb/0x500 [ 18.818684][ C2] handle_softirqs+0x218/0x620 [ 18.818689][ C2] __irq_exit_rcu+0xfa/0x160 [ 18.818692][ C2] irq_exit_rcu+0xe/0x30 [ 18.818695][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.818699][ C2] [ 18.818700][ C2] [ 18.818702][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.818705][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 18.818709][ 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 [ 18.818712][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 18.818716][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffffa558f5d9 [ 18.818719][ C2] RDX: ffffed1006c266fb RSI: ffffffffa5853b60 RDI: ffffffffa2d8d18f [ 18.818721][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 18.818722][ C2] R10: ffff8880361337d3 R11: ffff888001ee2818 R12: 0000000000000000 [ 18.818724][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 18.818728][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 18.818731][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.818735][ C2] default_idle+0x9/0x10 [ 18.818738][ C2] default_idle_call+0x6d/0xb0 [ 18.818740][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 18.818743][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 18.818747][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 18.818752][ C2] do_idle+0xf6/0x160 [ 18.818755][ C2] cpu_startup_entry+0x54/0x60 [ 18.818758][ C2] start_secondary+0x213/0x2a0 [ 18.818761][ C2] ? __pfx_start_secondary+0x10/0x10 [ 18.818765][ C2] common_startup_64+0x13e/0x148 [ 18.818772][ C2]