[ 15.256184][ C3] [ 15.256405][ C3] ================================ [ 15.256613][ C3] WARNING: inconsistent lock state [ 15.256821][ C3] 6.15.0-rc7-virtme #1 Not tainted [ 15.257020][ C3] -------------------------------- [ 15.257220][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.257468][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.257726][ C3] ffffffff933bff78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.258086][ C3] {SOFTIRQ-ON-W} state was registered at: [ 15.258282][ C3] __lock_acquire+0x3eb/0x9d0 [ 15.258490][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.258691][ C3] _raw_spin_lock+0x33/0x40 [ 15.258897][ C3] simple_pin_fs+0x24/0x150 [ 15.259094][ C3] start_creating.part.0+0x3f/0x2f0 [ 15.259297][ C3] debugfs_create_dir+0x6a/0x540 [ 15.259496][ C3] component_debug_init+0x17/0x30 [ 15.259700][ C3] do_one_initcall+0x8f/0x1e0 [ 15.259904][ C3] do_initcalls+0x176/0x280 [ 15.260120][ C3] kernel_init_freeable+0x22d/0x300 [ 15.260321][ C3] kernel_init+0x20/0x200 [ 15.260520][ C3] ret_from_fork+0x31/0x70 [ 15.260719][ C3] ret_from_fork_asm+0x1a/0x30 [ 15.260920][ C3] irq event stamp: 271694 [ 15.261076][ C3] hardirqs last enabled at (271694): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.261478][ C3] hardirqs last disabled at (271693): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.261879][ C3] softirqs last enabled at (270710): [] handle_softirqs+0x358/0x620 [ 15.262228][ C3] softirqs last disabled at (270735): [] __irq_exit_rcu+0xfa/0x160 [ 15.262580][ C3] [ 15.262580][ C3] other info that might help us debug this: [ 15.262875][ C3] Possible unsafe locking scenario: [ 15.262875][ C3] [ 15.263171][ C3] CPU0 [ 15.263322][ C3] ---- [ 15.263471][ C3] lock(pin_fs_lock); [ 15.263623][ C3] [ 15.263772][ C3] lock(pin_fs_lock); [ 15.263927][ C3] [ 15.263927][ C3] *** DEADLOCK *** [ 15.263927][ C3] [ 15.264225][ C3] 1 lock held by swapper/3/0: [ 15.264427][ C3] #0: ffffffff931749c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.264791][ C3] [ 15.264791][ C3] stack backtrace: [ 15.265042][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 15.265047][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.265049][ C3] Call Trace: [ 15.265051][ C3] [ 15.265054][ C3] dump_stack_lvl+0x82/0xd0 [ 15.265061][ C3] print_usage_bug.part.0+0x25f/0x360 [ 15.265066][ C3] mark_lock_irq+0x343/0x400 [ 15.265071][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.265077][ C3] ? save_trace+0x52/0x170 [ 15.265082][ C3] mark_lock+0x174/0x2f0 [ 15.265086][ C3] mark_usage+0x46/0x150 [ 15.265090][ C3] __lock_acquire+0x3eb/0x9d0 [ 15.265095][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.265098][ C3] ? simple_pin_fs+0x24/0x150 [ 15.265101][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.265108][ C3] ? lock_acquire+0x10c/0x170 [ 15.265110][ C3] ? simple_pin_fs+0x24/0x150 [ 15.265113][ C3] _raw_spin_lock+0x33/0x40 [ 15.265116][ C3] ? simple_pin_fs+0x24/0x150 [ 15.265119][ C3] simple_pin_fs+0x24/0x150 [ 15.265122][ C3] debugfs_remove+0x35/0x70 [ 15.265125][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.265132][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.265135][ C3] ? __sk_destruct+0x383/0x780 [ 15.265143][ C3] ? rcu_do_batch+0x34f/0xf20 [ 15.265146][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.265149][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.265151][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.265156][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.265160][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.265163][ C3] ? default_idle+0x9/0x10 [ 15.265166][ C3] ? default_idle_call+0x6d/0xb0 [ 15.265168][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.265173][ C3] ? do_idle+0xf6/0x160 [ 15.265176][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.265179][ C3] ? start_secondary+0x213/0x2a0 [ 15.265183][ C3] ? common_startup_64+0x13e/0x148 [ 15.265189][ C3] __put_net+0x19/0x60 [ 15.265194][ C3] __sk_destruct+0x58a/0x780 [ 15.265198][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.265201][ C3] rcu_do_batch+0x34f/0xf20 [ 15.265205][ C3] ? find_held_lock+0x2b/0x80 [ 15.265209][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.265213][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.265217][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.265220][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.265225][ C3] rcu_core+0x2bb/0x500 [ 15.265230][ C3] handle_softirqs+0x218/0x620 [ 15.265234][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.265237][ C3] irq_exit_rcu+0xe/0x30 [ 15.265239][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.265243][ C3] [ 15.265244][ C3] [ 15.265245][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.265248][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.265252][ C3] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 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 [ 15.265255][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 15.265258][ C3] RAX: 000000000004218d RBX: 1ffff9200002afc1 RCX: ffffffff9215ba19 [ 15.265260][ C3] RDX: 0000000000000000 RSI: ffffffff92c87785 RDI: ffffffff92451260 [ 15.265262][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 15.265264][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 15.265265][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 15.265269][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.265274][ C3] default_idle+0x9/0x10 [ 15.265277][ C3] default_idle_call+0x6d/0xb0 [ 15.265279][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.265283][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.265287][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.265292][ C3] do_idle+0xf6/0x160 [ 15.265296][ C3] cpu_startup_entry+0x54/0x60 [ 15.265300][ C3] start_secondary+0x213/0x2a0 [ 15.265303][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.265308][ C3] common_startup_64+0x13e/0x148 [ 15.265315][ C3] [ 15.281538][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.281881][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 15.282216][ C3] preempt_count: 101, expected: 0 [ 15.282417][ C3] RCU nest depth: 0, expected: 0 [ 15.282611][ C3] INFO: lockdep is turned off. [ 15.282803][ C3] Preemption disabled at: [ 15.282805][ C3] [<0000000000000000>] 0x0 [ 15.283146][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 15.283150][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.283152][ C3] Call Trace: [ 15.283153][ C3] [ 15.283155][ C3] dump_stack_lvl+0xb0/0xd0 [ 15.283161][ C3] __might_resched+0x360/0x5a0 [ 15.283168][ C3] down_write+0x72/0x210 [ 15.283172][ C3] ? __pfx_down_write+0x10/0x10 [ 15.283175][ C3] ? simple_recursive_removal+0x3a/0x860 [ 15.283180][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.283186][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.283191][ C3] simple_recursive_removal+0x166/0x860 [ 15.283193][ C3] ? __pfx_remove_one+0x10/0x10 [ 15.283197][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.283202][ C3] debugfs_remove+0x44/0x70 [ 15.283205][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.283209][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.283212][ C3] ? __sk_destruct+0x383/0x780 [ 15.283216][ C3] ? rcu_do_batch+0x34f/0xf20 [ 15.283220][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.283223][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.283227][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.283231][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.283234][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.283237][ C3] ? default_idle+0x9/0x10 [ 15.283240][ C3] ? default_idle_call+0x6d/0xb0 [ 15.283242][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.283246][ C3] ? do_idle+0xf6/0x160 [ 15.283249][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.283252][ C3] ? start_secondary+0x213/0x2a0 [ 15.283259][ C3] ? common_startup_64+0x13e/0x148 [ 15.283265][ C3] __put_net+0x19/0x60 [ 15.283268][ C3] __sk_destruct+0x58a/0x780 [ 15.283272][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.283275][ C3] rcu_do_batch+0x34f/0xf20 [ 15.283279][ C3] ? find_held_lock+0x2b/0x80 [ 15.283283][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.283287][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.283291][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.283295][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.283299][ C3] rcu_core+0x2bb/0x500 [ 15.283303][ C3] handle_softirqs+0x218/0x620 [ 15.283308][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.283310][ C3] irq_exit_rcu+0xe/0x30 [ 15.283312][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.283316][ C3] [ 15.283317][ C3] [ 15.283318][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.283321][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.283325][ C3] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 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 [ 15.283328][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 15.283331][ C3] RAX: 000000000004218d RBX: 1ffff9200002afc1 RCX: ffffffff9215ba19 [ 15.283333][ C3] RDX: 0000000000000000 RSI: ffffffff92c87785 RDI: ffffffff92451260 [ 15.283335][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 15.283336][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 15.283338][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 15.283342][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.283346][ C3] default_idle+0x9/0x10 [ 15.283349][ C3] default_idle_call+0x6d/0xb0 [ 15.283351][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.283355][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.283359][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.283364][ C3] do_idle+0xf6/0x160 [ 15.283368][ C3] cpu_startup_entry+0x54/0x60 [ 15.283372][ C3] start_secondary+0x213/0x2a0 [ 15.283375][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.283380][ C3] common_startup_64+0x13e/0x148 [ 15.283387][ C3] [ 16.943552][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.943983][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 16.944310][ C2] preempt_count: 101, expected: 0 [ 16.944498][ C2] RCU nest depth: 0, expected: 0 [ 16.944684][ C2] INFO: lockdep is turned off. [ 16.944872][ C2] Preemption disabled at: [ 16.944874][ C2] [<0000000000000000>] 0x0 [ 16.945214][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-rc7-virtme #1 PREEMPT(full) [ 16.945221][ C2] Tainted: [W]=WARN [ 16.945222][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.945225][ C2] Call Trace: [ 16.945228][ C2] [ 16.945230][ C2] dump_stack_lvl+0xb0/0xd0 [ 16.945240][ C2] __might_resched+0x360/0x5a0 [ 16.945249][ C2] down_write+0x72/0x210 [ 16.945258][ C2] ? __pfx_down_write+0x10/0x10 [ 16.945261][ C2] ? simple_recursive_removal+0x3a/0x860 [ 16.945267][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.945275][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.945281][ C2] simple_recursive_removal+0x166/0x860 [ 16.945284][ C2] ? __pfx_remove_one+0x10/0x10 [ 16.945289][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.945294][ C2] debugfs_remove+0x44/0x70 [ 16.945297][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 16.945303][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.945306][ C2] ? __sk_destruct+0x383/0x780 [ 16.945313][ C2] ? rcu_do_batch+0x34f/0xf20 [ 16.945318][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.945322][ C2] ? irq_exit_rcu+0xe/0x30 [ 16.945327][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.945333][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.945337][ C2] ? pv_native_safe_halt+0xf/0x20 [ 16.945341][ C2] ? default_idle+0x9/0x10 [ 16.945343][ C2] ? default_idle_call+0x6d/0xb0 [ 16.945346][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.945352][ C2] ? do_idle+0xf6/0x160 [ 16.945355][ C2] ? cpu_startup_entry+0x54/0x60 [ 16.945358][ C2] ? start_secondary+0x213/0x2a0 [ 16.945364][ C2] ? common_startup_64+0x13e/0x148 [ 16.945369][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.945375][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.945380][ C2] __put_net+0x19/0x60 [ 16.945385][ C2] __sk_destruct+0x58a/0x780 [ 16.945389][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.945392][ C2] rcu_do_batch+0x34f/0xf20 [ 16.945397][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.945402][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.945408][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.945414][ C2] rcu_core+0x2bb/0x500 [ 16.945418][ C2] handle_softirqs+0x218/0x620 [ 16.945423][ C2] __irq_exit_rcu+0xfa/0x160 [ 16.945426][ C2] irq_exit_rcu+0xe/0x30 [ 16.945428][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.945432][ C2] [ 16.945433][ C2] [ 16.945434][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.945437][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.945442][ C2] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 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.945445][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 16.945449][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffff9215ba19 [ 16.945451][ C2] RDX: ffffed1006c2667b RSI: ffffffff924511e0 RDI: ffffffff8f98633f [ 16.945453][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c2667a [ 16.945454][ C2] R10: ffff8880361333d3 R11: ffffffff95a4d978 R12: 0000000000000000 [ 16.945456][ C2] R13: ffff888001bf2340 R14: dffffc0000000000 R15: 0000000000000000 [ 16.945460][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.945463][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.945468][ C2] default_idle+0x9/0x10 [ 16.945470][ C2] default_idle_call+0x6d/0xb0 [ 16.945473][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 16.945476][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.945481][ C2] ? tsc_verify_tsc_adjust+0x98/0x300 [ 16.945486][ C2] do_idle+0xf6/0x160 [ 16.945490][ C2] cpu_startup_entry+0x54/0x60 [ 16.945494][ C2] start_secondary+0x213/0x2a0 [ 16.945498][ C2] ? __pfx_start_secondary+0x10/0x10 [ 16.945503][ C2] common_startup_64+0x13e/0x148 [ 16.945510][ C2]