[ 15.089202][ C2] [ 15.089338][ C2] ================================ [ 15.089526][ C2] WARNING: inconsistent lock state [ 15.089711][ C2] 6.15.0-virtme #1 Not tainted [ 15.089896][ C2] -------------------------------- [ 15.090077][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.090309][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.090541][ C2] ffffffffb21c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.090871][ C2] {SOFTIRQ-ON-W} state was registered at: [ 15.091054][ C2] __lock_acquire+0x20b/0x7e0 [ 15.091245][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.091432][ C2] _raw_spin_lock+0x33/0x40 [ 15.091621][ C2] simple_pin_fs+0x24/0x150 [ 15.091806][ C2] start_creating.part.0+0x52/0x310 [ 15.091989][ C2] debugfs_create_dir+0x6a/0x540 [ 15.092174][ C2] component_debug_init+0x17/0x30 [ 15.092363][ C2] do_one_initcall+0x8f/0x1e0 [ 15.092547][ C2] do_initcalls+0x176/0x280 [ 15.092733][ C2] kernel_init_freeable+0x22d/0x300 [ 15.092919][ C2] kernel_init+0x20/0x200 [ 15.093104][ C2] ret_from_fork+0x240/0x320 [ 15.093290][ C2] ret_from_fork_asm+0x1a/0x30 [ 15.093471][ C2] irq event stamp: 291966 [ 15.093614][ C2] hardirqs last enabled at (291966): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.093981][ C2] hardirqs last disabled at (291965): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.094349][ C2] softirqs last enabled at (289898): [] handle_softirqs+0x358/0x620 [ 15.094674][ C2] softirqs last disabled at (289917): [] __irq_exit_rcu+0xfa/0x160 [ 15.095003][ C2] [ 15.095003][ C2] other info that might help us debug this: [ 15.095278][ C2] Possible unsafe locking scenario: [ 15.095278][ C2] [ 15.095549][ C2] CPU0 [ 15.095687][ C2] ---- [ 15.095826][ C2] lock(pin_fs_lock); [ 15.095969][ C2] [ 15.096111][ C2] lock(pin_fs_lock); [ 15.096253][ C2] [ 15.096253][ C2] *** DEADLOCK *** [ 15.096253][ C2] [ 15.096524][ C2] 1 lock held by swapper/2/0: [ 15.096711][ C2] #0: ffffffffb1f774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.097039][ C2] [ 15.097039][ C2] stack backtrace: [ 15.097267][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.097271][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.097273][ C2] Call Trace: [ 15.097275][ C2] [ 15.097277][ C2] dump_stack_lvl+0x82/0xd0 [ 15.097284][ C2] print_usage_bug.part.0+0x25f/0x360 [ 15.097289][ C2] mark_lock_irq+0x343/0x400 [ 15.097293][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.097298][ C2] ? save_trace+0x52/0x170 [ 15.097304][ C2] mark_lock+0x174/0x2f0 [ 15.097307][ C2] mark_usage+0x46/0x150 [ 15.097310][ C2] __lock_acquire+0x20b/0x7e0 [ 15.097314][ C2] ? __lock_acquire+0x44d/0x7e0 [ 15.097318][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.097321][ C2] ? simple_pin_fs+0x24/0x150 [ 15.097325][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.097329][ C2] ? lock_acquire+0x10c/0x170 [ 15.097332][ C2] ? simple_pin_fs+0x24/0x150 [ 15.097336][ C2] _raw_spin_lock+0x33/0x40 [ 15.097340][ C2] ? simple_pin_fs+0x24/0x150 [ 15.097343][ C2] simple_pin_fs+0x24/0x150 [ 15.097347][ C2] debugfs_remove+0x35/0x70 [ 15.097350][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.097356][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.097359][ C2] ? __sk_destruct+0x383/0x780 [ 15.097364][ C2] ? rcu_do_batch+0x34c/0xf20 [ 15.097367][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.097370][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.097373][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.097378][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.097382][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.097385][ C2] ? default_idle+0x9/0x10 [ 15.097387][ C2] ? default_idle_call+0x6d/0xb0 [ 15.097390][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.097393][ C2] ? do_idle+0xf6/0x160 [ 15.097396][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.097398][ C2] ? start_secondary+0x213/0x2a0 [ 15.097401][ C2] ? common_startup_64+0x13e/0x148 [ 15.097409][ C2] __put_net+0x19/0x60 [ 15.097413][ C2] __sk_destruct+0x58a/0x780 [ 15.097417][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.097420][ C2] rcu_do_batch+0x34c/0xf20 [ 15.097423][ C2] ? find_held_lock+0x2b/0x80 [ 15.097427][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.097430][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.097434][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.097437][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.097442][ C2] rcu_core+0x2bb/0x500 [ 15.097446][ C2] handle_softirqs+0x218/0x620 [ 15.097451][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.097454][ C2] irq_exit_rcu+0xe/0x30 [ 15.097457][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.097461][ C2] [ 15.097462][ C2] [ 15.097463][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.097466][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.097470][ 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 [ 15.097473][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 15.097476][ C2] RAX: 0000000000046c7b RBX: 1ffff92000028fc1 RCX: ffffffffb0f8f5d9 [ 15.097478][ C2] RDX: 0000000000000000 RSI: ffffffffb1a8f4e4 RDI: ffffffffb1253be0 [ 15.097480][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 15.097482][ C2] R10: ffff8880361337d3 R11: ffffffffb1c11288 R12: 0000000000000000 [ 15.097483][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 15.097487][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.097492][ C2] default_idle+0x9/0x10 [ 15.097494][ C2] default_idle_call+0x6d/0xb0 [ 15.097497][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.097500][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.097504][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.097508][ C2] do_idle+0xf6/0x160 [ 15.097511][ C2] cpu_startup_entry+0x54/0x60 [ 15.097514][ C2] start_secondary+0x213/0x2a0 [ 15.097517][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.097522][ C2] common_startup_64+0x13e/0x148 [ 15.097529][ C2] [ 15.112441][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.112766][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 15.113081][ C2] preempt_count: 101, expected: 0 [ 15.113268][ C2] RCU nest depth: 0, expected: 0 [ 15.113459][ C2] INFO: lockdep is turned off. [ 15.113641][ C2] Preemption disabled at: [ 15.113643][ C2] [<0000000000000000>] 0x0 [ 15.113972][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.113976][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.113978][ C2] Call Trace: [ 15.113979][ C2] [ 15.113981][ C2] dump_stack_lvl+0xb0/0xd0 [ 15.113988][ C2] __might_resched+0x360/0x5a0 [ 15.113995][ C2] down_write+0x72/0x210 [ 15.113999][ C2] ? __pfx_down_write+0x10/0x10 [ 15.114001][ C2] ? simple_recursive_removal+0x33/0x610 [ 15.114005][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.114009][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.114015][ C2] simple_recursive_removal+0x6a/0x610 [ 15.114017][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.114020][ C2] ? __pfx_remove_one+0x10/0x10 [ 15.114026][ C2] debugfs_remove+0x44/0x70 [ 15.114029][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.114033][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.114037][ C2] ? __sk_destruct+0x383/0x780 [ 15.114041][ C2] ? rcu_do_batch+0x34c/0xf20 [ 15.114044][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.114047][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.114052][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.114056][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.114059][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.114062][ C2] ? default_idle+0x9/0x10 [ 15.114065][ C2] ? default_idle_call+0x6d/0xb0 [ 15.114067][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.114071][ C2] ? do_idle+0xf6/0x160 [ 15.114073][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.114076][ C2] ? start_secondary+0x213/0x2a0 [ 15.114079][ C2] ? common_startup_64+0x13e/0x148 [ 15.114085][ C2] __put_net+0x19/0x60 [ 15.114088][ C2] __sk_destruct+0x58a/0x780 [ 15.114092][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.114094][ C2] rcu_do_batch+0x34c/0xf20 [ 15.114098][ C2] ? find_held_lock+0x2b/0x80 [ 15.114103][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.114106][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.114110][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.114113][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.114118][ C2] rcu_core+0x2bb/0x500 [ 15.114122][ C2] handle_softirqs+0x218/0x620 [ 15.114127][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.114130][ C2] irq_exit_rcu+0xe/0x30 [ 15.114133][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.114137][ C2] [ 15.114138][ C2] [ 15.114139][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.114142][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.114146][ 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 [ 15.114148][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 15.114151][ C2] RAX: 0000000000046c7b RBX: 1ffff92000028fc1 RCX: ffffffffb0f8f5d9 [ 15.114153][ C2] RDX: 0000000000000000 RSI: ffffffffb1a8f4e4 RDI: ffffffffb1253be0 [ 15.114155][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 15.114156][ C2] R10: ffff8880361337d3 R11: ffffffffb1c11288 R12: 0000000000000000 [ 15.114158][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 15.114162][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.114166][ C2] default_idle+0x9/0x10 [ 15.114169][ C2] default_idle_call+0x6d/0xb0 [ 15.114172][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.114175][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.114178][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.114183][ C2] do_idle+0xf6/0x160 [ 15.114186][ C2] cpu_startup_entry+0x54/0x60 [ 15.114189][ C2] start_secondary+0x213/0x2a0 [ 15.114191][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.114196][ C2] common_startup_64+0x13e/0x148 [ 15.114203][ C2] [ 16.802018][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.802436][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 16.802738][ C3] preempt_count: 101, expected: 0 [ 16.802904][ C3] RCU nest depth: 0, expected: 0 [ 16.803077][ C3] INFO: lockdep is turned off. [ 16.803247][ C3] Preemption disabled at: [ 16.803249][ C3] [<0000000000000000>] 0x0 [ 16.803566][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.803571][ C3] Tainted: [W]=WARN [ 16.803573][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.803575][ C3] Call Trace: [ 16.803576][ C3] [ 16.803578][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.803587][ C3] __might_resched+0x360/0x5a0 [ 16.803594][ C3] down_write+0x72/0x210 [ 16.803599][ C3] ? __pfx_down_write+0x10/0x10 [ 16.803602][ C3] ? simple_recursive_removal+0x33/0x610 [ 16.803606][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.803612][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.803617][ C3] simple_recursive_removal+0x6a/0x610 [ 16.803620][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.803623][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.803629][ C3] debugfs_remove+0x44/0x70 [ 16.803632][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.803638][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.803642][ C3] ? __sk_destruct+0x383/0x780 [ 16.803647][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.803650][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.803653][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.803658][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.803663][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.803667][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.803670][ C3] ? default_idle+0x9/0x10 [ 16.803673][ C3] ? default_idle_call+0x6d/0xb0 [ 16.803675][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.803679][ C3] ? do_idle+0xf6/0x160 [ 16.803681][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.803684][ C3] ? start_secondary+0x213/0x2a0 [ 16.803687][ C3] ? common_startup_64+0x13e/0x148 [ 16.803693][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.803697][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.803701][ C3] __put_net+0x19/0x60 [ 16.803705][ C3] __sk_destruct+0x58a/0x780 [ 16.803709][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.803712][ C3] rcu_do_batch+0x34c/0xf20 [ 16.803716][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.803720][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.803726][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.803732][ C3] rcu_core+0x2bb/0x500 [ 16.803737][ C3] handle_softirqs+0x218/0x620 [ 16.803742][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.803745][ C3] irq_exit_rcu+0xe/0x30 [ 16.803748][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.803751][ C3] [ 16.803752][ C3] [ 16.803754][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.803756][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.803761][ C3] 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 [ 16.803764][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 16.803768][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffffb0f8f5d9 [ 16.803770][ C3] RDX: ffffed1006c366fb RSI: ffffffffb1253b60 RDI: ffffffffae78d18f [ 16.803772][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 16.803774][ C3] R10: ffff8880361b37d3 R11: ffff888002724ad8 R12: 0000000000000000 [ 16.803776][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.803780][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.803783][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.803787][ C3] default_idle+0x9/0x10 [ 16.803789][ C3] default_idle_call+0x6d/0xb0 [ 16.803792][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.803795][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.803799][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.803803][ C3] do_idle+0xf6/0x160 [ 16.803807][ C3] cpu_startup_entry+0x54/0x60 [ 16.803809][ C3] start_secondary+0x213/0x2a0 [ 16.803812][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.803817][ C3] common_startup_64+0x13e/0x148 [ 16.803824][ C3]