[ 15.115160][ C3] [ 15.115397][ C3] ================================ [ 15.115687][ C3] WARNING: inconsistent lock state [ 15.115995][ C3] 6.15.0-virtme #1 Not tainted [ 15.116320][ C3] -------------------------------- [ 15.116634][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.117018][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.117411][ C3] ffffffffaa9c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.117976][ C3] {SOFTIRQ-ON-W} state was registered at: [ 15.118286][ C3] __lock_acquire+0x20b/0x7e0 [ 15.118610][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.118931][ C3] _raw_spin_lock+0x33/0x40 [ 15.119243][ C3] simple_pin_fs+0x24/0x150 [ 15.119560][ C3] start_creating.part.0+0x52/0x310 [ 15.119875][ C3] debugfs_create_dir+0x6a/0x540 [ 15.120187][ C3] component_debug_init+0x17/0x30 [ 15.120502][ C3] do_one_initcall+0x8f/0x1e0 [ 15.120821][ C3] do_initcalls+0x176/0x280 [ 15.121135][ C3] kernel_init_freeable+0x22d/0x300 [ 15.121451][ C3] kernel_init+0x20/0x200 [ 15.121765][ C3] ret_from_fork+0x240/0x320 [ 15.122078][ C3] ret_from_fork_asm+0x1a/0x30 [ 15.122388][ C3] irq event stamp: 287156 [ 15.122625][ C3] hardirqs last enabled at (287156): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.123245][ C3] hardirqs last disabled at (287155): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.123858][ C3] softirqs last enabled at (286564): [] handle_softirqs+0x358/0x620 [ 15.124403][ C3] softirqs last disabled at (286583): [] __irq_exit_rcu+0xfa/0x160 [ 15.124949][ C3] [ 15.124949][ C3] other info that might help us debug this: [ 15.125414][ C3] Possible unsafe locking scenario: [ 15.125414][ C3] [ 15.125869][ C3] CPU0 [ 15.126101][ C3] ---- [ 15.126333][ C3] lock(pin_fs_lock); [ 15.126573][ C3] [ 15.126802][ C3] lock(pin_fs_lock); [ 15.127041][ C3] [ 15.127041][ C3] *** DEADLOCK *** [ 15.127041][ C3] [ 15.127504][ C3] 1 lock held by swapper/3/0: [ 15.127818][ C3] #0: ffffffffaa7774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.128393][ C3] [ 15.128393][ C3] stack backtrace: [ 15.128786][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.128793][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.128797][ C3] Call Trace: [ 15.128800][ C3] [ 15.128804][ C3] dump_stack_lvl+0x82/0xd0 [ 15.128814][ C3] print_usage_bug.part.0+0x25f/0x360 [ 15.128823][ C3] mark_lock_irq+0x343/0x400 [ 15.128831][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.128840][ C3] ? save_trace+0x52/0x170 [ 15.128849][ C3] mark_lock+0x174/0x2f0 [ 15.128856][ C3] mark_usage+0x46/0x150 [ 15.128861][ C3] __lock_acquire+0x20b/0x7e0 [ 15.128866][ C3] ? __lock_acquire+0x44d/0x7e0 [ 15.128874][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.128880][ C3] ? simple_pin_fs+0x24/0x150 [ 15.128889][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.128896][ C3] ? lock_acquire+0x10c/0x170 [ 15.128900][ C3] ? simple_pin_fs+0x24/0x150 [ 15.128908][ C3] _raw_spin_lock+0x33/0x40 [ 15.128915][ C3] ? simple_pin_fs+0x24/0x150 [ 15.128920][ C3] simple_pin_fs+0x24/0x150 [ 15.128927][ C3] debugfs_remove+0x35/0x70 [ 15.128934][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.128943][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.128947][ C3] ? __sk_destruct+0x383/0x780 [ 15.128955][ C3] ? rcu_do_batch+0x34c/0xf20 [ 15.128959][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.128963][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.128967][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.128974][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.128980][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.128984][ C3] ? default_idle+0x9/0x10 [ 15.128987][ C3] ? default_idle_call+0x6d/0xb0 [ 15.128991][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.128996][ C3] ? do_idle+0xf6/0x160 [ 15.128999][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.129002][ C3] ? start_secondary+0x213/0x2a0 [ 15.129007][ C3] ? common_startup_64+0x13e/0x148 [ 15.129018][ C3] __put_net+0x19/0x60 [ 15.129023][ C3] __sk_destruct+0x58a/0x780 [ 15.129028][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.129032][ C3] rcu_do_batch+0x34c/0xf20 [ 15.129036][ C3] ? find_held_lock+0x2b/0x80 [ 15.129042][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.129046][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.129051][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.129055][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.129061][ C3] rcu_core+0x2bb/0x500 [ 15.129067][ C3] handle_softirqs+0x218/0x620 [ 15.129074][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.129078][ C3] irq_exit_rcu+0xe/0x30 [ 15.129081][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.129086][ C3] [ 15.129087][ C3] [ 15.129089][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.129093][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.129098][ C3] Code: 92 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 37 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 [ 15.129101][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 15.129105][ C3] RAX: 0000000000045f75 RBX: 1ffff9200002afc1 RCX: ffffffffa97905d9 [ 15.129108][ C3] RDX: 0000000000000000 RSI: ffffffffaa28f4e4 RDI: ffffffffa9a53be0 [ 15.129110][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005eb66fa [ 15.129112][ C3] R10: ffff88802f5b37d3 R11: ffffffffaa411288 R12: 0000000000000000 [ 15.129115][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 15.129120][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.129125][ C3] default_idle+0x9/0x10 [ 15.129128][ C3] default_idle_call+0x6d/0xb0 [ 15.129131][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.129134][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.129138][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.129142][ C3] do_idle+0xf6/0x160 [ 15.129146][ C3] cpu_startup_entry+0x54/0x60 [ 15.129149][ C3] start_secondary+0x213/0x2a0 [ 15.129152][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.129157][ C3] common_startup_64+0x13e/0x148 [ 15.129164][ C3] [ 15.155207][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.155859][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 15.156488][ C3] preempt_count: 101, expected: 0 [ 15.156780][ C3] RCU nest depth: 0, expected: 0 [ 15.157073][ C3] INFO: lockdep is turned off. [ 15.157357][ C3] Preemption disabled at: [ 15.157361][ C3] [<0000000000000000>] 0x0 [ 15.157876][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.157884][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.157887][ C3] Call Trace: [ 15.157889][ C3] [ 15.157893][ C3] dump_stack_lvl+0xb0/0xd0 [ 15.157905][ C3] __might_resched+0x360/0x5a0 [ 15.157917][ C3] down_write+0x72/0x210 [ 15.157924][ C3] ? __pfx_down_write+0x10/0x10 [ 15.157929][ C3] ? simple_recursive_removal+0x33/0x610 [ 15.157943][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.157952][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.157962][ C3] simple_recursive_removal+0x6a/0x610 [ 15.157967][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.157972][ C3] ? __pfx_remove_one+0x10/0x10 [ 15.157982][ C3] debugfs_remove+0x44/0x70 [ 15.157987][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.157996][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.158002][ C3] ? __sk_destruct+0x383/0x780 [ 15.158011][ C3] ? rcu_do_batch+0x34c/0xf20 [ 15.158017][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.158022][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.158034][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.158040][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.158045][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.158048][ C3] ? default_idle+0x9/0x10 [ 15.158051][ C3] ? default_idle_call+0x6d/0xb0 [ 15.158054][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.158058][ C3] ? do_idle+0xf6/0x160 [ 15.158060][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.158063][ C3] ? start_secondary+0x213/0x2a0 [ 15.158067][ C3] ? common_startup_64+0x13e/0x148 [ 15.158076][ C3] __put_net+0x19/0x60 [ 15.158081][ C3] __sk_destruct+0x58a/0x780 [ 15.158085][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.158087][ C3] rcu_do_batch+0x34c/0xf20 [ 15.158091][ C3] ? find_held_lock+0x2b/0x80 [ 15.158098][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.158101][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.158106][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.158109][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.158114][ C3] rcu_core+0x2bb/0x500 [ 15.158119][ C3] handle_softirqs+0x218/0x620 [ 15.158124][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.158127][ C3] irq_exit_rcu+0xe/0x30 [ 15.158130][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.158134][ C3] [ 15.158135][ C3] [ 15.158137][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.158139][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.158144][ C3] Code: 92 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 37 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 [ 15.158146][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 15.158149][ C3] RAX: 0000000000045f75 RBX: 1ffff9200002afc1 RCX: ffffffffa97905d9 [ 15.158151][ C3] RDX: 0000000000000000 RSI: ffffffffaa28f4e4 RDI: ffffffffa9a53be0 [ 15.158153][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005eb66fa [ 15.158155][ C3] R10: ffff88802f5b37d3 R11: ffffffffaa411288 R12: 0000000000000000 [ 15.158156][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 15.158160][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.158165][ C3] default_idle+0x9/0x10 [ 15.158167][ C3] default_idle_call+0x6d/0xb0 [ 15.158170][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.158173][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.158177][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.158182][ C3] do_idle+0xf6/0x160 [ 15.158185][ C3] cpu_startup_entry+0x54/0x60 [ 15.158188][ C3] start_secondary+0x213/0x2a0 [ 15.158191][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.158196][ C3] common_startup_64+0x13e/0x148 [ 15.158203][ C3] [ 16.752995][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.753381][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 16.753728][ C0] preempt_count: 101, expected: 0 [ 16.753919][ C0] RCU nest depth: 0, expected: 0 [ 16.754111][ C0] INFO: lockdep is turned off. [ 16.754301][ C0] Preemption disabled at: [ 16.754303][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 16.754752][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.754758][ C0] Tainted: [W]=WARN [ 16.754759][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.754761][ C0] Call Trace: [ 16.754764][ C0] [ 16.754766][ C0] dump_stack_lvl+0xb0/0xd0 [ 16.754773][ C0] __might_resched+0x360/0x5a0 [ 16.754783][ C0] down_write+0x72/0x210 [ 16.754788][ C0] ? __pfx_down_write+0x10/0x10 [ 16.754791][ C0] ? simple_recursive_removal+0x33/0x610 [ 16.754796][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.754802][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 16.754809][ C0] simple_recursive_removal+0x6a/0x610 [ 16.754812][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 16.754815][ C0] ? __pfx_remove_one+0x10/0x10 [ 16.754822][ C0] debugfs_remove+0x44/0x70 [ 16.754825][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 16.754832][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.754836][ C0] ? __sk_destruct+0x383/0x780 [ 16.754844][ C0] ? rcu_do_batch+0x34c/0xf20 [ 16.754848][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.754851][ C0] ? irq_exit_rcu+0xe/0x30 [ 16.754857][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.754864][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.754868][ C0] ? pv_native_safe_halt+0xf/0x20 [ 16.754872][ C0] ? default_idle+0x9/0x10 [ 16.754875][ C0] ? default_idle_call+0x6d/0xb0 [ 16.754878][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.754882][ C0] ? do_idle+0xf6/0x160 [ 16.754885][ C0] ? cpu_startup_entry+0x54/0x60 [ 16.754887][ C0] ? rest_init+0x14b/0x260 [ 16.754891][ C0] ? start_kernel+0x350/0x410 [ 16.754897][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.754902][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.754907][ C0] __put_net+0x19/0x60 [ 16.754912][ C0] __sk_destruct+0x58a/0x780 [ 16.754916][ C0] ? rcu_do_batch+0x34a/0xf20 [ 16.754918][ C0] rcu_do_batch+0x34c/0xf20 [ 16.754923][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.754927][ C0] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.754935][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.754941][ C0] rcu_core+0x2bb/0x500 [ 16.754947][ C0] handle_softirqs+0x218/0x620 [ 16.754952][ C0] __irq_exit_rcu+0xfa/0x160 [ 16.754955][ C0] irq_exit_rcu+0xe/0x30 [ 16.754958][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.754962][ C0] [ 16.754963][ C0] [ 16.754965][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.754968][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.754972][ C0] Code: 92 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 37 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.754976][ C0] RSP: 0018:ffffffffaa407df8 EFLAGS: 00000246 [ 16.754980][ C0] RAX: 0000000000000000 RBX: 1ffffffff5480fc3 RCX: ffffffffa97905d9 [ 16.754983][ C0] RDX: ffffed1005e866fb RSI: ffffffffa9a53b60 RDI: ffffffffa6f8d18f [ 16.754985][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1005e866fa [ 16.754987][ C0] R10: ffff88802f4337d3 R11: ffff888001becad8 R12: 0000000000000000 [ 16.754989][ C0] R13: ffffffffaa41f240 R14: dffffc0000000000 R15: 0000000000014770 [ 16.754993][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.754996][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.755000][ C0] default_idle+0x9/0x10 [ 16.755002][ C0] default_idle_call+0x6d/0xb0 [ 16.755005][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 16.755008][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.755012][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.755018][ C0] do_idle+0xf6/0x160 [ 16.755022][ C0] cpu_startup_entry+0x54/0x60 [ 16.755025][ C0] rest_init+0x14b/0x260 [ 16.755028][ C0] start_kernel+0x350/0x410 [ 16.755032][ C0] x86_64_start_reservations+0x18/0x30 [ 16.755037][ C0] x86_64_start_kernel+0xf8/0x150 [ 16.755041][ C0] common_startup_64+0x13e/0x148 [ 16.755052][ C0]