[ 15.875191][ T226] TCP: tun0: Driver has suspect GRO implementation, TCP performance may be compromised. [ 15.964639][ C3] [ 15.964795][ C3] ================================ [ 15.965008][ C3] WARNING: inconsistent lock state [ 15.965213][ C3] 6.15.0-rc7-virtme #1 Not tainted [ 15.965431][ C3] -------------------------------- [ 15.965630][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.965888][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.966141][ C3] ffffffff8e9bff78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.966499][ C3] {SOFTIRQ-ON-W} state was registered at: [ 15.966706][ C3] __lock_acquire+0x3eb/0x9d0 [ 15.966917][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.967117][ C3] _raw_spin_lock+0x33/0x40 [ 15.967320][ C3] simple_pin_fs+0x24/0x150 [ 15.967520][ C3] start_creating.part.0+0x3f/0x2f0 [ 15.967722][ C3] debugfs_create_dir+0x6a/0x540 [ 15.967923][ C3] component_debug_init+0x17/0x30 [ 15.968129][ C3] do_one_initcall+0x8f/0x1e0 [ 15.968334][ C3] do_initcalls+0x176/0x280 [ 15.968537][ C3] kernel_init_freeable+0x22d/0x300 [ 15.968737][ C3] kernel_init+0x20/0x200 [ 15.968942][ C3] ret_from_fork+0x31/0x70 [ 15.969147][ C3] ret_from_fork_asm+0x1a/0x30 [ 15.969346][ C3] irq event stamp: 298628 [ 15.969499][ C3] hardirqs last enabled at (298628): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.969907][ C3] hardirqs last disabled at (298627): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.970308][ C3] softirqs last enabled at (297296): [] handle_softirqs+0x358/0x620 [ 15.970661][ C3] softirqs last disabled at (297315): [] __irq_exit_rcu+0xfa/0x160 [ 15.971011][ C3] [ 15.971011][ C3] other info that might help us debug this: [ 15.971307][ C3] Possible unsafe locking scenario: [ 15.971307][ C3] [ 15.971608][ C3] CPU0 [ 15.971761][ C3] ---- [ 15.971912][ C3] lock(pin_fs_lock); [ 15.972064][ C3] [ 15.972213][ C3] lock(pin_fs_lock); [ 15.972366][ C3] [ 15.972366][ C3] *** DEADLOCK *** [ 15.972366][ C3] [ 15.972661][ C3] 1 lock held by swapper/3/0: [ 15.972862][ C3] #0: ffffffff8e7749c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.973222][ C3] [ 15.973222][ C3] stack backtrace: [ 15.973472][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 15.973477][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.973480][ C3] Call Trace: [ 15.973482][ C3] [ 15.973484][ C3] dump_stack_lvl+0x82/0xd0 [ 15.973491][ C3] print_usage_bug.part.0+0x25f/0x360 [ 15.973496][ C3] mark_lock_irq+0x343/0x400 [ 15.973502][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.973509][ C3] ? save_trace+0x52/0x170 [ 15.973513][ C3] mark_lock+0x174/0x2f0 [ 15.973518][ C3] mark_usage+0x46/0x150 [ 15.973522][ C3] __lock_acquire+0x3eb/0x9d0 [ 15.973527][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.973530][ C3] ? simple_pin_fs+0x24/0x150 [ 15.973533][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.973540][ C3] ? lock_acquire+0x10c/0x170 [ 15.973542][ C3] ? simple_pin_fs+0x24/0x150 [ 15.973545][ C3] _raw_spin_lock+0x33/0x40 [ 15.973549][ C3] ? simple_pin_fs+0x24/0x150 [ 15.973551][ C3] simple_pin_fs+0x24/0x150 [ 15.973554][ C3] debugfs_remove+0x35/0x70 [ 15.973557][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.973563][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.973566][ C3] ? __sk_destruct+0x383/0x780 [ 15.973573][ C3] ? rcu_do_batch+0x34f/0xf20 [ 15.973576][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.973579][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.973582][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.973587][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.973591][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.973595][ C3] ? default_idle+0x9/0x10 [ 15.973597][ C3] ? default_idle_call+0x6d/0xb0 [ 15.973599][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.973604][ C3] ? do_idle+0xf6/0x160 [ 15.973607][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.973610][ C3] ? start_secondary+0x213/0x2a0 [ 15.973615][ C3] ? common_startup_64+0x13e/0x148 [ 15.973622][ C3] __put_net+0x19/0x60 [ 15.973627][ C3] __sk_destruct+0x58a/0x780 [ 15.973631][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.973634][ C3] rcu_do_batch+0x34f/0xf20 [ 15.973638][ C3] ? find_held_lock+0x2b/0x80 [ 15.973642][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.973646][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.973650][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.973653][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.973658][ C3] rcu_core+0x2bb/0x500 [ 15.973662][ C3] handle_softirqs+0x218/0x620 [ 15.973667][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.973669][ C3] irq_exit_rcu+0xe/0x30 [ 15.973672][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.973675][ C3] [ 15.973676][ C3] [ 15.973678][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.973681][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.973685][ 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.973688][ C3] RSP: 0000:ffffc90000157de8 EFLAGS: 00000242 [ 15.973692][ C3] RAX: 0000000000048961 RBX: 1ffff9200002afc1 RCX: ffffffff8d75ba19 [ 15.973694][ C3] RDX: 0000000000000000 RSI: ffffffff8e287785 RDI: ffffffff8da51260 [ 15.973695][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 15.973697][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 15.973699][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 15.973703][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.973708][ C3] default_idle+0x9/0x10 [ 15.973710][ C3] default_idle_call+0x6d/0xb0 [ 15.973712][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.973716][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.973720][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.973725][ C3] do_idle+0xf6/0x160 [ 15.973729][ C3] cpu_startup_entry+0x54/0x60 [ 15.973733][ C3] start_secondary+0x213/0x2a0 [ 15.973736][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.973742][ C3] common_startup_64+0x13e/0x148 [ 15.973748][ C3] [ 15.989956][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.990291][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 15.990645][ C3] preempt_count: 101, expected: 0 [ 15.990833][ C3] RCU nest depth: 0, expected: 0 [ 15.991026][ C3] INFO: lockdep is turned off. [ 15.991227][ C3] Preemption disabled at: [ 15.991229][ C3] [<0000000000000000>] 0x0 [ 15.991578][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 15.991582][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.991585][ C3] Call Trace: [ 15.991587][ C3] [ 15.991589][ C3] dump_stack_lvl+0xb0/0xd0 [ 15.991596][ C3] __might_resched+0x360/0x5a0 [ 15.991602][ C3] down_write+0x72/0x210 [ 15.991607][ C3] ? __pfx_down_write+0x10/0x10 [ 15.991611][ C3] ? simple_recursive_removal+0x3a/0x860 [ 15.991616][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.991623][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.991628][ C3] simple_recursive_removal+0x166/0x860 [ 15.991631][ C3] ? __pfx_remove_one+0x10/0x10 [ 15.991635][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.991640][ C3] debugfs_remove+0x44/0x70 [ 15.991643][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.991649][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.991652][ C3] ? __sk_destruct+0x383/0x780 [ 15.991657][ C3] ? rcu_do_batch+0x34f/0xf20 [ 15.991661][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.991664][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.991668][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.991673][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.991676][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.991679][ C3] ? default_idle+0x9/0x10 [ 15.991682][ C3] ? default_idle_call+0x6d/0xb0 [ 15.991684][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.991690][ C3] ? do_idle+0xf6/0x160 [ 15.991693][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.991696][ C3] ? start_secondary+0x213/0x2a0 [ 15.991701][ C3] ? common_startup_64+0x13e/0x148 [ 15.991708][ C3] __put_net+0x19/0x60 [ 15.991712][ C3] __sk_destruct+0x58a/0x780 [ 15.991716][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.991719][ C3] rcu_do_batch+0x34f/0xf20 [ 15.991723][ C3] ? find_held_lock+0x2b/0x80 [ 15.991728][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.991732][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.991736][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.991740][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.991745][ C3] rcu_core+0x2bb/0x500 [ 15.991749][ C3] handle_softirqs+0x218/0x620 [ 15.991754][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.991756][ C3] irq_exit_rcu+0xe/0x30 [ 15.991759][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.991762][ C3] [ 15.991763][ C3] [ 15.991765][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.991767][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.991772][ 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.991774][ C3] RSP: 0000:ffffc90000157de8 EFLAGS: 00000242 [ 15.991777][ C3] RAX: 0000000000048961 RBX: 1ffff9200002afc1 RCX: ffffffff8d75ba19 [ 15.991779][ C3] RDX: 0000000000000000 RSI: ffffffff8e287785 RDI: ffffffff8da51260 [ 15.991781][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 15.991783][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 15.991785][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 15.991789][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.991793][ C3] default_idle+0x9/0x10 [ 15.991795][ C3] default_idle_call+0x6d/0xb0 [ 15.991798][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.991802][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.991806][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.991811][ C3] do_idle+0xf6/0x160 [ 15.991815][ C3] cpu_startup_entry+0x54/0x60 [ 15.991819][ C3] start_secondary+0x213/0x2a0 [ 15.991822][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.991827][ C3] common_startup_64+0x13e/0x148 [ 15.991834][ C3] [ 17.654385][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.654701][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 22, name: ksoftirqd/1 [ 17.654996][ C1] preempt_count: 100, expected: 0 [ 17.655157][ C1] RCU nest depth: 0, expected: 0 [ 17.655319][ C1] INFO: lockdep is turned off. [ 17.655514][ C1] Preemption disabled at: [ 17.655517][ C1] [] handle_softirqs+0xe5/0x620 [ 17.655851][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Tainted: G W 6.15.0-rc7-virtme #1 PREEMPT(full) [ 17.655858][ C1] Tainted: [W]=WARN [ 17.655859][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.655861][ C1] Call Trace: [ 17.655864][ C1] [ 17.655866][ C1] dump_stack_lvl+0xb0/0xd0 [ 17.655876][ C1] __might_resched+0x360/0x5a0 [ 17.655884][ C1] down_write+0x72/0x210 [ 17.655890][ C1] ? __pfx_down_write+0x10/0x10 [ 17.655894][ C1] ? simple_recursive_removal+0x3a/0x860 [ 17.655900][ C1] ? rcu_is_watching+0x12/0xc0 [ 17.655909][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 17.655915][ C1] simple_recursive_removal+0x166/0x860 [ 17.655918][ C1] ? __pfx_remove_one+0x10/0x10 [ 17.655924][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 17.655929][ C1] debugfs_remove+0x44/0x70 [ 17.655932][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 17.655939][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.655942][ C1] ? __sk_destruct+0x383/0x780 [ 17.655949][ C1] ? rcu_do_batch+0x34f/0xf20 [ 17.655955][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.655958][ C1] ? smpboot_thread_fn+0x307/0x960 [ 17.655961][ C1] ? kthread+0x37b/0x600 [ 17.655966][ C1] ? ret_from_fork+0x31/0x70 [ 17.655970][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 17.655978][ C1] ? migrate_enable+0x1f2/0x270 [ 17.655983][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 17.655987][ C1] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.655991][ C1] ? rcu_is_watching+0x12/0xc0 [ 17.655996][ C1] __put_net+0x19/0x60 [ 17.656001][ C1] __sk_destruct+0x58a/0x780 [ 17.656005][ C1] ? rcu_do_batch+0x34a/0xf20 [ 17.656008][ C1] rcu_do_batch+0x34f/0xf20 [ 17.656013][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.656017][ C1] ? rcu_is_watching+0x12/0xc0 [ 17.656020][ C1] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.656026][ C1] rcu_core+0x2bb/0x500 [ 17.656031][ C1] handle_softirqs+0x218/0x620 [ 17.656034][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 17.656038][ C1] run_ksoftirqd+0x3f/0x70 [ 17.656040][ C1] smpboot_thread_fn+0x307/0x960 [ 17.656043][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 17.656047][ C1] kthread+0x37b/0x600 [ 17.656050][ C1] ? __pfx_kthread+0x10/0x10 [ 17.656053][ C1] ? ret_from_fork+0x1b/0x70 [ 17.656055][ C1] ? __lock_release+0x5d/0x170 [ 17.656058][ C1] ? rcu_is_watching+0x12/0xc0 [ 17.656061][ C1] ? __pfx_kthread+0x10/0x10 [ 17.656065][ C1] ret_from_fork+0x31/0x70 [ 17.656067][ C1] ? __pfx_kthread+0x10/0x10 [ 17.656070][ C1] ret_from_fork_asm+0x1a/0x30 [ 17.656077][ C1]