[ 14.914943][ T227] TCP: tun0: Driver has suspect GRO implementation, TCP performance may be compromised. [ 15.005681][ C2] [ 15.005877][ C2] ================================ [ 15.006052][ C2] WARNING: inconsistent lock state [ 15.006223][ C2] 6.15.0-virtme #1 Not tainted [ 15.006397][ C2] -------------------------------- [ 15.006567][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.006772][ C2] ksoftirqd/2/27 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.006985][ C2] ffffffff8f1c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.007299][ C2] {SOFTIRQ-ON-W} state was registered at: [ 15.007473][ C2] __lock_acquire+0x20b/0x7e0 [ 15.007650][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.007818][ C2] _raw_spin_lock+0x33/0x40 [ 15.007995][ C2] simple_pin_fs+0x24/0x150 [ 15.008164][ C2] start_creating.part.0+0x52/0x310 [ 15.008336][ C2] debugfs_create_dir+0x6a/0x540 [ 15.008504][ C2] component_debug_init+0x17/0x30 [ 15.008681][ C2] do_one_initcall+0x8f/0x1e0 [ 15.008856][ C2] do_initcalls+0x176/0x280 [ 15.009028][ C2] kernel_init_freeable+0x22d/0x300 [ 15.009197][ C2] kernel_init+0x20/0x200 [ 15.009366][ C2] ret_from_fork+0x240/0x320 [ 15.009538][ C2] ret_from_fork_asm+0x1a/0x30 [ 15.009709][ C2] irq event stamp: 235136 [ 15.009844][ C2] hardirqs last enabled at (235136): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.010179][ C2] hardirqs last disabled at (235135): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.010515][ C2] softirqs last enabled at (235020): [] handle_softirqs+0x358/0x620 [ 15.010815][ C2] softirqs last disabled at (235033): [] run_ksoftirqd+0x3f/0x70 [ 15.011108][ C2] [ 15.011108][ C2] other info that might help us debug this: [ 15.011360][ C2] Possible unsafe locking scenario: [ 15.011360][ C2] [ 15.011611][ C2] CPU0 [ 15.011737][ C2] ---- [ 15.011865][ C2] lock(pin_fs_lock); [ 15.011999][ C2] [ 15.012130][ C2] lock(pin_fs_lock); [ 15.012259][ C2] [ 15.012259][ C2] *** DEADLOCK *** [ 15.012259][ C2] [ 15.012513][ C2] 1 lock held by ksoftirqd/2/27: [ 15.012684][ C2] #0: ffffffff8ef774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.012995][ C2] [ 15.012995][ C2] stack backtrace: [ 15.013207][ C2] CPU: 2 UID: 0 PID: 27 Comm: ksoftirqd/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.013211][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.013213][ C2] Call Trace: [ 15.013216][ C2] [ 15.013218][ C2] dump_stack_lvl+0x82/0xd0 [ 15.013225][ C2] print_usage_bug.part.0+0x25f/0x360 [ 15.013229][ C2] mark_lock_irq+0x343/0x400 [ 15.013233][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.013238][ C2] ? save_trace+0x52/0x170 [ 15.013251][ C2] mark_lock+0x174/0x2f0 [ 15.013255][ C2] mark_usage+0x46/0x150 [ 15.013258][ C2] __lock_acquire+0x20b/0x7e0 [ 15.013261][ C2] ? __lock_acquire+0x44d/0x7e0 [ 15.013265][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.013268][ C2] ? simple_pin_fs+0x24/0x150 [ 15.013272][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.013276][ C2] ? lock_acquire+0x10c/0x170 [ 15.013279][ C2] ? simple_pin_fs+0x24/0x150 [ 15.013283][ C2] _raw_spin_lock+0x33/0x40 [ 15.013287][ C2] ? simple_pin_fs+0x24/0x150 [ 15.013290][ C2] simple_pin_fs+0x24/0x150 [ 15.013294][ C2] debugfs_remove+0x35/0x70 [ 15.013297][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.013305][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.013309][ C2] ? __sk_destruct+0x383/0x780 [ 15.013317][ C2] ? rcu_do_batch+0x34c/0xf20 [ 15.013319][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.013323][ C2] ? smpboot_thread_fn+0x30a/0x960 [ 15.013328][ C2] ? kthread+0x37e/0x600 [ 15.013330][ C2] ? ret_from_fork+0x240/0x320 [ 15.013333][ C2] ? ret_from_fork_asm+0x1a/0x30 [ 15.013336][ C2] ? migrate_enable+0x1f2/0x270 [ 15.013340][ C2] ? __pfx_migrate_enable+0x10/0x10 [ 15.013345][ C2] __put_net+0x19/0x60 [ 15.013349][ C2] __sk_destruct+0x58a/0x780 [ 15.013353][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.013356][ C2] rcu_do_batch+0x34c/0xf20 [ 15.013360][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.013364][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.013367][ C2] ? note_gp_changes+0x182/0x1e0 [ 15.013370][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.013374][ C2] rcu_core+0x2bb/0x500 [ 15.013378][ C2] handle_softirqs+0x218/0x620 [ 15.013382][ C2] ? __pfx_run_ksoftirqd+0x10/0x10 [ 15.013385][ C2] run_ksoftirqd+0x3f/0x70 [ 15.013388][ C2] smpboot_thread_fn+0x30a/0x960 [ 15.013392][ C2] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 15.013396][ C2] kthread+0x37e/0x600 [ 15.013399][ C2] ? __pfx_kthread+0x10/0x10 [ 15.013401][ C2] ? ret_from_fork+0x1b/0x320 [ 15.013403][ C2] ? __lock_release+0x5d/0x170 [ 15.013406][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.013409][ C2] ? __pfx_kthread+0x10/0x10 [ 15.013412][ C2] ret_from_fork+0x240/0x320 [ 15.013415][ C2] ? __pfx_kthread+0x10/0x10 [ 15.013417][ C2] ret_from_fork_asm+0x1a/0x30 [ 15.013425][ C2] [ 15.022964][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.023266][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 27, name: ksoftirqd/2 [ 15.023577][ C2] preempt_count: 100, expected: 0 [ 15.023747][ C2] RCU nest depth: 0, expected: 0 [ 15.023917][ C2] INFO: lockdep is turned off. [ 15.024089][ C2] Preemption disabled at: [ 15.024091][ C2] [] handle_softirqs+0xe5/0x620 [ 15.024444][ C2] CPU: 2 UID: 0 PID: 27 Comm: ksoftirqd/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.024448][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.024450][ C2] Call Trace: [ 15.024451][ C2] [ 15.024453][ C2] dump_stack_lvl+0xb0/0xd0 [ 15.024458][ C2] __might_resched+0x360/0x5a0 [ 15.024464][ C2] down_write+0x72/0x210 [ 15.024468][ C2] ? __pfx_down_write+0x10/0x10 [ 15.024471][ C2] ? simple_recursive_removal+0x33/0x610 [ 15.024475][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.024480][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.024487][ C2] simple_recursive_removal+0x6a/0x610 [ 15.024489][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.024493][ C2] ? __pfx_remove_one+0x10/0x10 [ 15.024498][ C2] debugfs_remove+0x44/0x70 [ 15.024501][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.024505][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.024508][ C2] ? __sk_destruct+0x383/0x780 [ 15.024513][ C2] ? rcu_do_batch+0x34c/0xf20 [ 15.024516][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.024519][ C2] ? smpboot_thread_fn+0x30a/0x960 [ 15.024522][ C2] ? kthread+0x37e/0x600 [ 15.024525][ C2] ? ret_from_fork+0x240/0x320 [ 15.024528][ C2] ? ret_from_fork_asm+0x1a/0x30 [ 15.024532][ C2] ? migrate_enable+0x1f2/0x270 [ 15.024535][ C2] ? __pfx_migrate_enable+0x10/0x10 [ 15.024541][ C2] __put_net+0x19/0x60 [ 15.024544][ C2] __sk_destruct+0x58a/0x780 [ 15.024548][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.024550][ C2] rcu_do_batch+0x34c/0xf20 [ 15.024555][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.024558][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.024561][ C2] ? note_gp_changes+0x182/0x1e0 [ 15.024564][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.024568][ C2] rcu_core+0x2bb/0x500 [ 15.024572][ C2] handle_softirqs+0x218/0x620 [ 15.024576][ C2] ? __pfx_run_ksoftirqd+0x10/0x10 [ 15.024580][ C2] run_ksoftirqd+0x3f/0x70 [ 15.024582][ C2] smpboot_thread_fn+0x30a/0x960 [ 15.024586][ C2] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 15.024590][ C2] kthread+0x37e/0x600 [ 15.024593][ C2] ? __pfx_kthread+0x10/0x10 [ 15.024595][ C2] ? ret_from_fork+0x1b/0x320 [ 15.024598][ C2] ? __lock_release+0x5d/0x170 [ 15.024601][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.024604][ C2] ? __pfx_kthread+0x10/0x10 [ 15.024607][ C2] ret_from_fork+0x240/0x320 [ 15.024610][ C2] ? __pfx_kthread+0x10/0x10 [ 15.024612][ C2] ret_from_fork_asm+0x1a/0x30 [ 15.024620][ C2] [ 16.630058][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.630439][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 14, name: ksoftirqd/0 [ 16.630729][ C0] preempt_count: 100, expected: 0 [ 16.630887][ C0] RCU nest depth: 0, expected: 0 [ 16.631046][ C0] INFO: lockdep is turned off. [ 16.631205][ C0] Preemption disabled at: [ 16.631206][ C0] [] handle_softirqs+0xe5/0x620 [ 16.631544][ C0] CPU: 0 UID: 0 PID: 14 Comm: ksoftirqd/0 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.631549][ C0] Tainted: [W]=WARN [ 16.631551][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.631553][ C0] Call Trace: [ 16.631554][ C0] [ 16.631556][ C0] dump_stack_lvl+0xb0/0xd0 [ 16.631563][ C0] __might_resched+0x360/0x5a0 [ 16.631570][ C0] down_write+0x72/0x210 [ 16.631574][ C0] ? __pfx_down_write+0x10/0x10 [ 16.631577][ C0] ? simple_recursive_removal+0x33/0x610 [ 16.631582][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.631586][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 16.631592][ C0] simple_recursive_removal+0x6a/0x610 [ 16.631595][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 16.631598][ C0] ? __pfx_remove_one+0x10/0x10 [ 16.631604][ C0] debugfs_remove+0x44/0x70 [ 16.631607][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 16.631612][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.631616][ C0] ? __sk_destruct+0x383/0x780 [ 16.631621][ C0] ? rcu_do_batch+0x34c/0xf20 [ 16.631625][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.631628][ C0] ? smpboot_thread_fn+0x30a/0x960 [ 16.631632][ C0] ? kthread+0x37e/0x600 [ 16.631635][ C0] ? ret_from_fork+0x240/0x320 [ 16.631639][ C0] ? ret_from_fork_asm+0x1a/0x30 [ 16.631644][ C0] ? migrate_enable+0x1f2/0x270 [ 16.631648][ C0] ? __pfx_migrate_enable+0x10/0x10 [ 16.631651][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.631659][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.631663][ C0] __put_net+0x19/0x60 [ 16.631667][ C0] __sk_destruct+0x58a/0x780 [ 16.631671][ C0] ? rcu_do_batch+0x34a/0xf20 [ 16.631673][ C0] rcu_do_batch+0x34c/0xf20 [ 16.631678][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.631682][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.631685][ C0] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.631694][ C0] rcu_core+0x2bb/0x500 [ 16.631698][ C0] handle_softirqs+0x218/0x620 [ 16.631702][ C0] ? __pfx_run_ksoftirqd+0x10/0x10 [ 16.631706][ C0] run_ksoftirqd+0x3f/0x70 [ 16.631709][ C0] smpboot_thread_fn+0x30a/0x960 [ 16.631713][ C0] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 16.631717][ C0] kthread+0x37e/0x600 [ 16.631720][ C0] ? __pfx_kthread+0x10/0x10 [ 16.631722][ C0] ? ret_from_fork+0x1b/0x320 [ 16.631725][ C0] ? __lock_release+0x5d/0x170 [ 16.631728][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.631731][ C0] ? __pfx_kthread+0x10/0x10 [ 16.631734][ C0] ret_from_fork+0x240/0x320 [ 16.631737][ C0] ? __pfx_kthread+0x10/0x10 [ 16.631739][ C0] ret_from_fork_asm+0x1a/0x30 [ 16.631746][ C0]