[ 15.322697][ T226] TCP: tun0: Driver has suspect GRO implementation, TCP performance may be compromised. [ 15.717457][ C2] [ 15.717596][ C2] ================================ [ 15.717790][ C2] WARNING: inconsistent lock state [ 15.717981][ C2] 6.15.0-virtme #1 Not tainted [ 15.718168][ C2] -------------------------------- [ 15.718353][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.718588][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.718828][ C2] ffffffffaffc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.719178][ C2] {SOFTIRQ-ON-W} state was registered at: [ 15.719368][ C2] __lock_acquire+0x20b/0x7e0 [ 15.719557][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.719745][ C2] _raw_spin_lock+0x33/0x40 [ 15.719937][ C2] simple_pin_fs+0x24/0x150 [ 15.720128][ C2] start_creating.part.0+0x52/0x310 [ 15.720318][ C2] debugfs_create_dir+0x6a/0x540 [ 15.720504][ C2] component_debug_init+0x17/0x30 [ 15.720696][ C2] do_one_initcall+0x8f/0x1e0 [ 15.720888][ C2] do_initcalls+0x176/0x280 [ 15.721078][ C2] kernel_init_freeable+0x22d/0x300 [ 15.721263][ C2] kernel_init+0x20/0x200 [ 15.721448][ C2] ret_from_fork+0x240/0x320 [ 15.721637][ C2] ret_from_fork_asm+0x1a/0x30 [ 15.721827][ C2] irq event stamp: 281084 [ 15.721969][ C2] hardirqs last enabled at (281084): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.722341][ C2] hardirqs last disabled at (281083): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.722718][ C2] softirqs last enabled at (279896): [] handle_softirqs+0x358/0x620 [ 15.723048][ C2] softirqs last disabled at (279903): [] __irq_exit_rcu+0xfa/0x160 [ 15.723370][ C2] [ 15.723370][ C2] other info that might help us debug this: [ 15.723649][ C2] Possible unsafe locking scenario: [ 15.723649][ C2] [ 15.723922][ C2] CPU0 [ 15.724062][ C2] ---- [ 15.724202][ C2] lock(pin_fs_lock); [ 15.724345][ C2] [ 15.724484][ C2] lock(pin_fs_lock); [ 15.724627][ C2] [ 15.724627][ C2] *** DEADLOCK *** [ 15.724627][ C2] [ 15.724902][ C2] 1 lock held by swapper/2/0: [ 15.725094][ C2] #0: ffffffffafd774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.725428][ C2] [ 15.725428][ C2] stack backtrace: [ 15.725665][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.725672][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.725674][ C2] Call Trace: [ 15.725676][ C2] [ 15.725678][ C2] dump_stack_lvl+0x82/0xd0 [ 15.725686][ C2] print_usage_bug.part.0+0x25f/0x360 [ 15.725690][ C2] mark_lock_irq+0x343/0x400 [ 15.725695][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.725702][ C2] ? save_trace+0x52/0x170 [ 15.725709][ C2] mark_lock+0x174/0x2f0 [ 15.725713][ C2] mark_usage+0x46/0x150 [ 15.725716][ C2] __lock_acquire+0x20b/0x7e0 [ 15.725719][ C2] ? __lock_acquire+0x44d/0x7e0 [ 15.725723][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.725726][ C2] ? simple_pin_fs+0x24/0x150 [ 15.725730][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.725734][ C2] ? lock_acquire+0x10c/0x170 [ 15.725737][ C2] ? simple_pin_fs+0x24/0x150 [ 15.725742][ C2] _raw_spin_lock+0x33/0x40 [ 15.725745][ C2] ? simple_pin_fs+0x24/0x150 [ 15.725748][ C2] simple_pin_fs+0x24/0x150 [ 15.725752][ C2] debugfs_remove+0x35/0x70 [ 15.725755][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.725766][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.725769][ C2] ? __sk_destruct+0x383/0x780 [ 15.725774][ C2] ? rcu_do_batch+0x34c/0xf20 [ 15.725777][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.725780][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.725783][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.725788][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.725792][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.725796][ C2] ? default_idle+0x9/0x10 [ 15.725798][ C2] ? default_idle_call+0x6d/0xb0 [ 15.725801][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.725806][ C2] ? do_idle+0xf6/0x160 [ 15.725808][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.725810][ C2] ? start_secondary+0x213/0x2a0 [ 15.725815][ C2] ? common_startup_64+0x13e/0x148 [ 15.725825][ C2] __put_net+0x19/0x60 [ 15.725831][ C2] __sk_destruct+0x58a/0x780 [ 15.725835][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.725837][ C2] rcu_do_batch+0x34c/0xf20 [ 15.725840][ C2] ? find_held_lock+0x2b/0x80 [ 15.725845][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.725848][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.725851][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.725854][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.725859][ C2] rcu_core+0x2bb/0x500 [ 15.725864][ C2] handle_softirqs+0x218/0x620 [ 15.725869][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.725872][ C2] irq_exit_rcu+0xe/0x30 [ 15.725875][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.725878][ C2] [ 15.725879][ C2] [ 15.725881][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.725884][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.725888][ C2] Code: 92 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 37 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.725891][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 15.725894][ C2] RAX: 000000000004455d RBX: 1ffff92000028fc1 RCX: ffffffffaed905d9 [ 15.725896][ C2] RDX: 0000000000000000 RSI: ffffffffaf88f4e4 RDI: ffffffffaf053be0 [ 15.725898][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005ea66fa [ 15.725899][ C2] R10: ffff88802f5337d3 R11: ffffffffafa11288 R12: 0000000000000000 [ 15.725901][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 15.725905][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.725909][ C2] default_idle+0x9/0x10 [ 15.725912][ C2] default_idle_call+0x6d/0xb0 [ 15.725915][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.725920][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.725923][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.725928][ C2] do_idle+0xf6/0x160 [ 15.725931][ C2] cpu_startup_entry+0x54/0x60 [ 15.725934][ C2] start_secondary+0x213/0x2a0 [ 15.725937][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.725942][ C2] common_startup_64+0x13e/0x148 [ 15.725949][ C2] [ 15.741861][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.742287][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 15.742605][ C2] preempt_count: 101, expected: 0 [ 15.742788][ C2] RCU nest depth: 0, expected: 0 [ 15.742974][ C2] INFO: lockdep is turned off. [ 15.743157][ C2] Preemption disabled at: [ 15.743159][ C2] [<0000000000000000>] 0x0 [ 15.743610][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.743614][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.743616][ C2] Call Trace: [ 15.743617][ C2] [ 15.743620][ C2] dump_stack_lvl+0xb0/0xd0 [ 15.743628][ C2] __might_resched+0x360/0x5a0 [ 15.743637][ C2] down_write+0x72/0x210 [ 15.743642][ C2] ? __pfx_down_write+0x10/0x10 [ 15.743645][ C2] ? simple_recursive_removal+0x33/0x610 [ 15.743649][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.743654][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.743661][ C2] simple_recursive_removal+0x6a/0x610 [ 15.743663][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.743667][ C2] ? __pfx_remove_one+0x10/0x10 [ 15.743672][ C2] debugfs_remove+0x44/0x70 [ 15.743675][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.743681][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.743684][ C2] ? __sk_destruct+0x383/0x780 [ 15.743689][ C2] ? rcu_do_batch+0x34c/0xf20 [ 15.743692][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.743695][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.743699][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.743704][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.743708][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.743711][ C2] ? default_idle+0x9/0x10 [ 15.743714][ C2] ? default_idle_call+0x6d/0xb0 [ 15.743717][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.743720][ C2] ? do_idle+0xf6/0x160 [ 15.743722][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.743724][ C2] ? start_secondary+0x213/0x2a0 [ 15.743728][ C2] ? common_startup_64+0x13e/0x148 [ 15.743734][ C2] __put_net+0x19/0x60 [ 15.743738][ C2] __sk_destruct+0x58a/0x780 [ 15.743742][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.743745][ C2] rcu_do_batch+0x34c/0xf20 [ 15.743748][ C2] ? find_held_lock+0x2b/0x80 [ 15.743753][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.743757][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.743761][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.743764][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.743769][ C2] rcu_core+0x2bb/0x500 [ 15.743773][ C2] handle_softirqs+0x218/0x620 [ 15.743778][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.743781][ C2] irq_exit_rcu+0xe/0x30 [ 15.743784][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.743788][ C2] [ 15.743789][ C2] [ 15.743790][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.743793][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.743797][ C2] Code: 92 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 37 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.743799][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 15.743802][ C2] RAX: 000000000004455d RBX: 1ffff92000028fc1 RCX: ffffffffaed905d9 [ 15.743804][ C2] RDX: 0000000000000000 RSI: ffffffffaf88f4e4 RDI: ffffffffaf053be0 [ 15.743806][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005ea66fa [ 15.743808][ C2] R10: ffff88802f5337d3 R11: ffffffffafa11288 R12: 0000000000000000 [ 15.743809][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 15.743813][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.743818][ C2] default_idle+0x9/0x10 [ 15.743820][ C2] default_idle_call+0x6d/0xb0 [ 15.743823][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.743826][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.743830][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.743834][ C2] do_idle+0xf6/0x160 [ 15.743838][ C2] cpu_startup_entry+0x54/0x60 [ 15.743841][ C2] start_secondary+0x213/0x2a0 [ 15.743843][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.743848][ C2] common_startup_64+0x13e/0x148 [ 15.743855][ C2] [ 17.976372][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.976683][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 14, name: ksoftirqd/0 [ 17.976964][ C0] preempt_count: 100, expected: 0 [ 17.977122][ C0] RCU nest depth: 0, expected: 0 [ 17.977279][ C0] INFO: lockdep is turned off. [ 17.977460][ C0] Preemption disabled at: [ 17.977462][ C0] [] handle_softirqs+0xe5/0x620 [ 17.977792][ C0] CPU: 0 UID: 0 PID: 14 Comm: ksoftirqd/0 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 17.977798][ C0] Tainted: [W]=WARN [ 17.977799][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.977804][ C0] Call Trace: [ 17.977806][ C0] [ 17.977808][ C0] dump_stack_lvl+0xb0/0xd0 [ 17.977816][ C0] __might_resched+0x360/0x5a0 [ 17.977823][ C0] down_write+0x72/0x210 [ 17.977828][ C0] ? __pfx_down_write+0x10/0x10 [ 17.977831][ C0] ? simple_recursive_removal+0x33/0x610 [ 17.977836][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.977841][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 17.977847][ C0] simple_recursive_removal+0x6a/0x610 [ 17.977849][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 17.977853][ C0] ? __pfx_remove_one+0x10/0x10 [ 17.977858][ C0] debugfs_remove+0x44/0x70 [ 17.977861][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 17.977868][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.977871][ C0] ? __sk_destruct+0x383/0x780 [ 17.977877][ C0] ? rcu_do_batch+0x34c/0xf20 [ 17.977880][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.977883][ C0] ? smpboot_thread_fn+0x30a/0x960 [ 17.977888][ C0] ? kthread+0x37e/0x600 [ 17.977891][ C0] ? ret_from_fork+0x240/0x320 [ 17.977895][ C0] ? ret_from_fork_asm+0x1a/0x30 [ 17.977901][ C0] ? migrate_enable+0x1f2/0x270 [ 17.977907][ C0] ? __pfx_migrate_enable+0x10/0x10 [ 17.977910][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.977914][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.977919][ C0] __put_net+0x19/0x60 [ 17.977922][ C0] __sk_destruct+0x58a/0x780 [ 17.977926][ C0] ? rcu_do_batch+0x34a/0xf20 [ 17.977929][ C0] rcu_do_batch+0x34c/0xf20 [ 17.977934][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.977937][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.977940][ C0] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.977951][ C0] rcu_core+0x2bb/0x500 [ 17.977956][ C0] handle_softirqs+0x218/0x620 [ 17.977960][ C0] ? __pfx_run_ksoftirqd+0x10/0x10 [ 17.977964][ C0] run_ksoftirqd+0x3f/0x70 [ 17.977966][ C0] smpboot_thread_fn+0x30a/0x960 [ 17.977970][ C0] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 17.977974][ C0] kthread+0x37e/0x600 [ 17.977977][ C0] ? __pfx_kthread+0x10/0x10 [ 17.977979][ C0] ? ret_from_fork+0x1b/0x320 [ 17.977982][ C0] ? __lock_release+0x5d/0x170 [ 17.977986][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.977989][ C0] ? __pfx_kthread+0x10/0x10 [ 17.977992][ C0] ret_from_fork+0x240/0x320 [ 17.977994][ C0] ? __pfx_kthread+0x10/0x10 [ 17.977999][ C0] ret_from_fork_asm+0x1a/0x30 [ 17.978006][ C0]