[ 14.960165][ C0] [ 14.960312][ C0] ================================ [ 14.960517][ C0] WARNING: inconsistent lock state [ 14.960724][ C0] 6.15.0-virtme #1 Not tainted [ 14.960930][ C0] -------------------------------- [ 14.961133][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.961383][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.961634][ C0] ffffffff861c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.962000][ C0] {SOFTIRQ-ON-W} state was registered at: [ 14.962202][ C0] __lock_acquire+0x20b/0x7e0 [ 14.962408][ C0] lock_acquire.part.0+0xb6/0x240 [ 14.962610][ C0] _raw_spin_lock+0x33/0x40 [ 14.962820][ C0] simple_pin_fs+0x24/0x150 [ 14.963024][ C0] start_creating.part.0+0x52/0x310 [ 14.963230][ C0] debugfs_create_dir+0x6a/0x540 [ 14.963434][ C0] component_debug_init+0x17/0x30 [ 14.963640][ C0] do_one_initcall+0x8f/0x1e0 [ 14.963844][ C0] do_initcalls+0x176/0x280 [ 14.964048][ C0] kernel_init_freeable+0x22d/0x300 [ 14.964254][ C0] kernel_init+0x20/0x200 [ 14.964458][ C0] ret_from_fork+0x240/0x320 [ 14.964664][ C0] ret_from_fork_asm+0x1a/0x30 [ 14.964868][ C0] irq event stamp: 438602 [ 14.965023][ C0] hardirqs last enabled at (438602): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.965437][ C0] hardirqs last disabled at (438601): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.965844][ C0] softirqs last enabled at (437984): [] handle_softirqs+0x358/0x620 [ 14.966209][ C0] softirqs last disabled at (438003): [] __irq_exit_rcu+0xfa/0x160 [ 14.966566][ C0] [ 14.966566][ C0] other info that might help us debug this: [ 14.966868][ C0] Possible unsafe locking scenario: [ 14.966868][ C0] [ 14.967175][ C0] CPU0 [ 14.967326][ C0] ---- [ 14.967480][ C0] lock(pin_fs_lock); [ 14.967638][ C0] [ 14.967794][ C0] lock(pin_fs_lock); [ 14.967950][ C0] [ 14.967950][ C0] *** DEADLOCK *** [ 14.967950][ C0] [ 14.968252][ C0] 1 lock held by swapper/0/0: [ 14.968457][ C0] #0: ffffffff85f774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.968823][ C0] [ 14.968823][ C0] stack backtrace: [ 14.969077][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.969082][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.969084][ C0] Call Trace: [ 14.969085][ C0] [ 14.969087][ C0] dump_stack_lvl+0x82/0xd0 [ 14.969093][ C0] print_usage_bug.part.0+0x25f/0x360 [ 14.969098][ C0] mark_lock_irq+0x343/0x400 [ 14.969101][ C0] ? is_bpf_text_address+0x67/0x120 [ 14.969106][ C0] ? __lock_release+0x5d/0x170 [ 14.969110][ C0] ? save_trace+0x52/0x170 [ 14.969116][ C0] mark_lock+0x174/0x2f0 [ 14.969119][ C0] mark_usage+0x46/0x150 [ 14.969123][ C0] __lock_acquire+0x20b/0x7e0 [ 14.969126][ C0] ? __lock_acquire+0x44d/0x7e0 [ 14.969130][ C0] lock_acquire.part.0+0xb6/0x240 [ 14.969133][ C0] ? simple_pin_fs+0x24/0x150 [ 14.969137][ C0] ? rcu_is_watching+0x12/0xc0 [ 14.969141][ C0] ? lock_acquire+0x10c/0x170 [ 14.969144][ C0] ? simple_pin_fs+0x24/0x150 [ 14.969148][ C0] _raw_spin_lock+0x33/0x40 [ 14.969151][ C0] ? simple_pin_fs+0x24/0x150 [ 14.969155][ C0] simple_pin_fs+0x24/0x150 [ 14.969168][ C0] debugfs_remove+0x35/0x70 [ 14.969171][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 14.969177][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.969181][ C0] ? __sk_destruct+0x383/0x780 [ 14.969187][ C0] ? rcu_do_batch+0x34c/0xf20 [ 14.969189][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.969193][ C0] ? irq_exit_rcu+0xe/0x30 [ 14.969195][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.969200][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.969204][ C0] ? pv_native_safe_halt+0xf/0x20 [ 14.969207][ C0] ? default_idle+0x9/0x10 [ 14.969210][ C0] ? default_idle_call+0x6d/0xb0 [ 14.969213][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.969216][ C0] ? do_idle+0xf6/0x160 [ 14.969219][ C0] ? cpu_startup_entry+0x54/0x60 [ 14.969221][ C0] ? rest_init+0x14b/0x260 [ 14.969224][ C0] ? start_kernel+0x350/0x410 [ 14.969230][ C0] __put_net+0x19/0x60 [ 14.969233][ C0] __sk_destruct+0x58a/0x780 [ 14.969237][ C0] ? rcu_do_batch+0x34a/0xf20 [ 14.969240][ C0] rcu_do_batch+0x34c/0xf20 [ 14.969243][ C0] ? find_held_lock+0x2b/0x80 [ 14.969247][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.969251][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.969254][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.969257][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.969262][ C0] rcu_core+0x2bb/0x500 [ 14.969266][ C0] handle_softirqs+0x218/0x620 [ 14.969271][ C0] __irq_exit_rcu+0xfa/0x160 [ 14.969274][ C0] irq_exit_rcu+0xe/0x30 [ 14.969277][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.969281][ C0] [ 14.969282][ C0] [ 14.969283][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.969286][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.969290][ C0] 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 [ 14.969293][ C0] RSP: 0018:ffffffff85c07df8 EFLAGS: 00000242 [ 14.969296][ C0] RAX: 000000000006aef1 RBX: 1ffffffff0b80fc3 RCX: ffffffff84f8f5d9 [ 14.969298][ C0] RDX: 0000000000000000 RSI: ffffffff85a8f4e4 RDI: ffffffff85253be0 [ 14.969300][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 14.969301][ C0] R10: ffff8880360337d3 R11: ffffffff85c11288 R12: 0000000000000000 [ 14.969303][ C0] R13: ffffffff85c1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 14.969307][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.969312][ C0] default_idle+0x9/0x10 [ 14.969314][ C0] default_idle_call+0x6d/0xb0 [ 14.969317][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 14.969320][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.969324][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.969329][ C0] do_idle+0xf6/0x160 [ 14.969332][ C0] cpu_startup_entry+0x54/0x60 [ 14.969335][ C0] rest_init+0x14b/0x260 [ 14.969338][ C0] start_kernel+0x350/0x410 [ 14.969342][ C0] x86_64_start_reservations+0x18/0x30 [ 14.969346][ C0] x86_64_start_kernel+0xf8/0x150 [ 14.969350][ C0] common_startup_64+0x13e/0x148 [ 14.969359][ C0] [ 14.986229][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.986569][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 14.986907][ C0] preempt_count: 101, expected: 0 [ 14.987094][ C0] RCU nest depth: 0, expected: 0 [ 14.987287][ C0] INFO: lockdep is turned off. [ 14.987485][ C0] Preemption disabled at: [ 14.987486][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 14.987915][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.987919][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.987921][ C0] Call Trace: [ 14.987923][ C0] [ 14.987924][ C0] dump_stack_lvl+0xb0/0xd0 [ 14.987930][ C0] __might_resched+0x360/0x5a0 [ 14.987937][ C0] down_write+0x72/0x210 [ 14.987940][ C0] ? __pfx_down_write+0x10/0x10 [ 14.987943][ C0] ? simple_recursive_removal+0x33/0x610 [ 14.987947][ C0] ? rcu_is_watching+0x12/0xc0 [ 14.987952][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 14.987958][ C0] simple_recursive_removal+0x6a/0x610 [ 14.987960][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 14.987964][ C0] ? __pfx_remove_one+0x10/0x10 [ 14.987969][ C0] debugfs_remove+0x44/0x70 [ 14.987971][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 14.987977][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.987980][ C0] ? __sk_destruct+0x383/0x780 [ 14.987985][ C0] ? rcu_do_batch+0x34c/0xf20 [ 14.987987][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.987991][ C0] ? irq_exit_rcu+0xe/0x30 [ 14.987994][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.987999][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.988002][ C0] ? pv_native_safe_halt+0xf/0x20 [ 14.988006][ C0] ? default_idle+0x9/0x10 [ 14.988008][ C0] ? default_idle_call+0x6d/0xb0 [ 14.988011][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.988014][ C0] ? do_idle+0xf6/0x160 [ 14.988016][ C0] ? cpu_startup_entry+0x54/0x60 [ 14.988019][ C0] ? rest_init+0x14b/0x260 [ 14.988021][ C0] ? start_kernel+0x350/0x410 [ 14.988029][ C0] __put_net+0x19/0x60 [ 14.988032][ C0] __sk_destruct+0x58a/0x780 [ 14.988036][ C0] ? rcu_do_batch+0x34a/0xf20 [ 14.988039][ C0] rcu_do_batch+0x34c/0xf20 [ 14.988042][ C0] ? find_held_lock+0x2b/0x80 [ 14.988047][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.988050][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.988055][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.988058][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.988063][ C0] rcu_core+0x2bb/0x500 [ 14.988067][ C0] handle_softirqs+0x218/0x620 [ 14.988073][ C0] __irq_exit_rcu+0xfa/0x160 [ 14.988076][ C0] irq_exit_rcu+0xe/0x30 [ 14.988078][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.988082][ C0] [ 14.988083][ C0] [ 14.988084][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.988087][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.988091][ C0] 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 [ 14.988094][ C0] RSP: 0018:ffffffff85c07df8 EFLAGS: 00000242 [ 14.988097][ C0] RAX: 000000000006aef1 RBX: 1ffffffff0b80fc3 RCX: ffffffff84f8f5d9 [ 14.988098][ C0] RDX: 0000000000000000 RSI: ffffffff85a8f4e4 RDI: ffffffff85253be0 [ 14.988100][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 14.988102][ C0] R10: ffff8880360337d3 R11: ffffffff85c11288 R12: 0000000000000000 [ 14.988103][ C0] R13: ffffffff85c1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 14.988107][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.988112][ C0] default_idle+0x9/0x10 [ 14.988114][ C0] default_idle_call+0x6d/0xb0 [ 14.988117][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 14.988120][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.988124][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.988129][ C0] do_idle+0xf6/0x160 [ 14.988133][ C0] cpu_startup_entry+0x54/0x60 [ 14.988136][ C0] rest_init+0x14b/0x260 [ 14.988139][ C0] start_kernel+0x350/0x410 [ 14.988143][ C0] x86_64_start_reservations+0x18/0x30 [ 14.988148][ C0] x86_64_start_kernel+0xf8/0x150 [ 14.988151][ C0] common_startup_64+0x13e/0x148 [ 14.988159][ C0] [ 16.687040][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.687583][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/1 [ 16.688091][ C1] preempt_count: 101, expected: 0 [ 16.688429][ C1] RCU nest depth: 0, expected: 0 [ 16.688716][ C1] INFO: lockdep is turned off. [ 16.688996][ C1] Preemption disabled at: [ 16.688999][ C1] [<0000000000000000>] 0x0 [ 16.689525][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.689533][ C1] Tainted: [W]=WARN [ 16.689536][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.689539][ C1] Call Trace: [ 16.689542][ C1] [ 16.689545][ C1] dump_stack_lvl+0xb0/0xd0 [ 16.689557][ C1] __might_resched+0x360/0x5a0 [ 16.689568][ C1] down_write+0x72/0x210 [ 16.689575][ C1] ? __pfx_down_write+0x10/0x10 [ 16.689580][ C1] ? simple_recursive_removal+0x33/0x610 [ 16.689586][ C1] ? rcu_is_watching+0x12/0xc0 [ 16.689593][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 16.689600][ C1] simple_recursive_removal+0x6a/0x610 [ 16.689603][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 16.689606][ C1] ? __pfx_remove_one+0x10/0x10 [ 16.689612][ C1] debugfs_remove+0x44/0x70 [ 16.689615][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 16.689621][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.689625][ C1] ? __sk_destruct+0x383/0x780 [ 16.689630][ C1] ? rcu_do_batch+0x34c/0xf20 [ 16.689633][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.689637][ C1] ? irq_exit_rcu+0xe/0x30 [ 16.689642][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.689647][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.689651][ C1] ? pv_native_safe_halt+0xf/0x20 [ 16.689654][ C1] ? default_idle+0x9/0x10 [ 16.689657][ C1] ? default_idle_call+0x6d/0xb0 [ 16.689659][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.689663][ C1] ? do_idle+0xf6/0x160 [ 16.689665][ C1] ? cpu_startup_entry+0x54/0x60 [ 16.689667][ C1] ? start_secondary+0x213/0x2a0 [ 16.689671][ C1] ? common_startup_64+0x13e/0x148 [ 16.689676][ C1] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.689680][ C1] ? rcu_is_watching+0x12/0xc0 [ 16.689685][ C1] __put_net+0x19/0x60 [ 16.689689][ C1] __sk_destruct+0x58a/0x780 [ 16.689693][ C1] ? rcu_do_batch+0x34a/0xf20 [ 16.689696][ C1] rcu_do_batch+0x34c/0xf20 [ 16.689700][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.689704][ C1] ? rcu_is_watching+0x12/0xc0 [ 16.689709][ C1] rcu_core+0x2bb/0x500 [ 16.689714][ C1] handle_softirqs+0x218/0x620 [ 16.689719][ C1] __irq_exit_rcu+0xfa/0x160 [ 16.689722][ C1] irq_exit_rcu+0xe/0x30 [ 16.689725][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.689729][ C1] [ 16.689730][ C1] [ 16.689731][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.689734][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.689738][ C1] 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.689742][ C1] RSP: 0000:ffffc90000137de8 EFLAGS: 00000246 [ 16.689745][ C1] RAX: 0000000000000001 RBX: 1ffff92000026fc1 RCX: ffffffff84f8f5d9 [ 16.689748][ C1] RDX: ffffed1006c166fb RSI: ffffffff85253b60 RDI: ffffffff8278d18f [ 16.689749][ C1] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c166fa [ 16.689751][ C1] R10: ffff8880360b37d3 R11: ffff888001bdcad8 R12: 0000000000000000 [ 16.689753][ C1] R13: ffff888001bf0040 R14: dffffc0000000000 R15: 0000000000000000 [ 16.689756][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.689760][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.689764][ C1] default_idle+0x9/0x10 [ 16.689766][ C1] default_idle_call+0x6d/0xb0 [ 16.689769][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 16.689772][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.689776][ C1] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.689780][ C1] do_idle+0xf6/0x160 [ 16.689783][ C1] cpu_startup_entry+0x54/0x60 [ 16.689786][ C1] start_secondary+0x213/0x2a0 [ 16.689789][ C1] ? __pfx_start_secondary+0x10/0x10 [ 16.689793][ C1] common_startup_64+0x13e/0x148 [ 16.689801][ C1]