[ 12.653935][ C0] [ 12.654172][ C0] ================================ [ 12.654377][ C0] WARNING: inconsistent lock state [ 12.654582][ C0] 6.15.0-rc5-virtme #1 Not tainted [ 12.654781][ C0] -------------------------------- [ 12.654980][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 12.655231][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 12.655484][ C0] ffffffffb99bf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 12.655843][ C0] {SOFTIRQ-ON-W} state was registered at: [ 12.656044][ C0] __lock_acquire+0x3eb/0x9d0 [ 12.656253][ C0] lock_acquire.part.0+0xb6/0x240 [ 12.656458][ C0] _raw_spin_lock+0x33/0x40 [ 12.656666][ C0] simple_pin_fs+0x24/0x150 [ 12.656868][ C0] start_creating.part.0+0x3f/0x2f0 [ 12.657073][ C0] debugfs_create_dir+0x6a/0x540 [ 12.657272][ C0] component_debug_init+0x17/0x30 [ 12.657477][ C0] do_one_initcall+0x8c/0x1e0 [ 12.657684][ C0] do_initcalls+0x176/0x280 [ 12.657890][ C0] kernel_init_freeable+0x22d/0x300 [ 12.658091][ C0] kernel_init+0x20/0x200 [ 12.658291][ C0] ret_from_fork+0x31/0x70 [ 12.658496][ C0] ret_from_fork_asm+0x1a/0x30 [ 12.658704][ C0] irq event stamp: 397108 [ 12.658855][ C0] hardirqs last enabled at (397108): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.659245][ C0] hardirqs last disabled at (397107): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 12.659644][ C0] softirqs last enabled at (396924): [] handle_softirqs+0x358/0x620 [ 12.659997][ C0] softirqs last disabled at (396943): [] __irq_exit_rcu+0xfa/0x160 [ 12.660338][ C0] [ 12.660338][ C0] other info that might help us debug this: [ 12.660634][ C0] Possible unsafe locking scenario: [ 12.660634][ C0] [ 12.660926][ C0] CPU0 [ 12.661074][ C0] ---- [ 12.661225][ C0] lock(pin_fs_lock); [ 12.661389][ C0] [ 12.661539][ C0] lock(pin_fs_lock); [ 12.661690][ C0] [ 12.661690][ C0] *** DEADLOCK *** [ 12.661690][ C0] [ 12.661998][ C0] 1 lock held by swapper/0/0: [ 12.662204][ C0] #0: ffffffffb9774480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 12.662571][ C0] [ 12.662571][ C0] stack backtrace: [ 12.662816][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 12.662821][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.662823][ C0] Call Trace: [ 12.662825][ C0] [ 12.662826][ C0] dump_stack_lvl+0x82/0xd0 [ 12.662832][ C0] print_usage_bug.part.0+0x25f/0x360 [ 12.662836][ C0] mark_lock_irq+0x343/0x400 [ 12.662839][ C0] ? is_bpf_text_address+0x67/0x120 [ 12.662842][ C0] ? __lock_release+0x5d/0x170 [ 12.662846][ C0] ? save_trace+0x52/0x170 [ 12.662851][ C0] mark_lock+0x174/0x2f0 [ 12.662854][ C0] mark_usage+0x46/0x150 [ 12.662857][ C0] __lock_acquire+0x3eb/0x9d0 [ 12.662862][ C0] lock_acquire.part.0+0xb6/0x240 [ 12.662864][ C0] ? simple_pin_fs+0x24/0x150 [ 12.662867][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.662871][ C0] ? lock_acquire+0x10c/0x170 [ 12.662873][ C0] ? simple_pin_fs+0x24/0x150 [ 12.662876][ C0] _raw_spin_lock+0x33/0x40 [ 12.662879][ C0] ? simple_pin_fs+0x24/0x150 [ 12.662881][ C0] simple_pin_fs+0x24/0x150 [ 12.662884][ C0] debugfs_remove+0x35/0x70 [ 12.662887][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 12.662893][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.662896][ C0] ? __sk_destruct+0x383/0x780 [ 12.662901][ C0] ? rcu_do_batch+0x34c/0xf20 [ 12.662904][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.662908][ C0] ? irq_exit_rcu+0xe/0x30 [ 12.662910][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.662914][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.662917][ C0] ? pv_native_safe_halt+0xf/0x20 [ 12.662920][ C0] ? default_idle+0x9/0x10 [ 12.662923][ C0] ? default_idle_call+0x6d/0xb0 [ 12.662925][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 12.662928][ C0] ? do_idle+0xf6/0x160 [ 12.662930][ C0] ? cpu_startup_entry+0x54/0x60 [ 12.662932][ C0] ? rest_init+0x14b/0x260 [ 12.662935][ C0] ? start_kernel+0x350/0x410 [ 12.662940][ C0] __put_net+0x19/0x60 [ 12.662944][ C0] __sk_destruct+0x58a/0x780 [ 12.662947][ C0] ? rcu_do_batch+0x34a/0xf20 [ 12.662951][ C0] rcu_do_batch+0x34c/0xf20 [ 12.662955][ C0] ? find_held_lock+0x2b/0x80 [ 12.662959][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.662963][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.662966][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.662969][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 12.662974][ C0] rcu_core+0x2bb/0x500 [ 12.662977][ C0] handle_softirqs+0x218/0x620 [ 12.662982][ C0] __irq_exit_rcu+0xfa/0x160 [ 12.662985][ C0] irq_exit_rcu+0xe/0x30 [ 12.662987][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.662990][ C0] [ 12.662991][ C0] [ 12.662993][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.662995][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 12.662999][ C0] Code: a0 b7 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 a3 a0 12 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 12.663002][ C0] RSP: 0018:ffffffffb9407df8 EFLAGS: 00000246 [ 12.663005][ C0] RAX: 0000000000060e8d RBX: 1ffffffff7280fc3 RCX: ffffffffb8768a19 [ 12.663007][ C0] RDX: 0000000000000000 RSI: ffffffffb92881e1 RDI: ffffffffb8a50e20 [ 12.663009][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c0667a [ 12.663011][ C0] R10: ffff8880360333d3 R11: 0000000000000000 R12: 0000000000000000 [ 12.663013][ C0] R13: ffffffffb941f240 R14: dffffc0000000000 R15: 0000000000014770 [ 12.663017][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 12.663022][ C0] default_idle+0x9/0x10 [ 12.663025][ C0] default_idle_call+0x6d/0xb0 [ 12.663027][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 12.663030][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 12.663033][ C0] ? tsc_verify_tsc_adjust+0x98/0x300 [ 12.663038][ C0] do_idle+0xf6/0x160 [ 12.663041][ C0] cpu_startup_entry+0x54/0x60 [ 12.663043][ C0] rest_init+0x14b/0x260 [ 12.663046][ C0] start_kernel+0x350/0x410 [ 12.663050][ C0] x86_64_start_reservations+0x18/0x30 [ 12.663054][ C0] x86_64_start_kernel+0xba/0x110 [ 12.663058][ C0] common_startup_64+0x13e/0x148 [ 12.663065][ C0] [ 12.679624][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 12.679968][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 12.680301][ C0] preempt_count: 101, expected: 0 [ 12.680495][ C0] RCU nest depth: 0, expected: 0 [ 12.680690][ C0] INFO: lockdep is turned off. [ 12.680885][ C0] Preemption disabled at: [ 12.680886][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 12.681329][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 12.681333][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.681334][ C0] Call Trace: [ 12.681336][ C0] [ 12.681337][ C0] dump_stack_lvl+0xb0/0xd0 [ 12.681342][ C0] __might_resched+0x360/0x5a0 [ 12.681349][ C0] down_write+0x72/0x210 [ 12.681352][ C0] ? __pfx_down_write+0x10/0x10 [ 12.681354][ C0] ? simple_recursive_removal+0x3a/0x860 [ 12.681358][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.681362][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 12.681367][ C0] simple_recursive_removal+0x166/0x860 [ 12.681377][ C0] ? __pfx_remove_one+0x10/0x10 [ 12.681381][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 12.681386][ C0] debugfs_remove+0x44/0x70 [ 12.681389][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 12.681394][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.681397][ C0] ? __sk_destruct+0x383/0x780 [ 12.681401][ C0] ? rcu_do_batch+0x34c/0xf20 [ 12.681406][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.681409][ C0] ? irq_exit_rcu+0xe/0x30 [ 12.681412][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.681416][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.681419][ C0] ? pv_native_safe_halt+0xf/0x20 [ 12.681422][ C0] ? default_idle+0x9/0x10 [ 12.681425][ C0] ? default_idle_call+0x6d/0xb0 [ 12.681427][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 12.681430][ C0] ? do_idle+0xf6/0x160 [ 12.681432][ C0] ? cpu_startup_entry+0x54/0x60 [ 12.681434][ C0] ? rest_init+0x14b/0x260 [ 12.681436][ C0] ? start_kernel+0x350/0x410 [ 12.681442][ C0] __put_net+0x19/0x60 [ 12.681445][ C0] __sk_destruct+0x58a/0x780 [ 12.681449][ C0] ? rcu_do_batch+0x34a/0xf20 [ 12.681452][ C0] rcu_do_batch+0x34c/0xf20 [ 12.681456][ C0] ? find_held_lock+0x2b/0x80 [ 12.681460][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.681464][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.681468][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.681471][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 12.681476][ C0] rcu_core+0x2bb/0x500 [ 12.681479][ C0] handle_softirqs+0x218/0x620 [ 12.681484][ C0] __irq_exit_rcu+0xfa/0x160 [ 12.681486][ C0] irq_exit_rcu+0xe/0x30 [ 12.681489][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.681492][ C0] [ 12.681493][ C0] [ 12.681495][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.681497][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 12.681501][ C0] Code: a0 b7 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 a3 a0 12 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 12.681503][ C0] RSP: 0018:ffffffffb9407df8 EFLAGS: 00000246 [ 12.681506][ C0] RAX: 0000000000060e8d RBX: 1ffffffff7280fc3 RCX: ffffffffb8768a19 [ 12.681508][ C0] RDX: 0000000000000000 RSI: ffffffffb92881e1 RDI: ffffffffb8a50e20 [ 12.681510][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c0667a [ 12.681511][ C0] R10: ffff8880360333d3 R11: 0000000000000000 R12: 0000000000000000 [ 12.681513][ C0] R13: ffffffffb941f240 R14: dffffc0000000000 R15: 0000000000014770 [ 12.681517][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 12.681522][ C0] default_idle+0x9/0x10 [ 12.681525][ C0] default_idle_call+0x6d/0xb0 [ 12.681527][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 12.681530][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 12.681533][ C0] ? tsc_verify_tsc_adjust+0x98/0x300 [ 12.681537][ C0] do_idle+0xf6/0x160 [ 12.681541][ C0] cpu_startup_entry+0x54/0x60 [ 12.681543][ C0] rest_init+0x14b/0x260 [ 12.681546][ C0] start_kernel+0x350/0x410 [ 12.681550][ C0] x86_64_start_reservations+0x18/0x30 [ 12.681554][ C0] x86_64_start_kernel+0xba/0x110 [ 12.681558][ C0] common_startup_64+0x13e/0x148 [ 12.681565][ C0] [ 14.799770][ T227] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 14.801000][ T227] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 14.801991][ T227] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 14.803070][ T227] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 14.803849][ T227] TCP: AO key ifindex 200 != sk bound ifindex 3