[ 16.809242][ T227] TCP: tun0: Driver has suspect GRO implementation, TCP performance may be compromised. [ 17.206025][ C3] [ 17.206180][ C3] ================================ [ 17.206383][ C3] WARNING: inconsistent lock state [ 17.206584][ C3] 6.15.0-virtme #1 Not tainted [ 17.206800][ C3] -------------------------------- [ 17.207001][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 17.207255][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 17.207504][ C3] ffffffffa9dc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 17.207858][ C3] {SOFTIRQ-ON-W} state was registered at: [ 17.208059][ C3] __lock_acquire+0x20b/0x7e0 [ 17.208264][ C3] lock_acquire.part.0+0xb6/0x240 [ 17.208474][ C3] _raw_spin_lock+0x33/0x40 [ 17.208676][ C3] simple_pin_fs+0x24/0x150 [ 17.208874][ C3] start_creating.part.0+0x52/0x310 [ 17.209077][ C3] debugfs_create_dir+0x6a/0x540 [ 17.209276][ C3] component_debug_init+0x17/0x30 [ 17.209476][ C3] do_one_initcall+0x8f/0x1e0 [ 17.209682][ C3] do_initcalls+0x176/0x280 [ 17.209882][ C3] kernel_init_freeable+0x22d/0x300 [ 17.210084][ C3] kernel_init+0x20/0x200 [ 17.210313][ C3] ret_from_fork+0x240/0x320 [ 17.210514][ C3] ret_from_fork_asm+0x1a/0x30 [ 17.210713][ C3] irq event stamp: 284766 [ 17.210863][ C3] hardirqs last enabled at (284766): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.211269][ C3] hardirqs last disabled at (284765): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 17.211669][ C3] softirqs last enabled at (282602): [] handle_softirqs+0x358/0x620 [ 17.212021][ C3] softirqs last disabled at (282633): [] __irq_exit_rcu+0xfa/0x160 [ 17.212370][ C3] [ 17.212370][ C3] other info that might help us debug this: [ 17.212676][ C3] Possible unsafe locking scenario: [ 17.212676][ C3] [ 17.212973][ C3] CPU0 [ 17.213125][ C3] ---- [ 17.213284][ C3] lock(pin_fs_lock); [ 17.213436][ C3] [ 17.213588][ C3] lock(pin_fs_lock); [ 17.213747][ C3] [ 17.213747][ C3] *** DEADLOCK *** [ 17.213747][ C3] [ 17.214050][ C3] 1 lock held by swapper/3/0: [ 17.214258][ C3] #0: ffffffffa9b774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 17.214619][ C3] [ 17.214619][ C3] stack backtrace: [ 17.214867][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 17.214872][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.214874][ C3] Call Trace: [ 17.214876][ C3] [ 17.214879][ C3] dump_stack_lvl+0x82/0xd0 [ 17.214886][ C3] print_usage_bug.part.0+0x25f/0x360 [ 17.214893][ C3] mark_lock_irq+0x343/0x400 [ 17.214901][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 17.214906][ C3] ? save_trace+0x52/0x170 [ 17.214912][ C3] mark_lock+0x174/0x2f0 [ 17.214916][ C3] mark_usage+0x46/0x150 [ 17.214919][ C3] __lock_acquire+0x20b/0x7e0 [ 17.214922][ C3] ? __lock_acquire+0x44d/0x7e0 [ 17.214927][ C3] lock_acquire.part.0+0xb6/0x240 [ 17.214930][ C3] ? simple_pin_fs+0x24/0x150 [ 17.214934][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.214938][ C3] ? lock_acquire+0x10c/0x170 [ 17.214941][ C3] ? simple_pin_fs+0x24/0x150 [ 17.214946][ C3] _raw_spin_lock+0x33/0x40 [ 17.214949][ C3] ? simple_pin_fs+0x24/0x150 [ 17.214952][ C3] simple_pin_fs+0x24/0x150 [ 17.214957][ C3] debugfs_remove+0x35/0x70 [ 17.214960][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 17.214966][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.214969][ C3] ? __sk_destruct+0x383/0x780 [ 17.214974][ C3] ? rcu_do_batch+0x34c/0xf20 [ 17.214977][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.214980][ C3] ? irq_exit_rcu+0xe/0x30 [ 17.214983][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.214988][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.214992][ C3] ? pv_native_safe_halt+0xf/0x20 [ 17.214995][ C3] ? default_idle+0x9/0x10 [ 17.214998][ C3] ? default_idle_call+0x6d/0xb0 [ 17.215000][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.215004][ C3] ? do_idle+0xf6/0x160 [ 17.215006][ C3] ? cpu_startup_entry+0x54/0x60 [ 17.215009][ C3] ? start_secondary+0x213/0x2a0 [ 17.215012][ C3] ? common_startup_64+0x13e/0x148 [ 17.215020][ C3] __put_net+0x19/0x60 [ 17.215023][ C3] __sk_destruct+0x58a/0x780 [ 17.215027][ C3] ? rcu_do_batch+0x34a/0xf20 [ 17.215030][ C3] rcu_do_batch+0x34c/0xf20 [ 17.215033][ C3] ? find_held_lock+0x2b/0x80 [ 17.215037][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.215040][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.215044][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 17.215047][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.215052][ C3] rcu_core+0x2bb/0x500 [ 17.215056][ C3] handle_softirqs+0x218/0x620 [ 17.215062][ C3] __irq_exit_rcu+0xfa/0x160 [ 17.215064][ C3] irq_exit_rcu+0xe/0x30 [ 17.215067][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.215071][ C3] [ 17.215072][ C3] [ 17.215073][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.215076][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.215080][ 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 [ 17.215083][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 17.215086][ C3] RAX: 0000000000045007 RBX: 1ffff9200002afc1 RCX: ffffffffa8b8f5d9 [ 17.215088][ C3] RDX: 0000000000000000 RSI: ffffffffa968f4e4 RDI: ffffffffa8e53be0 [ 17.215090][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005eb66fa [ 17.215092][ C3] R10: ffff88802f5b37d3 R11: ffffffffa9811288 R12: 0000000000000000 [ 17.215093][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 17.215097][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.215102][ C3] default_idle+0x9/0x10 [ 17.215105][ C3] default_idle_call+0x6d/0xb0 [ 17.215108][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 17.215111][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.215115][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.215119][ C3] do_idle+0xf6/0x160 [ 17.215123][ C3] cpu_startup_entry+0x54/0x60 [ 17.215126][ C3] start_secondary+0x213/0x2a0 [ 17.215129][ C3] ? __pfx_start_secondary+0x10/0x10 [ 17.215133][ C3] common_startup_64+0x13e/0x148 [ 17.215140][ C3] [ 17.231350][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.231696][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 17.232056][ C3] preempt_count: 101, expected: 0 [ 17.232257][ C3] RCU nest depth: 0, expected: 0 [ 17.232453][ C3] INFO: lockdep is turned off. [ 17.232648][ C3] Preemption disabled at: [ 17.232650][ C3] [<0000000000000000>] 0x0 [ 17.233003][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 17.233008][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.233010][ C3] Call Trace: [ 17.233012][ C3] [ 17.233014][ C3] dump_stack_lvl+0xb0/0xd0 [ 17.233023][ C3] __might_resched+0x360/0x5a0 [ 17.233030][ C3] down_write+0x72/0x210 [ 17.233034][ C3] ? __pfx_down_write+0x10/0x10 [ 17.233037][ C3] ? simple_recursive_removal+0x33/0x610 [ 17.233041][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.233046][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.233052][ C3] simple_recursive_removal+0x6a/0x610 [ 17.233055][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.233058][ C3] ? __pfx_remove_one+0x10/0x10 [ 17.233063][ C3] debugfs_remove+0x44/0x70 [ 17.233066][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 17.233072][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.233076][ C3] ? __sk_destruct+0x383/0x780 [ 17.233081][ C3] ? rcu_do_batch+0x34c/0xf20 [ 17.233084][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.233088][ C3] ? irq_exit_rcu+0xe/0x30 [ 17.233092][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.233097][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.233102][ C3] ? pv_native_safe_halt+0xf/0x20 [ 17.233106][ C3] ? default_idle+0x9/0x10 [ 17.233111][ C3] ? default_idle_call+0x6d/0xb0 [ 17.233114][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.233117][ C3] ? do_idle+0xf6/0x160 [ 17.233119][ C3] ? cpu_startup_entry+0x54/0x60 [ 17.233122][ C3] ? start_secondary+0x213/0x2a0 [ 17.233125][ C3] ? common_startup_64+0x13e/0x148 [ 17.233133][ C3] __put_net+0x19/0x60 [ 17.233136][ C3] __sk_destruct+0x58a/0x780 [ 17.233141][ C3] ? rcu_do_batch+0x34a/0xf20 [ 17.233143][ C3] rcu_do_batch+0x34c/0xf20 [ 17.233146][ C3] ? find_held_lock+0x2b/0x80 [ 17.233152][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.233156][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.233160][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 17.233163][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.233168][ C3] rcu_core+0x2bb/0x500 [ 17.233173][ C3] handle_softirqs+0x218/0x620 [ 17.233178][ C3] __irq_exit_rcu+0xfa/0x160 [ 17.233181][ C3] irq_exit_rcu+0xe/0x30 [ 17.233183][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.233187][ C3] [ 17.233188][ C3] [ 17.233190][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.233192][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.233196][ 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 [ 17.233199][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 17.233203][ C3] RAX: 0000000000045007 RBX: 1ffff9200002afc1 RCX: ffffffffa8b8f5d9 [ 17.233205][ C3] RDX: 0000000000000000 RSI: ffffffffa968f4e4 RDI: ffffffffa8e53be0 [ 17.233206][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005eb66fa [ 17.233208][ C3] R10: ffff88802f5b37d3 R11: ffffffffa9811288 R12: 0000000000000000 [ 17.233210][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 17.233214][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.233218][ C3] default_idle+0x9/0x10 [ 17.233221][ C3] default_idle_call+0x6d/0xb0 [ 17.233224][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 17.233227][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.233231][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.233235][ C3] do_idle+0xf6/0x160 [ 17.233238][ C3] cpu_startup_entry+0x54/0x60 [ 17.233241][ C3] start_secondary+0x213/0x2a0 [ 17.233244][ C3] ? __pfx_start_secondary+0x10/0x10 [ 17.233248][ C3] common_startup_64+0x13e/0x148 [ 17.233255][ C3] [ 19.720298][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 19.720715][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 19.721066][ C2] preempt_count: 101, expected: 0 [ 19.721266][ C2] RCU nest depth: 0, expected: 0 [ 19.721463][ C2] INFO: lockdep is turned off. [ 19.721664][ C2] Preemption disabled at: [ 19.721666][ C2] [<0000000000000000>] 0x0 [ 19.722030][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 19.722036][ C2] Tainted: [W]=WARN [ 19.722038][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.722040][ C2] Call Trace: [ 19.722043][ C2] [ 19.722045][ C2] dump_stack_lvl+0xb0/0xd0 [ 19.722057][ C2] __might_resched+0x360/0x5a0 [ 19.722067][ C2] down_write+0x72/0x210 [ 19.722073][ C2] ? __pfx_down_write+0x10/0x10 [ 19.722076][ C2] ? simple_recursive_removal+0x33/0x610 [ 19.722082][ C2] ? rcu_is_watching+0x12/0xc0 [ 19.722088][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 19.722096][ C2] simple_recursive_removal+0x6a/0x610 [ 19.722099][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 19.722102][ C2] ? __pfx_remove_one+0x10/0x10 [ 19.722109][ C2] debugfs_remove+0x44/0x70 [ 19.722112][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 19.722120][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 19.722123][ C2] ? __sk_destruct+0x383/0x780 [ 19.722131][ C2] ? rcu_do_batch+0x34c/0xf20 [ 19.722135][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 19.722138][ C2] ? irq_exit_rcu+0xe/0x30 [ 19.722145][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.722151][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.722156][ C2] ? pv_native_safe_halt+0xf/0x20 [ 19.722159][ C2] ? default_idle+0x9/0x10 [ 19.722162][ C2] ? default_idle_call+0x6d/0xb0 [ 19.722165][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 19.722169][ C2] ? do_idle+0xf6/0x160 [ 19.722171][ C2] ? cpu_startup_entry+0x54/0x60 [ 19.722174][ C2] ? start_secondary+0x213/0x2a0 [ 19.722178][ C2] ? common_startup_64+0x13e/0x148 [ 19.722185][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 19.722191][ C2] ? rcu_is_watching+0x12/0xc0 [ 19.722195][ C2] __put_net+0x19/0x60 [ 19.722200][ C2] __sk_destruct+0x58a/0x780 [ 19.722204][ C2] ? rcu_do_batch+0x34a/0xf20 [ 19.722207][ C2] rcu_do_batch+0x34c/0xf20 [ 19.722212][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 19.722216][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 19.722223][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 19.722230][ C2] rcu_core+0x2bb/0x500 [ 19.722235][ C2] handle_softirqs+0x218/0x620 [ 19.722240][ C2] __irq_exit_rcu+0xfa/0x160 [ 19.722243][ C2] irq_exit_rcu+0xe/0x30 [ 19.722246][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.722250][ C2] [ 19.722251][ C2] [ 19.722252][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.722255][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 19.722260][ 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 [ 19.722263][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 19.722267][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffffa8b8f5d9 [ 19.722269][ C2] RDX: ffffed1005ea66fb RSI: ffffffffa8e53b60 RDI: ffffffffa638d18f [ 19.722271][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1005ea66fa [ 19.722273][ C2] R10: ffff88802f5337d3 R11: ffffffffac490298 R12: 0000000000000000 [ 19.722275][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 19.722279][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 19.722282][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 19.722286][ C2] default_idle+0x9/0x10 [ 19.722289][ C2] default_idle_call+0x6d/0xb0 [ 19.722291][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 19.722294][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 19.722298][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 19.722303][ C2] do_idle+0xf6/0x160 [ 19.722306][ C2] cpu_startup_entry+0x54/0x60 [ 19.722309][ C2] start_secondary+0x213/0x2a0 [ 19.722312][ C2] ? __pfx_start_secondary+0x10/0x10 [ 19.722317][ C2] common_startup_64+0x13e/0x148 [ 19.722324][ C2]