[ 24.653629][ C0] [ 24.653863][ C0] ================================ [ 24.654216][ C0] WARNING: inconsistent lock state [ 24.654585][ C0] 6.15.0-virtme #1 Not tainted [ 24.654941][ C0] -------------------------------- [ 24.655293][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 24.655728][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 24.656176][ C0] ffffffff8edc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 24.656818][ C0] {SOFTIRQ-ON-W} state was registered at: [ 24.657173][ C0] __lock_acquire+0x20b/0x7e0 [ 24.657551][ C0] lock_acquire.part.0+0xb6/0x240 [ 24.657908][ C0] _raw_spin_lock+0x33/0x40 [ 24.658267][ C0] simple_pin_fs+0x24/0x150 [ 24.658641][ C0] start_creating.part.0+0x52/0x310 [ 24.659002][ C0] debugfs_create_dir+0x6a/0x540 [ 24.659369][ C0] component_debug_init+0x17/0x30 [ 24.659747][ C0] do_one_initcall+0x8f/0x1e0 [ 24.660113][ C0] do_initcalls+0x176/0x280 [ 24.660474][ C0] kernel_init_freeable+0x22d/0x300 [ 24.660841][ C0] kernel_init+0x20/0x200 [ 24.661208][ C0] ret_from_fork+0x240/0x320 [ 24.661581][ C0] ret_from_fork_asm+0x1a/0x30 [ 24.661944][ C0] irq event stamp: 641868 [ 24.662209][ C0] hardirqs last enabled at (641868): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 24.662930][ C0] hardirqs last disabled at (641867): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 24.663645][ C0] softirqs last enabled at (641330): [] handle_softirqs+0x358/0x620 [ 24.664281][ C0] softirqs last disabled at (641337): [] __irq_exit_rcu+0xfa/0x160 [ 24.664916][ C0] [ 24.664916][ C0] other info that might help us debug this: [ 24.665443][ C0] Possible unsafe locking scenario: [ 24.665443][ C0] [ 24.665983][ C0] CPU0 [ 24.666249][ C0] ---- [ 24.666517][ C0] lock(pin_fs_lock); [ 24.666794][ C0] [ 24.667060][ C0] lock(pin_fs_lock); [ 24.667330][ C0] [ 24.667330][ C0] *** DEADLOCK *** [ 24.667330][ C0] [ 24.667873][ C0] 1 lock held by swapper/0/0: [ 24.668243][ C0] #0: ffffffff8eb774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 24.668897][ C0] [ 24.668897][ C0] stack backtrace: [ 24.669336][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 24.669344][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.669347][ C0] Call Trace: [ 24.669350][ C0] [ 24.669353][ C0] dump_stack_lvl+0x82/0xd0 [ 24.669364][ C0] print_usage_bug.part.0+0x25f/0x360 [ 24.669374][ C0] mark_lock_irq+0x343/0x400 [ 24.669380][ C0] ? is_bpf_text_address+0x67/0x120 [ 24.669387][ C0] ? __lock_release+0x5d/0x170 [ 24.669394][ C0] ? save_trace+0x52/0x170 [ 24.669405][ C0] mark_lock+0x174/0x2f0 [ 24.669411][ C0] mark_usage+0x46/0x150 [ 24.669417][ C0] __lock_acquire+0x20b/0x7e0 [ 24.669422][ C0] ? __lock_acquire+0x44d/0x7e0 [ 24.669430][ C0] lock_acquire.part.0+0xb6/0x240 [ 24.669435][ C0] ? simple_pin_fs+0x24/0x150 [ 24.669444][ C0] ? rcu_is_watching+0x12/0xc0 [ 24.669451][ C0] ? lock_acquire+0x10c/0x170 [ 24.669456][ C0] ? simple_pin_fs+0x24/0x150 [ 24.669464][ C0] _raw_spin_lock+0x33/0x40 [ 24.669470][ C0] ? simple_pin_fs+0x24/0x150 [ 24.669475][ C0] simple_pin_fs+0x24/0x150 [ 24.669482][ C0] debugfs_remove+0x35/0x70 [ 24.669489][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 24.669499][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 24.669505][ C0] ? __sk_destruct+0x383/0x780 [ 24.669514][ C0] ? rcu_do_batch+0x34c/0xf20 [ 24.669519][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 24.669524][ C0] ? irq_exit_rcu+0xe/0x30 [ 24.669531][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 24.669538][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 24.669544][ C0] ? pv_native_safe_halt+0xf/0x20 [ 24.669550][ C0] ? default_idle+0x9/0x10 [ 24.669554][ C0] ? default_idle_call+0x6d/0xb0 [ 24.669559][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 24.669565][ C0] ? do_idle+0xf6/0x160 [ 24.669570][ C0] ? cpu_startup_entry+0x54/0x60 [ 24.669574][ C0] ? rest_init+0x14b/0x260 [ 24.669579][ C0] ? start_kernel+0x350/0x410 [ 24.669591][ C0] __put_net+0x19/0x60 [ 24.669597][ C0] __sk_destruct+0x58a/0x780 [ 24.669604][ C0] ? rcu_do_batch+0x34a/0xf20 [ 24.669609][ C0] rcu_do_batch+0x34c/0xf20 [ 24.669614][ C0] ? find_held_lock+0x2b/0x80 [ 24.669621][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 24.669627][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 24.669632][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 24.669638][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 24.669646][ C0] rcu_core+0x2bb/0x500 [ 24.669654][ C0] handle_softirqs+0x218/0x620 [ 24.669662][ C0] __irq_exit_rcu+0xfa/0x160 [ 24.669666][ C0] irq_exit_rcu+0xe/0x30 [ 24.669670][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 24.669676][ C0] [ 24.669678][ C0] [ 24.669681][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 24.669685][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 24.669692][ 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 [ 24.669697][ C0] RSP: 0018:ffffffff8e807df8 EFLAGS: 00000242 [ 24.669702][ C0] RAX: 000000000009c937 RBX: 1ffffffff1d00fc3 RCX: ffffffff8db905d9 [ 24.669705][ C0] RDX: 0000000000000000 RSI: ffffffff8e68f4e4 RDI: ffffffff8de53be0 [ 24.669709][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 24.669712][ C0] R10: ffff8880360337d3 R11: ffffffff8e811288 R12: 0000000000000000 [ 24.669715][ C0] R13: ffffffff8e81f240 R14: dffffc0000000000 R15: 0000000000014770 [ 24.669723][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 24.669732][ C0] default_idle+0x9/0x10 [ 24.669737][ C0] default_idle_call+0x6d/0xb0 [ 24.669741][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 24.669746][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 24.669752][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 24.669760][ C0] do_idle+0xf6/0x160 [ 24.669766][ C0] cpu_startup_entry+0x54/0x60 [ 24.669772][ C0] rest_init+0x14b/0x260 [ 24.669778][ C0] start_kernel+0x350/0x410 [ 24.669785][ C0] x86_64_start_reservations+0x18/0x30 [ 24.669793][ C0] x86_64_start_kernel+0xf8/0x150 [ 24.669799][ C0] common_startup_64+0x13e/0x148 [ 24.669817][ C0] [ 24.702230][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 24.702595][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 24.703076][ C0] preempt_count: 101, expected: 0 [ 24.703296][ C0] RCU nest depth: 0, expected: 0 [ 24.703510][ C0] INFO: lockdep is turned off. [ 24.703714][ C0] Preemption disabled at: [ 24.703716][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 24.704201][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 24.704207][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.704209][ C0] Call Trace: [ 24.704211][ C0] [ 24.704213][ C0] dump_stack_lvl+0xb0/0xd0 [ 24.704221][ C0] __might_resched+0x360/0x5a0 [ 24.704229][ C0] down_write+0x72/0x210 [ 24.704233][ C0] ? __pfx_down_write+0x10/0x10 [ 24.704236][ C0] ? simple_recursive_removal+0x33/0x610 [ 24.704241][ C0] ? rcu_is_watching+0x12/0xc0 [ 24.704247][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 24.704253][ C0] simple_recursive_removal+0x6a/0x610 [ 24.704256][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 24.704260][ C0] ? __pfx_remove_one+0x10/0x10 [ 24.704267][ C0] debugfs_remove+0x44/0x70 [ 24.704270][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 24.704277][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 24.704281][ C0] ? __sk_destruct+0x383/0x780 [ 24.704288][ C0] ? rcu_do_batch+0x34c/0xf20 [ 24.704292][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 24.704295][ C0] ? irq_exit_rcu+0xe/0x30 [ 24.704300][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 24.704306][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 24.704310][ C0] ? pv_native_safe_halt+0xf/0x20 [ 24.704314][ C0] ? default_idle+0x9/0x10 [ 24.704317][ C0] ? default_idle_call+0x6d/0xb0 [ 24.704319][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 24.704326][ C0] ? do_idle+0xf6/0x160 [ 24.704328][ C0] ? cpu_startup_entry+0x54/0x60 [ 24.704331][ C0] ? rest_init+0x14b/0x260 [ 24.704334][ C0] ? start_kernel+0x350/0x410 [ 24.704343][ C0] __put_net+0x19/0x60 [ 24.704348][ C0] __sk_destruct+0x58a/0x780 [ 24.704352][ C0] ? rcu_do_batch+0x34a/0xf20 [ 24.704354][ C0] rcu_do_batch+0x34c/0xf20 [ 24.704358][ C0] ? find_held_lock+0x2b/0x80 [ 24.704365][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 24.704368][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 24.704372][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 24.704375][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 24.704380][ C0] rcu_core+0x2bb/0x500 [ 24.704385][ C0] handle_softirqs+0x218/0x620 [ 24.704391][ C0] __irq_exit_rcu+0xfa/0x160 [ 24.704394][ C0] irq_exit_rcu+0xe/0x30 [ 24.704397][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 24.704401][ C0] [ 24.704402][ C0] [ 24.704404][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 24.704407][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 24.704411][ 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 [ 24.704414][ C0] RSP: 0018:ffffffff8e807df8 EFLAGS: 00000242 [ 24.704418][ C0] RAX: 000000000009c937 RBX: 1ffffffff1d00fc3 RCX: ffffffff8db905d9 [ 24.704420][ C0] RDX: 0000000000000000 RSI: ffffffff8e68f4e4 RDI: ffffffff8de53be0 [ 24.704422][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 24.704423][ C0] R10: ffff8880360337d3 R11: ffffffff8e811288 R12: 0000000000000000 [ 24.704425][ C0] R13: ffffffff8e81f240 R14: dffffc0000000000 R15: 0000000000014770 [ 24.704429][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 24.704434][ C0] default_idle+0x9/0x10 [ 24.704437][ C0] default_idle_call+0x6d/0xb0 [ 24.704439][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 24.704442][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 24.704446][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 24.704453][ C0] do_idle+0xf6/0x160 [ 24.704456][ C0] cpu_startup_entry+0x54/0x60 [ 24.704459][ C0] rest_init+0x14b/0x260 [ 24.704463][ C0] start_kernel+0x350/0x410 [ 24.704467][ C0] x86_64_start_reservations+0x18/0x30 [ 24.704472][ C0] x86_64_start_kernel+0xf8/0x150 [ 24.704476][ C0] common_startup_64+0x13e/0x148 [ 24.704487][ C0] [ 26.406637][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 26.407142][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 26.407625][ C3] preempt_count: 101, expected: 0 [ 26.407843][ C3] RCU nest depth: 0, expected: 0 [ 26.408105][ C3] INFO: lockdep is turned off. [ 26.408360][ C3] Preemption disabled at: [ 26.408363][ C3] [<0000000000000000>] 0x0 [ 26.408751][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 26.408757][ C3] Tainted: [W]=WARN [ 26.408759][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.408761][ C3] Call Trace: [ 26.408763][ C3] [ 26.408766][ C3] dump_stack_lvl+0xb0/0xd0 [ 26.408777][ C3] __might_resched+0x360/0x5a0 [ 26.408786][ C3] down_write+0x72/0x210 [ 26.408792][ C3] ? __pfx_down_write+0x10/0x10 [ 26.408796][ C3] ? simple_recursive_removal+0x33/0x610 [ 26.408801][ C3] ? rcu_is_watching+0x12/0xc0 [ 26.408813][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 26.408823][ C3] simple_recursive_removal+0x6a/0x610 [ 26.408826][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 26.408830][ C3] ? __pfx_remove_one+0x10/0x10 [ 26.408837][ C3] debugfs_remove+0x44/0x70 [ 26.408840][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 26.408848][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 26.408851][ C3] ? __sk_destruct+0x383/0x780 [ 26.408859][ C3] ? rcu_do_batch+0x34c/0xf20 [ 26.408863][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 26.408871][ C3] ? irq_exit_rcu+0xe/0x30 [ 26.408890][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 26.408896][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 26.408901][ C3] ? pv_native_safe_halt+0xf/0x20 [ 26.408905][ C3] ? default_idle+0x9/0x10 [ 26.408907][ C3] ? default_idle_call+0x6d/0xb0 [ 26.408910][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 26.408914][ C3] ? do_idle+0xf6/0x160 [ 26.408917][ C3] ? cpu_startup_entry+0x54/0x60 [ 26.408919][ C3] ? start_secondary+0x213/0x2a0 [ 26.408925][ C3] ? common_startup_64+0x13e/0x148 [ 26.408935][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 26.408943][ C3] ? rcu_is_watching+0x12/0xc0 [ 26.408950][ C3] __put_net+0x19/0x60 [ 26.408954][ C3] __sk_destruct+0x58a/0x780 [ 26.408959][ C3] ? rcu_do_batch+0x34a/0xf20 [ 26.408961][ C3] rcu_do_batch+0x34c/0xf20 [ 26.408966][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 26.408970][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 26.408977][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 26.408983][ C3] rcu_core+0x2bb/0x500 [ 26.408989][ C3] handle_softirqs+0x218/0x620 [ 26.408994][ C3] __irq_exit_rcu+0xfa/0x160 [ 26.408997][ C3] irq_exit_rcu+0xe/0x30 [ 26.409000][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 26.409004][ C3] [ 26.409006][ C3] [ 26.409008][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 26.409010][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 26.409015][ 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 [ 26.409018][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 26.409027][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffff8db905d9 [ 26.409034][ C3] RDX: ffffed1006c366fb RSI: ffffffff8de53b60 RDI: ffffffff8b38d18f [ 26.409035][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 26.409037][ C3] R10: ffff8880361b37d3 R11: ffffffff91477380 R12: 0000000000000000 [ 26.409039][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 26.409043][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 26.409047][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 26.409051][ C3] default_idle+0x9/0x10 [ 26.409053][ C3] default_idle_call+0x6d/0xb0 [ 26.409056][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 26.409060][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 26.409064][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 26.409068][ C3] do_idle+0xf6/0x160 [ 26.409072][ C3] cpu_startup_entry+0x54/0x60 [ 26.409075][ C3] start_secondary+0x213/0x2a0 [ 26.409078][ C3] ? __pfx_start_secondary+0x10/0x10 [ 26.409083][ C3] common_startup_64+0x13e/0x148 [ 26.409090][ C3]