[ 14.836744][ C1] [ 14.836957][ C1] ================================ [ 14.837150][ C1] WARNING: inconsistent lock state [ 14.837334][ C1] 6.15.0-rc5-virtme #1 Not tainted [ 14.837522][ C1] -------------------------------- [ 14.837711][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.837938][ C1] swapper/1/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.838172][ C1] ffffffff8ddbf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.838508][ C1] {SOFTIRQ-ON-W} state was registered at: [ 14.838692][ C1] __lock_acquire+0x3eb/0x9d0 [ 14.838881][ C1] lock_acquire.part.0+0xb6/0x240 [ 14.839070][ C1] _raw_spin_lock+0x33/0x40 [ 14.839257][ C1] simple_pin_fs+0x24/0x150 [ 14.839442][ C1] start_creating.part.0+0x3f/0x2f0 [ 14.839632][ C1] debugfs_create_dir+0x6a/0x540 [ 14.839818][ C1] component_debug_init+0x17/0x30 [ 14.840008][ C1] do_one_initcall+0x8c/0x1e0 [ 14.840196][ C1] do_initcalls+0x176/0x280 [ 14.840388][ C1] kernel_init_freeable+0x22d/0x300 [ 14.840580][ C1] kernel_init+0x20/0x200 [ 14.840766][ C1] ret_from_fork+0x31/0x70 [ 14.840956][ C1] ret_from_fork_asm+0x1a/0x30 [ 14.841138][ C1] irq event stamp: 471584 [ 14.841285][ C1] hardirqs last enabled at (471584): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.841649][ C1] hardirqs last disabled at (471583): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.842029][ C1] softirqs last enabled at (471422): [] handle_softirqs+0x358/0x620 [ 14.842354][ C1] softirqs last disabled at (471429): [] __irq_exit_rcu+0xfa/0x160 [ 14.842679][ C1] [ 14.842679][ C1] other info that might help us debug this: [ 14.842951][ C1] Possible unsafe locking scenario: [ 14.842951][ C1] [ 14.843224][ C1] CPU0 [ 14.843366][ C1] ---- [ 14.843505][ C1] lock(pin_fs_lock); [ 14.843645][ C1] [ 14.843781][ C1] lock(pin_fs_lock); [ 14.843926][ C1] [ 14.843926][ C1] *** DEADLOCK *** [ 14.843926][ C1] [ 14.844195][ C1] 1 lock held by swapper/1/0: [ 14.844385][ C1] #0: ffffffff8db74480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.844724][ C1] [ 14.844724][ C1] stack backtrace: [ 14.844955][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.844960][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.844962][ C1] Call Trace: [ 14.844964][ C1] [ 14.844967][ C1] dump_stack_lvl+0x82/0xd0 [ 14.844973][ C1] print_usage_bug.part.0+0x25f/0x360 [ 14.844978][ C1] mark_lock_irq+0x343/0x400 [ 14.844983][ C1] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.844990][ C1] ? save_trace+0x52/0x170 [ 14.844994][ C1] mark_lock+0x174/0x2f0 [ 14.844998][ C1] mark_usage+0x46/0x150 [ 14.845002][ C1] __lock_acquire+0x3eb/0x9d0 [ 14.845007][ C1] lock_acquire.part.0+0xb6/0x240 [ 14.845011][ C1] ? simple_pin_fs+0x24/0x150 [ 14.845015][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.845022][ C1] ? lock_acquire+0x10c/0x170 [ 14.845025][ C1] ? simple_pin_fs+0x24/0x150 [ 14.845029][ C1] _raw_spin_lock+0x33/0x40 [ 14.845032][ C1] ? simple_pin_fs+0x24/0x150 [ 14.845036][ C1] simple_pin_fs+0x24/0x150 [ 14.845040][ C1] debugfs_remove+0x35/0x70 [ 14.845043][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 14.845049][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.845052][ C1] ? __sk_destruct+0x383/0x780 [ 14.845059][ C1] ? rcu_do_batch+0x34c/0xf20 [ 14.845062][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.845065][ C1] ? irq_exit_rcu+0xe/0x30 [ 14.845067][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.845073][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.845078][ C1] ? pv_native_safe_halt+0xf/0x20 [ 14.845081][ C1] ? default_idle+0x9/0x10 [ 14.845083][ C1] ? default_idle_call+0x6d/0xb0 [ 14.845085][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.845089][ C1] ? do_idle+0xf6/0x160 [ 14.845092][ C1] ? cpu_startup_entry+0x54/0x60 [ 14.845095][ C1] ? start_secondary+0x213/0x2a0 [ 14.845100][ C1] ? common_startup_64+0x13e/0x148 [ 14.845107][ C1] __put_net+0x19/0x60 [ 14.845111][ C1] __sk_destruct+0x58a/0x780 [ 14.845115][ C1] ? rcu_do_batch+0x34a/0xf20 [ 14.845118][ C1] rcu_do_batch+0x34c/0xf20 [ 14.845122][ C1] ? find_held_lock+0x2b/0x80 [ 14.845126][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.845129][ C1] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.845133][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.845136][ C1] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.845141][ C1] rcu_core+0x2bb/0x500 [ 14.845144][ C1] handle_softirqs+0x218/0x620 [ 14.845149][ C1] __irq_exit_rcu+0xfa/0x160 [ 14.845151][ C1] irq_exit_rcu+0xe/0x30 [ 14.845153][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.845156][ C1] [ 14.845157][ C1] [ 14.845159][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.845162][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.845166][ 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 [ 14.845169][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000242 [ 14.845173][ C1] RAX: 0000000000073183 RBX: 1ffff92000026fc1 RCX: ffffffff8cb55a19 [ 14.845175][ C1] RDX: 0000000000000000 RSI: ffffffff8d685f31 RDI: ffffffff8ce50ce0 [ 14.845177][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c1667a [ 14.845179][ C1] R10: ffff8880360b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.845180][ C1] R13: ffff888001bb0040 R14: dffffc0000000000 R15: 0000000000000000 [ 14.845184][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.845190][ C1] default_idle+0x9/0x10 [ 14.845192][ C1] default_idle_call+0x6d/0xb0 [ 14.845194][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 14.845198][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.845202][ C1] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.845206][ C1] do_idle+0xf6/0x160 [ 14.845210][ C1] cpu_startup_entry+0x54/0x60 [ 14.845214][ C1] start_secondary+0x213/0x2a0 [ 14.845217][ C1] ? __pfx_start_secondary+0x10/0x10 [ 14.845222][ C1] common_startup_64+0x13e/0x148 [ 14.845228][ C1] [ 14.859822][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.860126][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/1 [ 14.860426][ C1] preempt_count: 101, expected: 0 [ 14.860629][ C1] RCU nest depth: 0, expected: 0 [ 14.860799][ C1] INFO: lockdep is turned off. [ 14.860966][ C1] Preemption disabled at: [ 14.860968][ C1] [<0000000000000000>] 0x0 [ 14.861264][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.861269][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.861271][ C1] Call Trace: [ 14.861273][ C1] [ 14.861275][ C1] dump_stack_lvl+0xb0/0xd0 [ 14.861282][ C1] __might_resched+0x360/0x5a0 [ 14.861289][ C1] down_write+0x72/0x210 [ 14.861294][ C1] ? __pfx_down_write+0x10/0x10 [ 14.861297][ C1] ? simple_recursive_removal+0x3a/0x860 [ 14.861301][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.861308][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 14.861313][ C1] simple_recursive_removal+0x166/0x860 [ 14.861316][ C1] ? __pfx_remove_one+0x10/0x10 [ 14.861320][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 14.861324][ C1] debugfs_remove+0x44/0x70 [ 14.861327][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 14.861332][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.861334][ C1] ? __sk_destruct+0x383/0x780 [ 14.861340][ C1] ? rcu_do_batch+0x34c/0xf20 [ 14.861344][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.861347][ C1] ? irq_exit_rcu+0xe/0x30 [ 14.861350][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.861355][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.861359][ C1] ? pv_native_safe_halt+0xf/0x20 [ 14.861362][ C1] ? default_idle+0x9/0x10 [ 14.861364][ C1] ? default_idle_call+0x6d/0xb0 [ 14.861367][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.861372][ C1] ? do_idle+0xf6/0x160 [ 14.861375][ C1] ? cpu_startup_entry+0x54/0x60 [ 14.861378][ C1] ? start_secondary+0x213/0x2a0 [ 14.861383][ C1] ? common_startup_64+0x13e/0x148 [ 14.861389][ C1] __put_net+0x19/0x60 [ 14.861392][ C1] __sk_destruct+0x58a/0x780 [ 14.861396][ C1] ? rcu_do_batch+0x34a/0xf20 [ 14.861399][ C1] rcu_do_batch+0x34c/0xf20 [ 14.861403][ C1] ? find_held_lock+0x2b/0x80 [ 14.861407][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.861411][ C1] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.861416][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.861419][ C1] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.861424][ C1] rcu_core+0x2bb/0x500 [ 14.861427][ C1] handle_softirqs+0x218/0x620 [ 14.861432][ C1] __irq_exit_rcu+0xfa/0x160 [ 14.861434][ C1] irq_exit_rcu+0xe/0x30 [ 14.861437][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.861440][ C1] [ 14.861441][ C1] [ 14.861442][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.861445][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.861449][ 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 [ 14.861451][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000242 [ 14.861454][ C1] RAX: 0000000000073183 RBX: 1ffff92000026fc1 RCX: ffffffff8cb55a19 [ 14.861456][ C1] RDX: 0000000000000000 RSI: ffffffff8d685f31 RDI: ffffffff8ce50ce0 [ 14.861458][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c1667a [ 14.861460][ C1] R10: ffff8880360b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.861462][ C1] R13: ffff888001bb0040 R14: dffffc0000000000 R15: 0000000000000000 [ 14.861465][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.861471][ C1] default_idle+0x9/0x10 [ 14.861473][ C1] default_idle_call+0x6d/0xb0 [ 14.861475][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 14.861479][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.861483][ C1] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.861488][ C1] do_idle+0xf6/0x160 [ 14.861492][ C1] cpu_startup_entry+0x54/0x60 [ 14.861496][ C1] start_secondary+0x213/0x2a0 [ 14.861499][ C1] ? __pfx_start_secondary+0x10/0x10 [ 14.861504][ C1] common_startup_64+0x13e/0x148 [ 14.861511][ C1] [ 16.610591][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.610980][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 16.611296][ C2] preempt_count: 101, expected: 0 [ 16.611477][ C2] RCU nest depth: 0, expected: 0 [ 16.611670][ C2] INFO: lockdep is turned off. [ 16.611857][ C2] Preemption disabled at: [ 16.611859][ C2] [<0000000000000000>] 0x0 [ 16.612183][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-rc5-virtme #1 PREEMPT(full) [ 16.612188][ C2] Tainted: [W]=WARN [ 16.612189][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.612191][ C2] Call Trace: [ 16.612193][ C2] [ 16.612195][ C2] dump_stack_lvl+0xb0/0xd0 [ 16.612206][ C2] __might_resched+0x360/0x5a0 [ 16.612215][ C2] down_write+0x72/0x210 [ 16.612220][ C2] ? __pfx_down_write+0x10/0x10 [ 16.612222][ C2] ? simple_recursive_removal+0x3a/0x860 [ 16.612229][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.612238][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.612244][ C2] simple_recursive_removal+0x166/0x860 [ 16.612246][ C2] ? __pfx_remove_one+0x10/0x10 [ 16.612252][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.612257][ C2] debugfs_remove+0x44/0x70 [ 16.612259][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 16.612266][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.612269][ C2] ? __sk_destruct+0x383/0x780 [ 16.612277][ C2] ? rcu_do_batch+0x34c/0xf20 [ 16.612282][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.612285][ C2] ? irq_exit_rcu+0xe/0x30 [ 16.612290][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.612297][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.612301][ C2] ? pv_native_safe_halt+0xf/0x20 [ 16.612304][ C2] ? default_idle+0x9/0x10 [ 16.612307][ C2] ? default_idle_call+0x6d/0xb0 [ 16.612309][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.612315][ C2] ? do_idle+0xf6/0x160 [ 16.612318][ C2] ? cpu_startup_entry+0x54/0x60 [ 16.612321][ C2] ? start_secondary+0x213/0x2a0 [ 16.612329][ C2] ? common_startup_64+0x13e/0x148 [ 16.612335][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.612339][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.612344][ C2] __put_net+0x19/0x60 [ 16.612348][ C2] __sk_destruct+0x58a/0x780 [ 16.612351][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.612354][ C2] rcu_do_batch+0x34c/0xf20 [ 16.612359][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.612363][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.612368][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.612374][ C2] rcu_core+0x2bb/0x500 [ 16.612378][ C2] handle_softirqs+0x218/0x620 [ 16.612383][ C2] __irq_exit_rcu+0xfa/0x160 [ 16.612385][ C2] irq_exit_rcu+0xe/0x30 [ 16.612387][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.612391][ C2] [ 16.612392][ C2] [ 16.612393][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.612396][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.612400][ C2] 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 [ 16.612403][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 16.612407][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffff8cb55a19 [ 16.612409][ C2] RDX: ffffed1006c2667b RSI: ffffffff8ce50c60 RDI: ffffffff8a384d8f [ 16.612411][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c2667a [ 16.612412][ C2] R10: ffff8880361333d3 R11: ffff888001d5a858 R12: 0000000000000000 [ 16.612414][ C2] R13: ffff888001bb2340 R14: dffffc0000000000 R15: 0000000000000000 [ 16.612418][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.612422][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.612426][ C2] default_idle+0x9/0x10 [ 16.612428][ C2] default_idle_call+0x6d/0xb0 [ 16.612431][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 16.612435][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.612439][ C2] ? tsc_verify_tsc_adjust+0x98/0x300 [ 16.612444][ C2] do_idle+0xf6/0x160 [ 16.612448][ C2] cpu_startup_entry+0x54/0x60 [ 16.612451][ C2] start_secondary+0x213/0x2a0 [ 16.612455][ C2] ? __pfx_start_secondary+0x10/0x10 [ 16.612460][ C2] common_startup_64+0x13e/0x148 [ 16.612466][ C2]