[ 18.676179][ C3] [ 18.676340][ C3] ================================ [ 18.676552][ C3] WARNING: inconsistent lock state [ 18.676792][ C3] 6.15.0-virtme #1 Not tainted [ 18.677049][ C3] -------------------------------- [ 18.677260][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 18.677520][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 18.677794][ C3] ffffffff885c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 18.678225][ C3] {SOFTIRQ-ON-W} state was registered at: [ 18.678429][ C3] __lock_acquire+0x20b/0x7e0 [ 18.678664][ C3] lock_acquire.part.0+0xb6/0x240 [ 18.678884][ C3] _raw_spin_lock+0x33/0x40 [ 18.679099][ C3] simple_pin_fs+0x24/0x150 [ 18.679311][ C3] start_creating.part.0+0x52/0x310 [ 18.679541][ C3] debugfs_create_dir+0x6a/0x540 [ 18.679746][ C3] component_debug_init+0x17/0x30 [ 18.679959][ C3] do_one_initcall+0x8f/0x1e0 [ 18.680187][ C3] do_initcalls+0x176/0x280 [ 18.680413][ C3] kernel_init_freeable+0x22d/0x300 [ 18.680651][ C3] kernel_init+0x20/0x200 [ 18.680921][ C3] ret_from_fork+0x240/0x320 [ 18.681192][ C3] ret_from_fork_asm+0x1a/0x30 [ 18.681470][ C3] irq event stamp: 294480 [ 18.681665][ C3] hardirqs last enabled at (294480): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 18.682185][ C3] hardirqs last disabled at (294479): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 18.682657][ C3] softirqs last enabled at (293438): [] handle_softirqs+0x358/0x620 [ 18.683096][ C3] softirqs last disabled at (293463): [] __irq_exit_rcu+0xfa/0x160 [ 18.683537][ C3] [ 18.683537][ C3] other info that might help us debug this: [ 18.683841][ C3] Possible unsafe locking scenario: [ 18.683841][ C3] [ 18.684126][ C3] CPU0 [ 18.684274][ C3] ---- [ 18.684444][ C3] lock(pin_fs_lock); [ 18.684622][ C3] [ 18.684786][ C3] lock(pin_fs_lock); [ 18.684988][ C3] [ 18.684988][ C3] *** DEADLOCK *** [ 18.684988][ C3] [ 18.685358][ C3] 1 lock held by swapper/3/0: [ 18.685612][ C3] #0: ffffffff883774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 18.686004][ C3] [ 18.686004][ C3] stack backtrace: [ 18.686262][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 18.686267][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.686270][ C3] Call Trace: [ 18.686272][ C3] [ 18.686275][ C3] dump_stack_lvl+0x82/0xd0 [ 18.686283][ C3] print_usage_bug.part.0+0x25f/0x360 [ 18.686288][ C3] mark_lock_irq+0x343/0x400 [ 18.686293][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 18.686299][ C3] ? save_trace+0x52/0x170 [ 18.686305][ C3] mark_lock+0x174/0x2f0 [ 18.686309][ C3] mark_usage+0x46/0x150 [ 18.686312][ C3] __lock_acquire+0x20b/0x7e0 [ 18.686316][ C3] ? __lock_acquire+0x44d/0x7e0 [ 18.686320][ C3] lock_acquire.part.0+0xb6/0x240 [ 18.686323][ C3] ? simple_pin_fs+0x24/0x150 [ 18.686328][ C3] ? rcu_is_watching+0x12/0xc0 [ 18.686333][ C3] ? lock_acquire+0x10c/0x170 [ 18.686335][ C3] ? simple_pin_fs+0x24/0x150 [ 18.686340][ C3] _raw_spin_lock+0x33/0x40 [ 18.686344][ C3] ? simple_pin_fs+0x24/0x150 [ 18.686347][ C3] simple_pin_fs+0x24/0x150 [ 18.686351][ C3] debugfs_remove+0x35/0x70 [ 18.686355][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 18.686362][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.686366][ C3] ? __sk_destruct+0x383/0x780 [ 18.686374][ C3] ? rcu_do_batch+0x34c/0xf20 [ 18.686377][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.686380][ C3] ? irq_exit_rcu+0xe/0x30 [ 18.686384][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.686389][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.686394][ C3] ? pv_native_safe_halt+0xf/0x20 [ 18.686397][ C3] ? default_idle+0x9/0x10 [ 18.686400][ C3] ? default_idle_call+0x6d/0xb0 [ 18.686403][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.686408][ C3] ? do_idle+0xf6/0x160 [ 18.686410][ C3] ? cpu_startup_entry+0x54/0x60 [ 18.686413][ C3] ? start_secondary+0x213/0x2a0 [ 18.686417][ C3] ? common_startup_64+0x13e/0x148 [ 18.686426][ C3] __put_net+0x19/0x60 [ 18.686431][ C3] __sk_destruct+0x58a/0x780 [ 18.686435][ C3] ? rcu_do_batch+0x34a/0xf20 [ 18.686438][ C3] rcu_do_batch+0x34c/0xf20 [ 18.686441][ C3] ? find_held_lock+0x2b/0x80 [ 18.686445][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.686448][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 18.686452][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 18.686455][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 18.686460][ C3] rcu_core+0x2bb/0x500 [ 18.686464][ C3] handle_softirqs+0x218/0x620 [ 18.686469][ C3] __irq_exit_rcu+0xfa/0x160 [ 18.686472][ C3] irq_exit_rcu+0xe/0x30 [ 18.686475][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.686479][ C3] [ 18.686480][ C3] [ 18.686481][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.686484][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 18.686489][ 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 [ 18.686492][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 18.686496][ C3] RAX: 0000000000047a55 RBX: 1ffff9200002afc1 RCX: ffffffff873905d9 [ 18.686500][ C3] RDX: 0000000000000000 RSI: ffffffff87e8f4e4 RDI: ffffffff87653be0 [ 18.686503][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 18.686506][ C3] R10: ffff8880361b37d3 R11: ffffffff88011288 R12: 0000000000000000 [ 18.686509][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 18.686517][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 18.686523][ C3] default_idle+0x9/0x10 [ 18.686526][ C3] default_idle_call+0x6d/0xb0 [ 18.686529][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 18.686532][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 18.686536][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 18.686540][ C3] do_idle+0xf6/0x160 [ 18.686544][ C3] cpu_startup_entry+0x54/0x60 [ 18.686547][ C3] start_secondary+0x213/0x2a0 [ 18.686550][ C3] ? __pfx_start_secondary+0x10/0x10 [ 18.686555][ C3] common_startup_64+0x13e/0x148 [ 18.686562][ C3] [ 18.704361][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 18.704685][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 18.705011][ C3] preempt_count: 101, expected: 0 [ 18.705262][ C3] RCU nest depth: 0, expected: 0 [ 18.705445][ C3] INFO: lockdep is turned off. [ 18.705638][ C3] Preemption disabled at: [ 18.705641][ C3] [<0000000000000000>] 0x0 [ 18.706119][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 18.706124][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.706127][ C3] Call Trace: [ 18.706129][ C3] [ 18.706132][ C3] dump_stack_lvl+0xb0/0xd0 [ 18.706144][ C3] __might_resched+0x360/0x5a0 [ 18.706153][ C3] down_write+0x72/0x210 [ 18.706158][ C3] ? __pfx_down_write+0x10/0x10 [ 18.706161][ C3] ? simple_recursive_removal+0x33/0x610 [ 18.706167][ C3] ? rcu_is_watching+0x12/0xc0 [ 18.706173][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 18.706180][ C3] simple_recursive_removal+0x6a/0x610 [ 18.706183][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 18.706187][ C3] ? __pfx_remove_one+0x10/0x10 [ 18.706193][ C3] debugfs_remove+0x44/0x70 [ 18.706197][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 18.706204][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.706208][ C3] ? __sk_destruct+0x383/0x780 [ 18.706215][ C3] ? rcu_do_batch+0x34c/0xf20 [ 18.706219][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.706222][ C3] ? irq_exit_rcu+0xe/0x30 [ 18.706228][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.706234][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.706240][ C3] ? pv_native_safe_halt+0xf/0x20 [ 18.706244][ C3] ? default_idle+0x9/0x10 [ 18.706248][ C3] ? default_idle_call+0x6d/0xb0 [ 18.706253][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.706257][ C3] ? do_idle+0xf6/0x160 [ 18.706261][ C3] ? cpu_startup_entry+0x54/0x60 [ 18.706264][ C3] ? start_secondary+0x213/0x2a0 [ 18.706270][ C3] ? common_startup_64+0x13e/0x148 [ 18.706283][ C3] __put_net+0x19/0x60 [ 18.706290][ C3] __sk_destruct+0x58a/0x780 [ 18.706294][ C3] ? rcu_do_batch+0x34a/0xf20 [ 18.706297][ C3] rcu_do_batch+0x34c/0xf20 [ 18.706300][ C3] ? find_held_lock+0x2b/0x80 [ 18.706307][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.706310][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 18.706316][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 18.706319][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 18.706324][ C3] rcu_core+0x2bb/0x500 [ 18.706329][ C3] handle_softirqs+0x218/0x620 [ 18.706334][ C3] __irq_exit_rcu+0xfa/0x160 [ 18.706338][ C3] irq_exit_rcu+0xe/0x30 [ 18.706341][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.706345][ C3] [ 18.706346][ C3] [ 18.706347][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.706350][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 18.706355][ 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 [ 18.706357][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 18.706361][ C3] RAX: 0000000000047a55 RBX: 1ffff9200002afc1 RCX: ffffffff873905d9 [ 18.706364][ C3] RDX: 0000000000000000 RSI: ffffffff87e8f4e4 RDI: ffffffff87653be0 [ 18.706366][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 18.706367][ C3] R10: ffff8880361b37d3 R11: ffffffff88011288 R12: 0000000000000000 [ 18.706369][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 18.706373][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 18.706378][ C3] default_idle+0x9/0x10 [ 18.706380][ C3] default_idle_call+0x6d/0xb0 [ 18.706383][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 18.706386][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 18.706390][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 18.706395][ C3] do_idle+0xf6/0x160 [ 18.706399][ C3] cpu_startup_entry+0x54/0x60 [ 18.706402][ C3] start_secondary+0x213/0x2a0 [ 18.706405][ C3] ? __pfx_start_secondary+0x10/0x10 [ 18.706409][ C3] common_startup_64+0x13e/0x148 [ 18.706417][ C3] [ 21.923430][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 21.924004][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 21.924552][ C3] preempt_count: 101, expected: 0 [ 21.924856][ C3] RCU nest depth: 0, expected: 0 [ 21.925175][ C3] INFO: lockdep is turned off. [ 21.925479][ C3] Preemption disabled at: [ 21.925482][ C3] [<0000000000000000>] 0x0 [ 21.926017][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 21.926026][ C3] Tainted: [W]=WARN [ 21.926028][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.926032][ C3] Call Trace: [ 21.926035][ C3] [ 21.926039][ C3] dump_stack_lvl+0xb0/0xd0 [ 21.926053][ C3] __might_resched+0x360/0x5a0 [ 21.926066][ C3] down_write+0x72/0x210 [ 21.926074][ C3] ? __pfx_down_write+0x10/0x10 [ 21.926079][ C3] ? simple_recursive_removal+0x33/0x610 [ 21.926087][ C3] ? rcu_is_watching+0x12/0xc0 [ 21.926096][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 21.926106][ C3] simple_recursive_removal+0x6a/0x610 [ 21.926111][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 21.926116][ C3] ? __pfx_remove_one+0x10/0x10 [ 21.926126][ C3] debugfs_remove+0x44/0x70 [ 21.926132][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 21.926142][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 21.926147][ C3] ? __sk_destruct+0x383/0x780 [ 21.926156][ C3] ? rcu_do_batch+0x34c/0xf20 [ 21.926162][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 21.926167][ C3] ? irq_exit_rcu+0xe/0x30 [ 21.926174][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 21.926181][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 21.926188][ C3] ? pv_native_safe_halt+0xf/0x20 [ 21.926193][ C3] ? default_idle+0x9/0x10 [ 21.926197][ C3] ? default_idle_call+0x6d/0xb0 [ 21.926201][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 21.926207][ C3] ? do_idle+0xf6/0x160 [ 21.926211][ C3] ? cpu_startup_entry+0x54/0x60 [ 21.926215][ C3] ? start_secondary+0x213/0x2a0 [ 21.926221][ C3] ? common_startup_64+0x13e/0x148 [ 21.926230][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 21.926237][ C3] ? rcu_is_watching+0x12/0xc0 [ 21.926245][ C3] __put_net+0x19/0x60 [ 21.926251][ C3] __sk_destruct+0x58a/0x780 [ 21.926258][ C3] ? rcu_do_batch+0x34a/0xf20 [ 21.926262][ C3] rcu_do_batch+0x34c/0xf20 [ 21.926271][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 21.926279][ C3] ? rcu_is_watching+0x12/0xc0 [ 21.926287][ C3] rcu_core+0x2bb/0x500 [ 21.926295][ C3] handle_softirqs+0x218/0x620 [ 21.926304][ C3] __irq_exit_rcu+0xfa/0x160 [ 21.926310][ C3] irq_exit_rcu+0xe/0x30 [ 21.926315][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 21.926321][ C3] [ 21.926323][ C3] [ 21.926326][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 21.926331][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 21.926337][ 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 [ 21.926342][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 21.926348][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffff873905d9 [ 21.926352][ C3] RDX: ffffed1006c366fb RSI: ffffffff87653b60 RDI: ffffffff84b8d18f [ 21.926355][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 21.926359][ C3] R10: ffff8880361b37d3 R11: ffff888001bdcad8 R12: 0000000000000000 [ 21.926362][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 21.926370][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 21.926375][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 21.926382][ C3] default_idle+0x9/0x10 [ 21.926386][ C3] default_idle_call+0x6d/0xb0 [ 21.926391][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 21.926397][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 21.926404][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 21.926412][ C3] do_idle+0xf6/0x160 [ 21.926418][ C3] cpu_startup_entry+0x54/0x60 [ 21.926423][ C3] start_secondary+0x213/0x2a0 [ 21.926428][ C3] ? __pfx_start_secondary+0x10/0x10 [ 21.926436][ C3] common_startup_64+0x13e/0x148 [ 21.926450][ C3]