[ 19.434386][ C2] [ 19.434572][ C2] ================================ [ 19.434766][ C2] WARNING: inconsistent lock state [ 19.434963][ C2] 6.15.0-virtme #1 Not tainted [ 19.435156][ C2] -------------------------------- [ 19.435350][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 19.435582][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 19.435820][ C2] ffffffffb11c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 19.436179][ C2] {SOFTIRQ-ON-W} state was registered at: [ 19.436372][ C2] __lock_acquire+0x20b/0x7e0 [ 19.436570][ C2] lock_acquire.part.0+0xb6/0x240 [ 19.436795][ C2] _raw_spin_lock+0x33/0x40 [ 19.436998][ C2] simple_pin_fs+0x24/0x150 [ 19.437193][ C2] start_creating.part.0+0x52/0x310 [ 19.437384][ C2] debugfs_create_dir+0x6a/0x540 [ 19.437570][ C2] component_debug_init+0x17/0x30 [ 19.437760][ C2] do_one_initcall+0x8f/0x1e0 [ 19.437957][ C2] do_initcalls+0x176/0x280 [ 19.438152][ C2] kernel_init_freeable+0x22d/0x300 [ 19.438341][ C2] kernel_init+0x20/0x200 [ 19.438535][ C2] ret_from_fork+0x240/0x320 [ 19.438728][ C2] ret_from_fork_asm+0x1a/0x30 [ 19.438915][ C2] irq event stamp: 285100 [ 19.439064][ C2] hardirqs last enabled at (285100): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 19.439443][ C2] hardirqs last disabled at (285099): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 19.439824][ C2] softirqs last enabled at (284528): [] handle_softirqs+0x358/0x620 [ 19.440176][ C2] softirqs last disabled at (284565): [] __irq_exit_rcu+0xfa/0x160 [ 19.440522][ C2] [ 19.440522][ C2] other info that might help us debug this: [ 19.440832][ C2] Possible unsafe locking scenario: [ 19.440832][ C2] [ 19.441223][ C2] CPU0 [ 19.441447][ C2] ---- [ 19.441667][ C2] lock(pin_fs_lock); [ 19.441864][ C2] [ 19.442105][ C2] lock(pin_fs_lock); [ 19.442340][ C2] [ 19.442340][ C2] *** DEADLOCK *** [ 19.442340][ C2] [ 19.442794][ C2] 1 lock held by swapper/2/0: [ 19.443105][ C2] #0: ffffffffb0f774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 19.443665][ C2] [ 19.443665][ C2] stack backtrace: [ 19.444080][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 19.444088][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.444092][ C2] Call Trace: [ 19.444095][ C2] [ 19.444100][ C2] dump_stack_lvl+0x82/0xd0 [ 19.444112][ C2] print_usage_bug.part.0+0x25f/0x360 [ 19.444123][ C2] mark_lock_irq+0x343/0x400 [ 19.444132][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 19.444141][ C2] ? save_trace+0x52/0x170 [ 19.444151][ C2] mark_lock+0x174/0x2f0 [ 19.444158][ C2] mark_usage+0x46/0x150 [ 19.444163][ C2] __lock_acquire+0x20b/0x7e0 [ 19.444169][ C2] ? __lock_acquire+0x44d/0x7e0 [ 19.444177][ C2] lock_acquire.part.0+0xb6/0x240 [ 19.444182][ C2] ? simple_pin_fs+0x24/0x150 [ 19.444192][ C2] ? rcu_is_watching+0x12/0xc0 [ 19.444198][ C2] ? lock_acquire+0x10c/0x170 [ 19.444202][ C2] ? simple_pin_fs+0x24/0x150 [ 19.444210][ C2] _raw_spin_lock+0x33/0x40 [ 19.444218][ C2] ? simple_pin_fs+0x24/0x150 [ 19.444223][ C2] simple_pin_fs+0x24/0x150 [ 19.444228][ C2] debugfs_remove+0x35/0x70 [ 19.444236][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 19.444246][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 19.444251][ C2] ? __sk_destruct+0x383/0x780 [ 19.444260][ C2] ? rcu_do_batch+0x34c/0xf20 [ 19.444266][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 19.444272][ C2] ? irq_exit_rcu+0xe/0x30 [ 19.444278][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.444286][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.444293][ C2] ? pv_native_safe_halt+0xf/0x20 [ 19.444298][ C2] ? default_idle+0x9/0x10 [ 19.444303][ C2] ? default_idle_call+0x6d/0xb0 [ 19.444307][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 19.444313][ C2] ? do_idle+0xf6/0x160 [ 19.444318][ C2] ? cpu_startup_entry+0x54/0x60 [ 19.444322][ C2] ? start_secondary+0x213/0x2a0 [ 19.444329][ C2] ? common_startup_64+0x13e/0x148 [ 19.444342][ C2] __put_net+0x19/0x60 [ 19.444348][ C2] __sk_destruct+0x58a/0x780 [ 19.444354][ C2] ? rcu_do_batch+0x34a/0xf20 [ 19.444359][ C2] rcu_do_batch+0x34c/0xf20 [ 19.444365][ C2] ? find_held_lock+0x2b/0x80 [ 19.444373][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 19.444379][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 19.444384][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 19.444388][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 19.444397][ C2] rcu_core+0x2bb/0x500 [ 19.444406][ C2] handle_softirqs+0x218/0x620 [ 19.444415][ C2] __irq_exit_rcu+0xfa/0x160 [ 19.444421][ C2] irq_exit_rcu+0xe/0x30 [ 19.444426][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.444432][ C2] [ 19.444434][ C2] [ 19.444438][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.444442][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 19.444449][ C2] 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 [ 19.444454][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 19.444460][ C2] RAX: 0000000000045793 RBX: 1ffff92000028fc1 RCX: ffffffffaff8f5d9 [ 19.444464][ C2] RDX: 0000000000000000 RSI: ffffffffb0a8f4e4 RDI: ffffffffb0253be0 [ 19.444467][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 19.444471][ C2] R10: ffff8880361337d3 R11: ffffffffb0c11288 R12: 0000000000000000 [ 19.444474][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 19.444482][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 19.444492][ C2] default_idle+0x9/0x10 [ 19.444496][ C2] default_idle_call+0x6d/0xb0 [ 19.444501][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 19.444507][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 19.444514][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 19.444522][ C2] do_idle+0xf6/0x160 [ 19.444529][ C2] cpu_startup_entry+0x54/0x60 [ 19.444533][ C2] start_secondary+0x213/0x2a0 [ 19.444539][ C2] ? __pfx_start_secondary+0x10/0x10 [ 19.444548][ C2] common_startup_64+0x13e/0x148 [ 19.444561][ C2] [ 19.467868][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 19.468202][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 19.468529][ C2] preempt_count: 101, expected: 0 [ 19.468747][ C2] RCU nest depth: 0, expected: 0 [ 19.468946][ C2] INFO: lockdep is turned off. [ 19.469132][ C2] Preemption disabled at: [ 19.469134][ C2] [<0000000000000000>] 0x0 [ 19.469473][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 19.469479][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.469482][ C2] Call Trace: [ 19.469484][ C2] [ 19.469488][ C2] dump_stack_lvl+0xb0/0xd0 [ 19.469500][ C2] __might_resched+0x360/0x5a0 [ 19.469509][ C2] down_write+0x72/0x210 [ 19.469515][ C2] ? __pfx_down_write+0x10/0x10 [ 19.469518][ C2] ? simple_recursive_removal+0x33/0x610 [ 19.469524][ C2] ? rcu_is_watching+0x12/0xc0 [ 19.469530][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 19.469537][ C2] simple_recursive_removal+0x6a/0x610 [ 19.469539][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 19.469543][ C2] ? __pfx_remove_one+0x10/0x10 [ 19.469550][ C2] debugfs_remove+0x44/0x70 [ 19.469553][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 19.469561][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 19.469566][ C2] ? __sk_destruct+0x383/0x780 [ 19.469575][ C2] ? rcu_do_batch+0x34c/0xf20 [ 19.469580][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 19.469585][ C2] ? irq_exit_rcu+0xe/0x30 [ 19.469593][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.469600][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.469605][ C2] ? pv_native_safe_halt+0xf/0x20 [ 19.469609][ C2] ? default_idle+0x9/0x10 [ 19.469611][ C2] ? default_idle_call+0x6d/0xb0 [ 19.469614][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 19.469619][ C2] ? do_idle+0xf6/0x160 [ 19.469621][ C2] ? cpu_startup_entry+0x54/0x60 [ 19.469624][ C2] ? start_secondary+0x213/0x2a0 [ 19.469628][ C2] ? common_startup_64+0x13e/0x148 [ 19.469637][ C2] __put_net+0x19/0x60 [ 19.469642][ C2] __sk_destruct+0x58a/0x780 [ 19.469646][ C2] ? rcu_do_batch+0x34a/0xf20 [ 19.469649][ C2] rcu_do_batch+0x34c/0xf20 [ 19.469652][ C2] ? find_held_lock+0x2b/0x80 [ 19.469659][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 19.469663][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 19.469668][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 19.469672][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 19.469677][ C2] rcu_core+0x2bb/0x500 [ 19.469682][ C2] handle_softirqs+0x218/0x620 [ 19.469687][ C2] __irq_exit_rcu+0xfa/0x160 [ 19.469690][ C2] irq_exit_rcu+0xe/0x30 [ 19.469693][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.469697][ C2] [ 19.469698][ C2] [ 19.469699][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.469702][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 19.469708][ C2] 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 [ 19.469711][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 19.469715][ C2] RAX: 0000000000045793 RBX: 1ffff92000028fc1 RCX: ffffffffaff8f5d9 [ 19.469717][ C2] RDX: 0000000000000000 RSI: ffffffffb0a8f4e4 RDI: ffffffffb0253be0 [ 19.469719][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 19.469720][ C2] R10: ffff8880361337d3 R11: ffffffffb0c11288 R12: 0000000000000000 [ 19.469722][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 19.469726][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 19.469731][ C2] default_idle+0x9/0x10 [ 19.469733][ C2] default_idle_call+0x6d/0xb0 [ 19.469736][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 19.469739][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 19.469743][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 19.469747][ C2] do_idle+0xf6/0x160 [ 19.469750][ C2] cpu_startup_entry+0x54/0x60 [ 19.469754][ C2] start_secondary+0x213/0x2a0 [ 19.469756][ C2] ? __pfx_start_secondary+0x10/0x10 [ 19.469761][ C2] common_startup_64+0x13e/0x148 [ 19.469768][ C2] [ 21.711296][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 21.711711][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 21.712062][ C2] preempt_count: 101, expected: 0 [ 21.712251][ C2] RCU nest depth: 0, expected: 0 [ 21.712441][ C2] INFO: lockdep is turned off. [ 21.712636][ C2] Preemption disabled at: [ 21.712638][ C2] [<0000000000000000>] 0x0 [ 21.713059][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 21.713066][ C2] Tainted: [W]=WARN [ 21.713067][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.713070][ C2] Call Trace: [ 21.713072][ C2] [ 21.713075][ C2] dump_stack_lvl+0xb0/0xd0 [ 21.713086][ C2] __might_resched+0x360/0x5a0 [ 21.713096][ C2] down_write+0x72/0x210 [ 21.713101][ C2] ? __pfx_down_write+0x10/0x10 [ 21.713104][ C2] ? simple_recursive_removal+0x33/0x610 [ 21.713110][ C2] ? rcu_is_watching+0x12/0xc0 [ 21.713116][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 21.713123][ C2] simple_recursive_removal+0x6a/0x610 [ 21.713126][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 21.713130][ C2] ? __pfx_remove_one+0x10/0x10 [ 21.713136][ C2] debugfs_remove+0x44/0x70 [ 21.713140][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 21.713147][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 21.713151][ C2] ? __sk_destruct+0x383/0x780 [ 21.713158][ C2] ? rcu_do_batch+0x34c/0xf20 [ 21.713162][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 21.713166][ C2] ? irq_exit_rcu+0xe/0x30 [ 21.713172][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 21.713178][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 21.713184][ C2] ? pv_native_safe_halt+0xf/0x20 [ 21.713187][ C2] ? default_idle+0x9/0x10 [ 21.713190][ C2] ? default_idle_call+0x6d/0xb0 [ 21.713193][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 21.713197][ C2] ? do_idle+0xf6/0x160 [ 21.713200][ C2] ? cpu_startup_entry+0x54/0x60 [ 21.713202][ C2] ? start_secondary+0x213/0x2a0 [ 21.713207][ C2] ? common_startup_64+0x13e/0x148 [ 21.713214][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 21.713220][ C2] ? rcu_is_watching+0x12/0xc0 [ 21.713224][ C2] __put_net+0x19/0x60 [ 21.713229][ C2] __sk_destruct+0x58a/0x780 [ 21.713233][ C2] ? rcu_do_batch+0x34a/0xf20 [ 21.713235][ C2] rcu_do_batch+0x34c/0xf20 [ 21.713240][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 21.713243][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 21.713251][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 21.713257][ C2] rcu_core+0x2bb/0x500 [ 21.713263][ C2] handle_softirqs+0x218/0x620 [ 21.713268][ C2] __irq_exit_rcu+0xfa/0x160 [ 21.713271][ C2] irq_exit_rcu+0xe/0x30 [ 21.713274][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 21.713278][ C2] [ 21.713280][ C2] [ 21.713281][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 21.713284][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 21.713289][ C2] 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 [ 21.713291][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 21.713297][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffffaff8f5d9 [ 21.713299][ C2] RDX: ffffed1006c266fb RSI: ffffffffb0253b60 RDI: ffffffffad78d18f [ 21.713301][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 21.713303][ C2] R10: ffff8880361337d3 R11: ffffffffb3890298 R12: 0000000000000000 [ 21.713305][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 21.713309][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 21.713312][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 21.713316][ C2] default_idle+0x9/0x10 [ 21.713319][ C2] default_idle_call+0x6d/0xb0 [ 21.713322][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 21.713325][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 21.713329][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 21.713333][ C2] do_idle+0xf6/0x160 [ 21.713336][ C2] cpu_startup_entry+0x54/0x60 [ 21.713339][ C2] start_secondary+0x213/0x2a0 [ 21.713342][ C2] ? __pfx_start_secondary+0x10/0x10 [ 21.713347][ C2] common_startup_64+0x13e/0x148 [ 21.713354][ C2]