[ 13.050477][ C2] [ 13.050626][ C2] ================================ [ 13.050807][ C2] WARNING: inconsistent lock state [ 13.051007][ C2] 6.15.0-rc5-virtme #1 Not tainted [ 13.051191][ C2] -------------------------------- [ 13.051363][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 13.051583][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 13.051802][ C2] ffffffffa21bf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 13.052120][ C2] {SOFTIRQ-ON-W} state was registered at: [ 13.052303][ C2] __lock_acquire+0x3eb/0x9d0 [ 13.052487][ C2] lock_acquire.part.0+0xb6/0x240 [ 13.052663][ C2] _raw_spin_lock+0x33/0x40 [ 13.052843][ C2] simple_pin_fs+0x24/0x150 [ 13.053019][ C2] start_creating.part.0+0x3f/0x2f0 [ 13.053209][ C2] debugfs_create_dir+0x6a/0x540 [ 13.053402][ C2] component_debug_init+0x17/0x30 [ 13.053601][ C2] do_one_initcall+0x8c/0x1e0 [ 13.053808][ C2] do_initcalls+0x176/0x280 [ 13.054003][ C2] kernel_init_freeable+0x22d/0x300 [ 13.054195][ C2] kernel_init+0x20/0x200 [ 13.054388][ C2] ret_from_fork+0x31/0x70 [ 13.054583][ C2] ret_from_fork_asm+0x1a/0x30 [ 13.054769][ C2] irq event stamp: 270394 [ 13.054914][ C2] hardirqs last enabled at (270394): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.055292][ C2] hardirqs last disabled at (270393): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 13.055666][ C2] softirqs last enabled at (269984): [] handle_softirqs+0x358/0x620 [ 13.055982][ C2] softirqs last disabled at (270009): [] __irq_exit_rcu+0xfa/0x160 [ 13.056290][ C2] [ 13.056290][ C2] other info that might help us debug this: [ 13.056553][ C2] Possible unsafe locking scenario: [ 13.056553][ C2] [ 13.056815][ C2] CPU0 [ 13.056948][ C2] ---- [ 13.057083][ C2] lock(pin_fs_lock); [ 13.057233][ C2] [ 13.057370][ C2] lock(pin_fs_lock); [ 13.057506][ C2] [ 13.057506][ C2] *** DEADLOCK *** [ 13.057506][ C2] [ 13.057801][ C2] 1 lock held by swapper/2/0: [ 13.057980][ C2] #0: ffffffffa1f74480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 13.058303][ C2] [ 13.058303][ C2] stack backtrace: [ 13.058525][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 13.058530][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.058533][ C2] Call Trace: [ 13.058534][ C2] [ 13.058536][ C2] dump_stack_lvl+0x82/0xd0 [ 13.058542][ C2] print_usage_bug.part.0+0x25f/0x360 [ 13.058546][ C2] mark_lock_irq+0x343/0x400 [ 13.058550][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 13.058554][ C2] ? save_trace+0x52/0x170 [ 13.058559][ C2] mark_lock+0x174/0x2f0 [ 13.058563][ C2] mark_usage+0x46/0x150 [ 13.058565][ C2] __lock_acquire+0x3eb/0x9d0 [ 13.058570][ C2] lock_acquire.part.0+0xb6/0x240 [ 13.058572][ C2] ? simple_pin_fs+0x24/0x150 [ 13.058576][ C2] ? rcu_is_watching+0x12/0xc0 [ 13.058579][ C2] ? lock_acquire+0x10c/0x170 [ 13.058581][ C2] ? simple_pin_fs+0x24/0x150 [ 13.058585][ C2] _raw_spin_lock+0x33/0x40 [ 13.058588][ C2] ? simple_pin_fs+0x24/0x150 [ 13.058590][ C2] simple_pin_fs+0x24/0x150 [ 13.058593][ C2] debugfs_remove+0x35/0x70 [ 13.058596][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 13.058602][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.058605][ C2] ? __sk_destruct+0x383/0x780 [ 13.058610][ C2] ? rcu_do_batch+0x34c/0xf20 [ 13.058613][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.058616][ C2] ? irq_exit_rcu+0xe/0x30 [ 13.058619][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.058622][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.058626][ C2] ? pv_native_safe_halt+0xf/0x20 [ 13.058629][ C2] ? default_idle+0x9/0x10 [ 13.058633][ C2] ? default_idle_call+0x6d/0xb0 [ 13.058635][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 13.058638][ C2] ? do_idle+0xf6/0x160 [ 13.058640][ C2] ? cpu_startup_entry+0x54/0x60 [ 13.058642][ C2] ? start_secondary+0x213/0x2a0 [ 13.058644][ C2] ? common_startup_64+0x13e/0x148 [ 13.058651][ C2] __put_net+0x19/0x60 [ 13.058654][ C2] __sk_destruct+0x58a/0x780 [ 13.058658][ C2] ? rcu_do_batch+0x34a/0xf20 [ 13.058661][ C2] rcu_do_batch+0x34c/0xf20 [ 13.058665][ C2] ? find_held_lock+0x2b/0x80 [ 13.058669][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.058673][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.058676][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.058680][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.058684][ C2] rcu_core+0x2bb/0x500 [ 13.058688][ C2] handle_softirqs+0x218/0x620 [ 13.058692][ C2] __irq_exit_rcu+0xfa/0x160 [ 13.058695][ C2] irq_exit_rcu+0xe/0x30 [ 13.058697][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.058701][ C2] [ 13.058702][ C2] [ 13.058703][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.058706][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.058710][ C2] 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 [ 13.058713][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 13.058716][ C2] RAX: 0000000000041eb7 RBX: 1ffff92000028fc1 RCX: ffffffffa0f68a19 [ 13.058718][ C2] RDX: 0000000000000000 RSI: ffffffffa1a881e1 RDI: ffffffffa1250e20 [ 13.058720][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2667a [ 13.058722][ C2] R10: ffff8880361333d3 R11: 0000000000000000 R12: 0000000000000000 [ 13.058723][ C2] R13: ffff888001bb2340 R14: dffffc0000000000 R15: 0000000000000000 [ 13.058727][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.058732][ C2] default_idle+0x9/0x10 [ 13.058735][ C2] default_idle_call+0x6d/0xb0 [ 13.058738][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 13.058740][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.058744][ C2] ? tsc_verify_tsc_adjust+0x98/0x300 [ 13.058748][ C2] do_idle+0xf6/0x160 [ 13.058751][ C2] cpu_startup_entry+0x54/0x60 [ 13.058754][ C2] start_secondary+0x213/0x2a0 [ 13.058756][ C2] ? __pfx_start_secondary+0x10/0x10 [ 13.058760][ C2] common_startup_64+0x13e/0x148 [ 13.058767][ C2] [ 13.075669][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 13.075981][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 13.076282][ C2] preempt_count: 101, expected: 0 [ 13.076464][ C2] RCU nest depth: 0, expected: 0 [ 13.076643][ C2] INFO: lockdep is turned off. [ 13.076826][ C2] Preemption disabled at: [ 13.076828][ C2] [<0000000000000000>] 0x0 [ 13.077157][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 13.077161][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.077163][ C2] Call Trace: [ 13.077165][ C2] [ 13.077167][ C2] dump_stack_lvl+0xb0/0xd0 [ 13.077175][ C2] __might_resched+0x360/0x5a0 [ 13.077195][ C2] down_write+0x72/0x210 [ 13.077198][ C2] ? __pfx_down_write+0x10/0x10 [ 13.077201][ C2] ? simple_recursive_removal+0x3a/0x860 [ 13.077205][ C2] ? rcu_is_watching+0x12/0xc0 [ 13.077209][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 13.077214][ C2] simple_recursive_removal+0x166/0x860 [ 13.077217][ C2] ? __pfx_remove_one+0x10/0x10 [ 13.077222][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 13.077227][ C2] debugfs_remove+0x44/0x70 [ 13.077230][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 13.077235][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.077239][ C2] ? __sk_destruct+0x383/0x780 [ 13.077244][ C2] ? rcu_do_batch+0x34c/0xf20 [ 13.077248][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.077252][ C2] ? irq_exit_rcu+0xe/0x30 [ 13.077256][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.077261][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.077265][ C2] ? pv_native_safe_halt+0xf/0x20 [ 13.077268][ C2] ? default_idle+0x9/0x10 [ 13.077272][ C2] ? default_idle_call+0x6d/0xb0 [ 13.077274][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 13.077277][ C2] ? do_idle+0xf6/0x160 [ 13.077279][ C2] ? cpu_startup_entry+0x54/0x60 [ 13.077281][ C2] ? start_secondary+0x213/0x2a0 [ 13.077284][ C2] ? common_startup_64+0x13e/0x148 [ 13.077291][ C2] __put_net+0x19/0x60 [ 13.077294][ C2] __sk_destruct+0x58a/0x780 [ 13.077298][ C2] ? rcu_do_batch+0x34a/0xf20 [ 13.077301][ C2] rcu_do_batch+0x34c/0xf20 [ 13.077305][ C2] ? find_held_lock+0x2b/0x80 [ 13.077310][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.077314][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.077319][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.077322][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.077327][ C2] rcu_core+0x2bb/0x500 [ 13.077330][ C2] handle_softirqs+0x218/0x620 [ 13.077335][ C2] __irq_exit_rcu+0xfa/0x160 [ 13.077338][ C2] irq_exit_rcu+0xe/0x30 [ 13.077340][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.077343][ C2] [ 13.077344][ C2] [ 13.077346][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.077349][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.077353][ C2] 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 [ 13.077356][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 13.077359][ C2] RAX: 0000000000041eb7 RBX: 1ffff92000028fc1 RCX: ffffffffa0f68a19 [ 13.077362][ C2] RDX: 0000000000000000 RSI: ffffffffa1a881e1 RDI: ffffffffa1250e20 [ 13.077364][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2667a [ 13.077365][ C2] R10: ffff8880361333d3 R11: 0000000000000000 R12: 0000000000000000 [ 13.077367][ C2] R13: ffff888001bb2340 R14: dffffc0000000000 R15: 0000000000000000 [ 13.077371][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.077376][ C2] default_idle+0x9/0x10 [ 13.077379][ C2] default_idle_call+0x6d/0xb0 [ 13.077381][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 13.077384][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.077387][ C2] ? tsc_verify_tsc_adjust+0x98/0x300 [ 13.077392][ C2] do_idle+0xf6/0x160 [ 13.077395][ C2] cpu_startup_entry+0x54/0x60 [ 13.077397][ C2] start_secondary+0x213/0x2a0 [ 13.077400][ C2] ? __pfx_start_secondary+0x10/0x10 [ 13.077404][ C2] common_startup_64+0x13e/0x148 [ 13.077411][ C2] [ 13.532541][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 14.566332][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 14.567715][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 15.590308][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 15.591749][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 16.614297][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 16.615660][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 17.638300][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 17.639637][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 18.662274][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 18.663582][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 19.686357][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK