[ 19.431109][ C3] [ 19.431268][ C3] ================================ [ 19.431490][ C3] WARNING: inconsistent lock state [ 19.431718][ C3] 6.15.0-rc5-virtme #1 Not tainted [ 19.431938][ C3] -------------------------------- [ 19.432155][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 19.432450][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 19.432722][ C3] ffffffff945bf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 19.433117][ C3] {SOFTIRQ-ON-W} state was registered at: [ 19.433330][ C3] __lock_acquire+0x3eb/0x9d0 [ 19.433555][ C3] lock_acquire.part.0+0xb6/0x240 [ 19.433774][ C3] _raw_spin_lock+0x33/0x40 [ 19.433990][ C3] simple_pin_fs+0x24/0x150 [ 19.434206][ C3] start_creating.part.0+0x3f/0x2f0 [ 19.434422][ C3] debugfs_create_dir+0x6a/0x540 [ 19.434638][ C3] component_debug_init+0x17/0x30 [ 19.434857][ C3] do_one_initcall+0x8c/0x1e0 [ 19.435080][ C3] do_initcalls+0x176/0x280 [ 19.435297][ C3] kernel_init_freeable+0x22d/0x300 [ 19.435511][ C3] kernel_init+0x20/0x200 [ 19.435727][ C3] ret_from_fork+0x31/0x70 [ 19.435955][ C3] ret_from_fork_asm+0x1a/0x30 [ 19.436171][ C3] irq event stamp: 281670 [ 19.436333][ C3] hardirqs last enabled at (281670): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 19.436763][ C3] hardirqs last disabled at (281669): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 19.437190][ C3] softirqs last enabled at (279546): [] handle_softirqs+0x358/0x620 [ 19.437572][ C3] softirqs last disabled at (279571): [] __irq_exit_rcu+0xfa/0x160 [ 19.437953][ C3] [ 19.437953][ C3] other info that might help us debug this: [ 19.438279][ C3] Possible unsafe locking scenario: [ 19.438279][ C3] [ 19.438606][ C3] CPU0 [ 19.438767][ C3] ---- [ 19.438928][ C3] lock(pin_fs_lock); [ 19.439095][ C3] [ 19.439256][ C3] lock(pin_fs_lock); [ 19.439426][ C3] [ 19.439426][ C3] *** DEADLOCK *** [ 19.439426][ C3] [ 19.439759][ C3] 1 lock held by swapper/3/0: [ 19.439987][ C3] #0: ffffffff94374480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 19.440400][ C3] [ 19.440400][ C3] stack backtrace: [ 19.440670][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 19.440674][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.440676][ C3] Call Trace: [ 19.440678][ C3] [ 19.440681][ C3] dump_stack_lvl+0x82/0xd0 [ 19.440687][ C3] print_usage_bug.part.0+0x25f/0x360 [ 19.440693][ C3] mark_lock_irq+0x343/0x400 [ 19.440697][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 19.440703][ C3] ? save_trace+0x52/0x170 [ 19.440707][ C3] mark_lock+0x174/0x2f0 [ 19.440711][ C3] mark_usage+0x46/0x150 [ 19.440715][ C3] __lock_acquire+0x3eb/0x9d0 [ 19.440720][ C3] lock_acquire.part.0+0xb6/0x240 [ 19.440724][ C3] ? simple_pin_fs+0x24/0x150 [ 19.440729][ C3] ? rcu_is_watching+0x12/0xc0 [ 19.440735][ C3] ? lock_acquire+0x10c/0x170 [ 19.440739][ C3] ? simple_pin_fs+0x24/0x150 [ 19.440746][ C3] _raw_spin_lock+0x33/0x40 [ 19.440752][ C3] ? simple_pin_fs+0x24/0x150 [ 19.440757][ C3] simple_pin_fs+0x24/0x150 [ 19.440761][ C3] debugfs_remove+0x35/0x70 [ 19.440765][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 19.440769][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 19.440772][ C3] ? __sk_destruct+0x383/0x780 [ 19.440776][ C3] ? rcu_do_batch+0x34c/0xf20 [ 19.440779][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 19.440782][ C3] ? irq_exit_rcu+0xe/0x30 [ 19.440785][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.440789][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.440793][ C3] ? pv_native_safe_halt+0xf/0x20 [ 19.440796][ C3] ? default_idle+0x9/0x10 [ 19.440799][ C3] ? default_idle_call+0x6d/0xb0 [ 19.440801][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 19.440805][ C3] ? do_idle+0xf6/0x160 [ 19.440808][ C3] ? cpu_startup_entry+0x54/0x60 [ 19.440812][ C3] ? start_secondary+0x213/0x2a0 [ 19.440817][ C3] ? common_startup_64+0x13e/0x148 [ 19.440823][ C3] __put_net+0x19/0x60 [ 19.440826][ C3] __sk_destruct+0x58a/0x780 [ 19.440830][ C3] ? rcu_do_batch+0x34a/0xf20 [ 19.440833][ C3] rcu_do_batch+0x34c/0xf20 [ 19.440837][ C3] ? find_held_lock+0x2b/0x80 [ 19.440841][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 19.440844][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 19.440848][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 19.440851][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 19.440856][ C3] rcu_core+0x2bb/0x500 [ 19.440859][ C3] handle_softirqs+0x218/0x620 [ 19.440863][ C3] __irq_exit_rcu+0xfa/0x160 [ 19.440866][ C3] irq_exit_rcu+0xe/0x30 [ 19.440868][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.440871][ C3] [ 19.440872][ C3] [ 19.440874][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.440877][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 19.440881][ C3] Code: b0 b8 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 a3 d0 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 19.440884][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 19.440887][ C3] RAX: 0000000000044411 RBX: 1ffff9200002afc1 RCX: ffffffff93355a19 [ 19.440889][ C3] RDX: 0000000000000000 RSI: ffffffff93e85f31 RDI: ffffffff93650ce0 [ 19.440892][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 19.440895][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 19.440898][ C3] R13: ffff888001bb4640 R14: dffffc0000000000 R15: 0000000000000000 [ 19.440905][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 19.440914][ C3] default_idle+0x9/0x10 [ 19.440917][ C3] default_idle_call+0x6d/0xb0 [ 19.440919][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 19.440923][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 19.440927][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 19.440932][ C3] do_idle+0xf6/0x160 [ 19.440936][ C3] cpu_startup_entry+0x54/0x60 [ 19.440940][ C3] start_secondary+0x213/0x2a0 [ 19.440943][ C3] ? __pfx_start_secondary+0x10/0x10 [ 19.440948][ C3] common_startup_64+0x13e/0x148 [ 19.440955][ C3] [ 19.458560][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 19.458919][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 19.459294][ C3] preempt_count: 101, expected: 0 [ 19.459597][ C3] RCU nest depth: 0, expected: 0 [ 19.459802][ C3] INFO: lockdep is turned off. [ 19.460010][ C3] Preemption disabled at: [ 19.460012][ C3] [<0000000000000000>] 0x0 [ 19.460491][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 19.460496][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.460498][ C3] Call Trace: [ 19.460500][ C3] [ 19.460502][ C3] dump_stack_lvl+0xb0/0xd0 [ 19.460510][ C3] __might_resched+0x360/0x5a0 [ 19.460516][ C3] down_write+0x72/0x210 [ 19.460521][ C3] ? __pfx_down_write+0x10/0x10 [ 19.460523][ C3] ? simple_recursive_removal+0x3a/0x860 [ 19.460527][ C3] ? rcu_is_watching+0x12/0xc0 [ 19.460533][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 19.460538][ C3] simple_recursive_removal+0x166/0x860 [ 19.460541][ C3] ? __pfx_remove_one+0x10/0x10 [ 19.460545][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 19.460549][ C3] debugfs_remove+0x44/0x70 [ 19.460552][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 19.460557][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 19.460560][ C3] ? __sk_destruct+0x383/0x780 [ 19.460565][ C3] ? rcu_do_batch+0x34c/0xf20 [ 19.460569][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 19.460571][ C3] ? irq_exit_rcu+0xe/0x30 [ 19.460575][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.460579][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.460584][ C3] ? pv_native_safe_halt+0xf/0x20 [ 19.460587][ C3] ? default_idle+0x9/0x10 [ 19.460589][ C3] ? default_idle_call+0x6d/0xb0 [ 19.460591][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 19.460596][ C3] ? do_idle+0xf6/0x160 [ 19.460599][ C3] ? cpu_startup_entry+0x54/0x60 [ 19.460602][ C3] ? start_secondary+0x213/0x2a0 [ 19.460607][ C3] ? common_startup_64+0x13e/0x148 [ 19.460613][ C3] __put_net+0x19/0x60 [ 19.460616][ C3] __sk_destruct+0x58a/0x780 [ 19.460620][ C3] ? rcu_do_batch+0x34a/0xf20 [ 19.460623][ C3] rcu_do_batch+0x34c/0xf20 [ 19.460627][ C3] ? find_held_lock+0x2b/0x80 [ 19.460632][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 19.460636][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 19.460640][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 19.460643][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 19.460648][ C3] rcu_core+0x2bb/0x500 [ 19.460651][ C3] handle_softirqs+0x218/0x620 [ 19.460656][ C3] __irq_exit_rcu+0xfa/0x160 [ 19.460658][ C3] irq_exit_rcu+0xe/0x30 [ 19.460660][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.460664][ C3] [ 19.460665][ C3] [ 19.460666][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.460669][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 19.460673][ C3] Code: b0 b8 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 a3 d0 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 19.460675][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 19.460679][ C3] RAX: 0000000000044411 RBX: 1ffff9200002afc1 RCX: ffffffff93355a19 [ 19.460681][ C3] RDX: 0000000000000000 RSI: ffffffff93e85f31 RDI: ffffffff93650ce0 [ 19.460682][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 19.460684][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 19.460686][ C3] R13: ffff888001bb4640 R14: dffffc0000000000 R15: 0000000000000000 [ 19.460690][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 19.460695][ C3] default_idle+0x9/0x10 [ 19.460697][ C3] default_idle_call+0x6d/0xb0 [ 19.460700][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 19.460703][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 19.460708][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 19.460712][ C3] do_idle+0xf6/0x160 [ 19.460716][ C3] cpu_startup_entry+0x54/0x60 [ 19.460720][ C3] start_secondary+0x213/0x2a0 [ 19.460723][ C3] ? __pfx_start_secondary+0x10/0x10 [ 19.460729][ C3] common_startup_64+0x13e/0x148 [ 19.460735][ C3] [ 24.440046][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 24.440607][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/1 [ 24.441083][ C1] preempt_count: 101, expected: 0 [ 24.441363][ C1] RCU nest depth: 0, expected: 0 [ 24.441640][ C1] INFO: lockdep is turned off. [ 24.441899][ C1] Preemption disabled at: [ 24.441903][ C1] [<0000000000000000>] 0x0 [ 24.442384][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Tainted: G W 6.15.0-rc5-virtme #1 PREEMPT(full) [ 24.442394][ C1] Tainted: [W]=WARN [ 24.442396][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.442398][ C1] Call Trace: [ 24.442401][ C1] [ 24.442405][ C1] dump_stack_lvl+0xb0/0xd0 [ 24.442416][ C1] __might_resched+0x360/0x5a0 [ 24.442425][ C1] down_write+0x72/0x210 [ 24.442432][ C1] ? __pfx_down_write+0x10/0x10 [ 24.442436][ C1] ? simple_recursive_removal+0x3a/0x860 [ 24.442442][ C1] ? rcu_is_watching+0x12/0xc0 [ 24.442451][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 24.442459][ C1] simple_recursive_removal+0x166/0x860 [ 24.442463][ C1] ? __pfx_remove_one+0x10/0x10 [ 24.442470][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 24.442478][ C1] debugfs_remove+0x44/0x70 [ 24.442482][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 24.442491][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 24.442495][ C1] ? __sk_destruct+0x383/0x780 [ 24.442504][ C1] ? rcu_do_batch+0x34c/0xf20 [ 24.442510][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 24.442514][ C1] ? irq_exit_rcu+0xe/0x30 [ 24.442519][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 24.442526][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 24.442531][ C1] ? pv_native_safe_halt+0xf/0x20 [ 24.442536][ C1] ? default_idle+0x9/0x10 [ 24.442540][ C1] ? default_idle_call+0x6d/0xb0 [ 24.442544][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 24.442551][ C1] ? do_idle+0xf6/0x160 [ 24.442556][ C1] ? cpu_startup_entry+0x54/0x60 [ 24.442560][ C1] ? start_secondary+0x213/0x2a0 [ 24.442567][ C1] ? common_startup_64+0x13e/0x148 [ 24.442574][ C1] ? bpf_sk_storage_free+0x9f/0x1c0 [ 24.442579][ C1] ? rcu_is_watching+0x12/0xc0 [ 24.442588][ C1] __put_net+0x19/0x60 [ 24.442593][ C1] __sk_destruct+0x58a/0x780 [ 24.442600][ C1] ? rcu_do_batch+0x34a/0xf20 [ 24.442605][ C1] rcu_do_batch+0x34c/0xf20 [ 24.442614][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 24.442620][ C1] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 24.442626][ C1] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 24.442632][ C1] rcu_core+0x2bb/0x500 [ 24.442637][ C1] handle_softirqs+0x218/0x620 [ 24.442644][ C1] __irq_exit_rcu+0xfa/0x160 [ 24.442647][ C1] irq_exit_rcu+0xe/0x30 [ 24.442650][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 24.442655][ C1] [ 24.442656][ C1] [ 24.442659][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 24.442663][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 24.442669][ C1] Code: b0 b8 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 a3 d0 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 24.442674][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000246 [ 24.442680][ C1] RAX: 0000000000000001 RBX: 1ffff92000026fc1 RCX: ffffffff93355a19 [ 24.442683][ C1] RDX: ffffed1006c1667b RSI: ffffffff93650c60 RDI: ffffffff90b84d8f [ 24.442686][ C1] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c1667a [ 24.442690][ C1] R10: ffff8880360b33d3 R11: ffff88800588cb58 R12: 0000000000000000 [ 24.442693][ C1] R13: ffff888001bb0040 R14: dffffc0000000000 R15: 0000000000000000 [ 24.442700][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 24.442706][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 24.442714][ C1] default_idle+0x9/0x10 [ 24.442718][ C1] default_idle_call+0x6d/0xb0 [ 24.442722][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 24.442728][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 24.442735][ C1] ? tsc_verify_tsc_adjust+0x98/0x300 [ 24.442743][ C1] do_idle+0xf6/0x160 [ 24.442750][ C1] cpu_startup_entry+0x54/0x60 [ 24.442755][ C1] start_secondary+0x213/0x2a0 [ 24.442760][ C1] ? __pfx_start_secondary+0x10/0x10 [ 24.442768][ C1] common_startup_64+0x13e/0x148 [ 24.442779][ C1]