[ 614.668715][ T4971] mpls_gso: MPLS GSO support [ 1030.774817][ C0] [ 1030.774965][ C0] ================================ [ 1030.775173][ C0] WARNING: inconsistent lock state [ 1030.775382][ C0] 6.15.0-virtme #1 Not tainted [ 1030.775585][ C0] -------------------------------- [ 1030.775789][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 1030.776046][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 1030.776298][ C0] ffffffff997daf78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 1030.776663][ C0] {SOFTIRQ-ON-W} state was registered at: [ 1030.776868][ C0] __lock_acquire+0x20b/0x7e0 [ 1030.777108][ C0] lock_acquire.part.0+0xb6/0x240 [ 1030.777319][ C0] _raw_spin_lock+0x33/0x40 [ 1030.777528][ C0] simple_pin_fs+0x24/0x150 [ 1030.777733][ C0] start_creating.part.0+0x52/0x310 [ 1030.777939][ C0] debugfs_create_dir+0x6a/0x540 [ 1030.778147][ C0] component_debug_init+0x17/0x30 [ 1030.778364][ C0] do_one_initcall+0x8f/0x1e0 [ 1030.778573][ C0] do_initcalls+0x176/0x280 [ 1030.778781][ C0] kernel_init_freeable+0x22d/0x300 [ 1030.778985][ C0] kernel_init+0x20/0x200 [ 1030.779195][ C0] ret_from_fork+0x240/0x320 [ 1030.779403][ C0] ret_from_fork_asm+0x1a/0x30 [ 1030.779608][ C0] irq event stamp: 14620762 [ 1030.779812][ C0] hardirqs last enabled at (14620762): [] kasan_quarantine_put+0x10d/0x230 [ 1030.780227][ C0] hardirqs last disabled at (14620761): [] kasan_quarantine_put+0xb8/0x230 [ 1030.780632][ C0] softirqs last enabled at (14620722): [] handle_softirqs+0x358/0x620 [ 1030.781005][ C0] softirqs last disabled at (14620735): [] __irq_exit_rcu+0xfa/0x160 [ 1030.781367][ C0] [ 1030.781367][ C0] other info that might help us debug this: [ 1030.781671][ C0] Possible unsafe locking scenario: [ 1030.781671][ C0] [ 1030.781976][ C0] CPU0 [ 1030.782129][ C0] ---- [ 1030.782285][ C0] lock(pin_fs_lock); [ 1030.782445][ C0] [ 1030.782595][ C0] lock(pin_fs_lock); [ 1030.782752][ C0] [ 1030.782752][ C0] *** DEADLOCK *** [ 1030.782752][ C0] [ 1030.783052][ C0] 1 lock held by swapper/0/0: [ 1030.783259][ C0] #0: ffffffff9958b540 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 1030.783632][ C0] [ 1030.783632][ C0] stack backtrace: [ 1030.783884][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 1030.783889][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1030.783891][ C0] Call Trace: [ 1030.783894][ C0] [ 1030.783895][ C0] dump_stack_lvl+0x82/0xd0 [ 1030.783903][ C0] print_usage_bug.part.0+0x25f/0x360 [ 1030.783907][ C0] mark_lock_irq+0x343/0x400 [ 1030.783911][ C0] ? start_kernel+0x350/0x410 [ 1030.783914][ C0] ? x86_64_start_reservations+0x18/0x30 [ 1030.783919][ C0] ? x86_64_start_kernel+0xf8/0x150 [ 1030.783923][ C0] ? common_startup_64+0x13e/0x148 [ 1030.783928][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 1030.783933][ C0] ? save_trace+0x52/0x170 [ 1030.783939][ C0] mark_lock+0x174/0x2f0 [ 1030.783943][ C0] mark_usage+0x46/0x150 [ 1030.783945][ C0] __lock_acquire+0x20b/0x7e0 [ 1030.783950][ C0] lock_acquire.part.0+0xb6/0x240 [ 1030.783953][ C0] ? simple_pin_fs+0x24/0x150 [ 1030.783957][ C0] ? rcu_is_watching+0x12/0xc0 [ 1030.783960][ C0] ? lock_acquire+0x10c/0x170 [ 1030.783963][ C0] ? simple_pin_fs+0x24/0x150 [ 1030.783966][ C0] _raw_spin_lock+0x33/0x40 [ 1030.783969][ C0] ? simple_pin_fs+0x24/0x150 [ 1030.783972][ C0] simple_pin_fs+0x24/0x150 [ 1030.783975][ C0] debugfs_remove+0x35/0x70 [ 1030.783978][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 1030.783984][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 1030.783987][ C0] ? __sk_destruct+0x383/0x780 [ 1030.783992][ C0] ? rcu_do_batch+0x34f/0xf20 [ 1030.783995][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 1030.783998][ C0] ? irq_exit_rcu+0xe/0x30 [ 1030.784001][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 1030.784006][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1030.784009][ C0] ? pv_native_safe_halt+0xf/0x20 [ 1030.784012][ C0] ? default_idle+0x9/0x10 [ 1030.784015][ C0] ? default_idle_call+0x6d/0xb0 [ 1030.784017][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 1030.784020][ C0] ? do_idle+0xf6/0x160 [ 1030.784022][ C0] ? cpu_startup_entry+0x54/0x60 [ 1030.784024][ C0] ? rest_init+0x14b/0x260 [ 1030.784027][ C0] ? start_kernel+0x350/0x410 [ 1030.784032][ C0] __put_net+0x19/0x60 [ 1030.784037][ C0] __sk_destruct+0x58a/0x780 [ 1030.784040][ C0] ? rcu_do_batch+0x34a/0xf20 [ 1030.784044][ C0] rcu_do_batch+0x34f/0xf20 [ 1030.784048][ C0] ? find_held_lock+0x2b/0x80 [ 1030.784053][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 1030.784057][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 1030.784060][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 1030.784064][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 1030.784069][ C0] rcu_core+0x2bb/0x500 [ 1030.784074][ C0] handle_softirqs+0x21b/0x620 [ 1030.784079][ C0] __irq_exit_rcu+0xfa/0x160 [ 1030.784081][ C0] irq_exit_rcu+0xe/0x30 [ 1030.784084][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 1030.784087][ C0] [ 1030.784089][ C0] [ 1030.784090][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1030.784093][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 1030.784097][ C0] Code: 92 d0 00 e9 03 55 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 63 97 22 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 1030.784100][ C0] RSP: 0018:ffffffff99207df8 EFLAGS: 00000242 [ 1030.784103][ C0] RAX: 0000000000df183d RBX: 1ffffffff3240fc3 RCX: ffffffff97e6a5f9 [ 1030.784106][ C0] RDX: 0000000000000000 RSI: ffffffff98b15cea RDI: ffffffff982568c0 [ 1030.784107][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed100d9c66fa [ 1030.784109][ C0] R10: ffff88806ce337d3 R11: ffffffff99211288 R12: 0000000000000000 [ 1030.784110][ C0] R13: ffffffff99233240 R14: dffffc0000000000 R15: 0000000000014770 [ 1030.784114][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 1030.784120][ C0] default_idle+0x9/0x10 [ 1030.784122][ C0] default_idle_call+0x6d/0xb0 [ 1030.784124][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 1030.784127][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 1030.784131][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 1030.784136][ C0] do_idle+0xf6/0x160 [ 1030.784139][ C0] cpu_startup_entry+0x54/0x60 [ 1030.784142][ C0] rest_init+0x14b/0x260 [ 1030.784145][ C0] start_kernel+0x350/0x410 [ 1030.784149][ C0] x86_64_start_reservations+0x18/0x30 [ 1030.784153][ C0] x86_64_start_kernel+0xf8/0x150 [ 1030.784156][ C0] common_startup_64+0x13e/0x148 [ 1030.784163][ C0] [ 1030.802302][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 1030.802642][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 1030.802982][ C0] preempt_count: 101, expected: 0 [ 1030.803176][ C0] RCU nest depth: 0, expected: 0 [ 1030.803370][ C0] INFO: lockdep is turned off. [ 1030.803567][ C0] Preemption disabled at: [ 1030.803569][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 1030.804136][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 1030.804140][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1030.804142][ C0] Call Trace: [ 1030.804144][ C0] [ 1030.804145][ C0] dump_stack_lvl+0xb0/0xd0 [ 1030.804152][ C0] __might_resched+0x360/0x5a0 [ 1030.804160][ C0] down_write+0x72/0x210 [ 1030.804164][ C0] ? __pfx_down_write+0x10/0x10 [ 1030.804166][ C0] ? simple_recursive_removal+0x33/0x610 [ 1030.804171][ C0] ? rcu_is_watching+0x12/0xc0 [ 1030.804176][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 1030.804181][ C0] simple_recursive_removal+0x6a/0x610 [ 1030.804184][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 1030.804188][ C0] ? __pfx_remove_one+0x10/0x10 [ 1030.804195][ C0] debugfs_remove+0x44/0x70 [ 1030.804198][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 1030.804203][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 1030.804206][ C0] ? __sk_destruct+0x383/0x780 [ 1030.804209][ C0] ? rcu_do_batch+0x34f/0xf20 [ 1030.804214][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 1030.804217][ C0] ? irq_exit_rcu+0xe/0x30 [ 1030.804222][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 1030.804227][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1030.804230][ C0] ? pv_native_safe_halt+0xf/0x20 [ 1030.804234][ C0] ? default_idle+0x9/0x10 [ 1030.804236][ C0] ? default_idle_call+0x6d/0xb0 [ 1030.804239][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 1030.804242][ C0] ? do_idle+0xf6/0x160 [ 1030.804244][ C0] ? cpu_startup_entry+0x54/0x60 [ 1030.804246][ C0] ? rest_init+0x14b/0x260 [ 1030.804248][ C0] ? start_kernel+0x350/0x410 [ 1030.804256][ C0] __put_net+0x19/0x60 [ 1030.804261][ C0] __sk_destruct+0x58a/0x780 [ 1030.804264][ C0] ? rcu_do_batch+0x34a/0xf20 [ 1030.804268][ C0] rcu_do_batch+0x34f/0xf20 [ 1030.804272][ C0] ? find_held_lock+0x2b/0x80 [ 1030.804278][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 1030.804282][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 1030.804287][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 1030.804291][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 1030.804296][ C0] rcu_core+0x2bb/0x500 [ 1030.804301][ C0] handle_softirqs+0x21b/0x620 [ 1030.804306][ C0] __irq_exit_rcu+0xfa/0x160 [ 1030.804309][ C0] irq_exit_rcu+0xe/0x30 [ 1030.804311][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 1030.804315][ C0] [ 1030.804316][ C0] [ 1030.804317][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1030.804320][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 1030.804324][ C0] Code: 92 d0 00 e9 03 55 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 63 97 22 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 1030.804327][ C0] RSP: 0018:ffffffff99207df8 EFLAGS: 00000242 [ 1030.804330][ C0] RAX: 0000000000df183d RBX: 1ffffffff3240fc3 RCX: ffffffff97e6a5f9 [ 1030.804332][ C0] RDX: 0000000000000000 RSI: ffffffff98b15cea RDI: ffffffff982568c0 [ 1030.804333][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed100d9c66fa [ 1030.804335][ C0] R10: ffff88806ce337d3 R11: ffffffff99211288 R12: 0000000000000000 [ 1030.804337][ C0] R13: ffffffff99233240 R14: dffffc0000000000 R15: 0000000000014770 [ 1030.804341][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 1030.804346][ C0] default_idle+0x9/0x10 [ 1030.804348][ C0] default_idle_call+0x6d/0xb0 [ 1030.804350][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 1030.804353][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 1030.804357][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 1030.804362][ C0] do_idle+0xf6/0x160 [ 1030.804365][ C0] cpu_startup_entry+0x54/0x60 [ 1030.804368][ C0] rest_init+0x14b/0x260 [ 1030.804371][ C0] start_kernel+0x350/0x410 [ 1030.804375][ C0] x86_64_start_reservations+0x18/0x30 [ 1030.804379][ C0] x86_64_start_kernel+0xf8/0x150 [ 1030.804383][ C0] common_startup_64+0x13e/0x148 [ 1030.804391][ C0]