[ 14.640514][ C1] [ 14.640702][ C1] ================================ [ 14.640876][ C1] WARNING: inconsistent lock state [ 14.641054][ C1] 6.15.0-virtme #1 Not tainted [ 14.641226][ C1] -------------------------------- [ 14.641395][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.641614][ C1] ksoftirqd/1/22 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.641831][ C1] ffffffff97fc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.642141][ C1] {SOFTIRQ-ON-W} state was registered at: [ 14.642310][ C1] __lock_acquire+0x20b/0x7e0 [ 14.642484][ C1] lock_acquire.part.0+0xb6/0x240 [ 14.642658][ C1] _raw_spin_lock+0x33/0x40 [ 14.642836][ C1] simple_pin_fs+0x24/0x150 [ 14.643008][ C1] start_creating.part.0+0x52/0x310 [ 14.643181][ C1] debugfs_create_dir+0x6a/0x540 [ 14.643351][ C1] component_debug_init+0x17/0x30 [ 14.643526][ C1] do_one_initcall+0x8f/0x1e0 [ 14.643700][ C1] do_initcalls+0x176/0x280 [ 14.643875][ C1] kernel_init_freeable+0x22d/0x300 [ 14.644047][ C1] kernel_init+0x20/0x200 [ 14.644222][ C1] ret_from_fork+0x240/0x320 [ 14.644393][ C1] ret_from_fork_asm+0x1a/0x30 [ 14.644564][ C1] irq event stamp: 257704 [ 14.644696][ C1] hardirqs last enabled at (257704): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.645032][ C1] hardirqs last disabled at (257703): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.645374][ C1] softirqs last enabled at (256892): [] handle_softirqs+0x358/0x620 [ 14.645674][ C1] softirqs last disabled at (256895): [] run_ksoftirqd+0x3f/0x70 [ 14.645974][ C1] [ 14.645974][ C1] other info that might help us debug this: [ 14.646229][ C1] Possible unsafe locking scenario: [ 14.646229][ C1] [ 14.646481][ C1] CPU0 [ 14.646608][ C1] ---- [ 14.646737][ C1] lock(pin_fs_lock); [ 14.646868][ C1] [ 14.646998][ C1] lock(pin_fs_lock); [ 14.647128][ C1] [ 14.647128][ C1] *** DEADLOCK *** [ 14.647128][ C1] [ 14.647379][ C1] 1 lock held by ksoftirqd/1/22: [ 14.647552][ C1] #0: ffffffff97d774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.647861][ C1] [ 14.647861][ C1] stack backtrace: [ 14.648076][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.648081][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.648084][ C1] Call Trace: [ 14.648086][ C1] [ 14.648088][ C1] dump_stack_lvl+0x82/0xd0 [ 14.648094][ C1] print_usage_bug.part.0+0x25f/0x360 [ 14.648099][ C1] mark_lock_irq+0x343/0x400 [ 14.648103][ C1] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.648108][ C1] ? save_trace+0x52/0x170 [ 14.648114][ C1] mark_lock+0x174/0x2f0 [ 14.648117][ C1] mark_usage+0x46/0x150 [ 14.648120][ C1] __lock_acquire+0x20b/0x7e0 [ 14.648124][ C1] ? __lock_acquire+0x44d/0x7e0 [ 14.648128][ C1] lock_acquire.part.0+0xb6/0x240 [ 14.648131][ C1] ? simple_pin_fs+0x24/0x150 [ 14.648135][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.648139][ C1] ? lock_acquire+0x10c/0x170 [ 14.648141][ C1] ? simple_pin_fs+0x24/0x150 [ 14.648146][ C1] _raw_spin_lock+0x33/0x40 [ 14.648149][ C1] ? simple_pin_fs+0x24/0x150 [ 14.648152][ C1] simple_pin_fs+0x24/0x150 [ 14.648157][ C1] debugfs_remove+0x35/0x70 [ 14.648159][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 14.648165][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.648169][ C1] ? __sk_destruct+0x383/0x780 [ 14.648174][ C1] ? rcu_do_batch+0x34c/0xf20 [ 14.648177][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.648180][ C1] ? smpboot_thread_fn+0x30a/0x960 [ 14.648184][ C1] ? kthread+0x37e/0x600 [ 14.648187][ C1] ? ret_from_fork+0x240/0x320 [ 14.648190][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 14.648193][ C1] ? migrate_enable+0x1f2/0x270 [ 14.648197][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 14.648202][ C1] __put_net+0x19/0x60 [ 14.648206][ C1] __sk_destruct+0x58a/0x780 [ 14.648210][ C1] ? rcu_do_batch+0x34a/0xf20 [ 14.648213][ C1] rcu_do_batch+0x34c/0xf20 [ 14.648218][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.648221][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.648224][ C1] ? note_gp_changes+0x182/0x1e0 [ 14.648227][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.648231][ C1] rcu_core+0x2bb/0x500 [ 14.648235][ C1] handle_softirqs+0x218/0x620 [ 14.648239][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 14.648242][ C1] run_ksoftirqd+0x3f/0x70 [ 14.648245][ C1] smpboot_thread_fn+0x30a/0x960 [ 14.648249][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 14.648253][ C1] kthread+0x37e/0x600 [ 14.648255][ C1] ? __pfx_kthread+0x10/0x10 [ 14.648257][ C1] ? ret_from_fork+0x1b/0x320 [ 14.648260][ C1] ? __lock_release+0x5d/0x170 [ 14.648263][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.648266][ C1] ? __pfx_kthread+0x10/0x10 [ 14.648269][ C1] ret_from_fork+0x240/0x320 [ 14.648272][ C1] ? __pfx_kthread+0x10/0x10 [ 14.648274][ C1] ret_from_fork_asm+0x1a/0x30 [ 14.648281][ C1] [ 14.657891][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.658180][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 22, name: ksoftirqd/1 [ 14.658452][ C1] preempt_count: 100, expected: 0 [ 14.658610][ C1] RCU nest depth: 0, expected: 0 [ 14.658766][ C1] INFO: lockdep is turned off. [ 14.658922][ C1] Preemption disabled at: [ 14.658924][ C1] [] handle_softirqs+0xe5/0x620 [ 14.659248][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.659252][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.659253][ C1] Call Trace: [ 14.659255][ C1] [ 14.659256][ C1] dump_stack_lvl+0xb0/0xd0 [ 14.659262][ C1] __might_resched+0x360/0x5a0 [ 14.659267][ C1] down_write+0x72/0x210 [ 14.659271][ C1] ? __pfx_down_write+0x10/0x10 [ 14.659274][ C1] ? simple_recursive_removal+0x33/0x610 [ 14.659278][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.659282][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 14.659288][ C1] simple_recursive_removal+0x6a/0x610 [ 14.659290][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 14.659294][ C1] ? __pfx_remove_one+0x10/0x10 [ 14.659299][ C1] debugfs_remove+0x44/0x70 [ 14.659301][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 14.659306][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.659310][ C1] ? __sk_destruct+0x383/0x780 [ 14.659314][ C1] ? rcu_do_batch+0x34c/0xf20 [ 14.659317][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.659320][ C1] ? smpboot_thread_fn+0x30a/0x960 [ 14.659323][ C1] ? kthread+0x37e/0x600 [ 14.659326][ C1] ? ret_from_fork+0x240/0x320 [ 14.659329][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 14.659332][ C1] ? migrate_enable+0x1f2/0x270 [ 14.659335][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 14.659341][ C1] __put_net+0x19/0x60 [ 14.659344][ C1] __sk_destruct+0x58a/0x780 [ 14.659348][ C1] ? rcu_do_batch+0x34a/0xf20 [ 14.659350][ C1] rcu_do_batch+0x34c/0xf20 [ 14.659355][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.659359][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.659361][ C1] ? note_gp_changes+0x182/0x1e0 [ 14.659364][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.659368][ C1] rcu_core+0x2bb/0x500 [ 14.659372][ C1] handle_softirqs+0x218/0x620 [ 14.659376][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 14.659380][ C1] run_ksoftirqd+0x3f/0x70 [ 14.659390][ C1] smpboot_thread_fn+0x30a/0x960 [ 14.659394][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 14.659398][ C1] kthread+0x37e/0x600 [ 14.659400][ C1] ? __pfx_kthread+0x10/0x10 [ 14.659402][ C1] ? ret_from_fork+0x1b/0x320 [ 14.659405][ C1] ? __lock_release+0x5d/0x170 [ 14.659408][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.659412][ C1] ? __pfx_kthread+0x10/0x10 [ 14.659415][ C1] ret_from_fork+0x240/0x320 [ 14.659417][ C1] ? __pfx_kthread+0x10/0x10 [ 14.659420][ C1] ret_from_fork_asm+0x1a/0x30 [ 14.659427][ C1] [ 16.292294][ T259] packetdrill (259) used greatest stack depth: 24584 bytes left [ 16.301015][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.301481][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 218, name: timeout [ 16.301857][ C3] preempt_count: 101, expected: 0 [ 16.302079][ C3] RCU nest depth: 1, expected: 0 [ 16.302287][ C3] INFO: lockdep is turned off. [ 16.302496][ C3] Preemption disabled at: [ 16.302497][ C3] [] __slab_alloc.constprop.0+0x2c/0xb0 [ 16.302925][ C3] CPU: 3 UID: 0 PID: 218 Comm: timeout Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.302931][ C3] Tainted: [W]=WARN [ 16.302932][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.302934][ C3] Call Trace: [ 16.302936][ C3] [ 16.302938][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.302945][ C3] __might_resched+0x360/0x5a0 [ 16.302952][ C3] down_write+0x72/0x210 [ 16.302957][ C3] ? __pfx_down_write+0x10/0x10 [ 16.302960][ C3] ? simple_recursive_removal+0x33/0x610 [ 16.302964][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.302969][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.302975][ C3] simple_recursive_removal+0x6a/0x610 [ 16.302978][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.302981][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.302986][ C3] debugfs_remove+0x44/0x70 [ 16.302989][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.302995][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.302998][ C3] ? __sk_destruct+0x383/0x780 [ 16.303004][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.303008][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.303011][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.303016][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.303020][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.303024][ C3] ? check_preemption_disabled+0x26/0xf0 [ 16.303029][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.303032][ C3] ? lock_acquire+0x10c/0x170 [ 16.303035][ C3] ? is_module_text_address+0x37/0x120 [ 16.303040][ C3] ? kernel_text_address+0x3e/0xe0 [ 16.303043][ C3] ? __kernel_text_address+0x12/0x40 [ 16.303045][ C3] ? unwind_get_return_address+0x5e/0xa0 [ 16.303049][ C3] ? arch_stack_walk+0xa1/0xf0 [ 16.303054][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.303058][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.303062][ C3] __put_net+0x19/0x60 [ 16.303066][ C3] __sk_destruct+0x58a/0x780 [ 16.303070][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.303072][ C3] rcu_do_batch+0x34c/0xf20 [ 16.303075][ C3] ? clockevents_program_event+0xf6/0x300 [ 16.303079][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.303084][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.303087][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.303090][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.303097][ C3] rcu_core+0x2bb/0x500 [ 16.303102][ C3] handle_softirqs+0x218/0x620 [ 16.303107][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.303110][ C3] irq_exit_rcu+0xe/0x30 [ 16.303113][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.303117][ C3] [ 16.303118][ C3] [ 16.303119][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.303122][ C3] RIP: 0010:check_preemption_disabled+0x26/0xf0 [ 16.303125][ C3] Code: 90 90 90 90 41 54 55 53 48 83 ec 08 65 44 8b 25 74 75 99 02 65 8b 05 69 75 99 02 a9 ff ff ff 7f 74 10 48 83 c4 08 44 89 e0 5b <5d> 41 5c e9 02 3d 02 00 9c 58 f6 c4 02 74 e9 48 89 fd 65 48 8b 05 [ 16.303128][ C3] RSP: 0018:ffffc90000a378e0 EFLAGS: 00000286 [ 16.303132][ C3] RAX: 0000000000000003 RBX: 0000000000000000 RCX: 0000000000000002 [ 16.303134][ C3] RDX: 0000000000000000 RSI: ffffffff97053b60 RDI: ffffffff97053ba0 [ 16.303135][ C3] RBP: ffffffff97d775e0 R08: 0000000000000000 R09: 0000000000000000 [ 16.303137][ C3] R10: ffffffff946bd3c3 R11: ffffc90000a37a00 R12: 0000000000000003 [ 16.303139][ C3] R13: 0000000000000000 R14: 0000000000000002 R15: 0000000000000000 [ 16.303141][ C3] ? is_module_text_address+0x23/0x120 [ 16.303147][ C3] rcu_is_watching+0x12/0xc0 [ 16.303150][ C3] lock_acquire+0x10c/0x170 [ 16.303153][ C3] ? is_module_text_address+0x23/0x120 [ 16.303156][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 16.303160][ C3] is_module_text_address+0x37/0x120 [ 16.303163][ C3] ? is_module_text_address+0x23/0x120 [ 16.303166][ C3] kernel_text_address+0x3e/0xe0 [ 16.303169][ C3] __kernel_text_address+0x12/0x40 [ 16.303171][ C3] unwind_get_return_address+0x5e/0xa0 [ 16.303174][ C3] ? __pfx_stack_trace_consume_entry+0x10/0x10 [ 16.303177][ C3] arch_stack_walk+0xa1/0xf0 [ 16.303184][ C3] stack_trace_save+0x93/0xd0 [ 16.303187][ C3] ? __pfx_stack_trace_save+0x10/0x10 [ 16.303191][ C3] ? __alloc_object+0x2f/0x2e0 [ 16.303196][ C3] set_track_prepare+0x3a/0x70 [ 16.303199][ C3] ? __kmalloc_cache_noprof+0x2bb/0x360 [ 16.303202][ C3] ? kmem_cache_free+0xf3/0x330 [ 16.303206][ C3] ? exit_mmap+0x3cd/0x800 [ 16.303210][ C3] ? mmput+0xb8/0x3f0 [ 16.303214][ C3] ? exit_mm+0x146/0x1d0 [ 16.303218][ C3] ? do_exit+0x433/0xc20 [ 16.303221][ C3] ? do_group_exit+0xb8/0x260 [ 16.303224][ C3] ? __x64_sys_exit_group+0x3e/0x50 [ 16.303227][ C3] ? x64_sys_call+0xf76/0x18a0 [ 16.303232][ C3] ? do_syscall_64+0xc1/0x380 [ 16.303235][ C3] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 16.303238][ C3] __alloc_object+0xf7/0x2e0 [ 16.303242][ C3] __create_object+0x22/0xb0 [ 16.303247][ C3] __kmalloc_cache_noprof+0x2bb/0x360 [ 16.303252][ C3] kmem_cache_free+0xf3/0x330 [ 16.303256][ C3] ? exit_mmap+0x3cd/0x800 [ 16.303261][ C3] exit_mmap+0x3cd/0x800 [ 16.303265][ C3] ? __pfx_exit_mmap+0x10/0x10 [ 16.303268][ C3] ? __mutex_lock+0x19c/0xcd0 [ 16.303273][ C3] ? lock_release+0x13/0xc0 [ 16.303276][ C3] ? __mutex_unlock_slowpath+0x144/0x400 [ 16.303285][ C3] mmput+0xb8/0x3f0 [ 16.303288][ C3] exit_mm+0x146/0x1d0 [ 16.303292][ C3] do_exit+0x433/0xc20 [ 16.303296][ C3] do_group_exit+0xb8/0x260 [ 16.303300][ C3] __x64_sys_exit_group+0x3e/0x50 [ 16.303304][ C3] x64_sys_call+0xf76/0x18a0 [ 16.303307][ C3] do_syscall_64+0xc1/0x380 [ 16.303310][ C3] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 16.303313][ C3] RIP: 0033:0x7fd499a02abd [ 16.303316][ C3] Code: Unable to access opcode bytes at 0x7fd499a02a93. [ 16.303317][ C3] RSP: 002b:00007ffc245e4048 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 16.303320][ C3] RAX: ffffffffffffffda RBX: 00007fd499adf9c0 RCX: 00007fd499a02abd [ 16.303322][ C3] RDX: 00000000000000e7 RSI: ffffffffffffff80 RDI: 0000000000000000 [ 16.303324][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000020 [ 16.303325][ C3] R10: 00007ffc245e3ef0 R11: 0000000000000246 R12: 00007fd499adf9c0 [ 16.303327][ C3] R13: 00007fd499ae4ee0 R14: 0000000000000002 R15: 00007fd499ae4ec8 [ 16.303332][ C3]