[ 14.412408][ T226] TCP: tun0: Driver has suspect GRO implementation, TCP performance may be compromised. [ 14.505598][ C0] [ 14.505740][ C0] ================================ [ 14.505941][ C0] WARNING: inconsistent lock state [ 14.506139][ C0] 6.15.0-rc5-virtme #1 Not tainted [ 14.506332][ C0] -------------------------------- [ 14.506523][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.506766][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.507015][ C0] ffffffffbafbf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.507371][ C0] {SOFTIRQ-ON-W} state was registered at: [ 14.507568][ C0] __lock_acquire+0x3eb/0x9d0 [ 14.507772][ C0] lock_acquire.part.0+0xb6/0x240 [ 14.507968][ C0] _raw_spin_lock+0x33/0x40 [ 14.508170][ C0] simple_pin_fs+0x24/0x150 [ 14.508359][ C0] start_creating.part.0+0x3f/0x2f0 [ 14.508554][ C0] debugfs_create_dir+0x6a/0x540 [ 14.508750][ C0] component_debug_init+0x17/0x30 [ 14.508948][ C0] do_one_initcall+0x8c/0x1e0 [ 14.509146][ C0] do_initcalls+0x176/0x280 [ 14.509342][ C0] kernel_init_freeable+0x22d/0x300 [ 14.509540][ C0] kernel_init+0x20/0x200 [ 14.509734][ C0] ret_from_fork+0x31/0x70 [ 14.509930][ C0] ret_from_fork_asm+0x1a/0x30 [ 14.510123][ C0] irq event stamp: 446532 [ 14.510271][ C0] hardirqs last enabled at (446532): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.510664][ C0] hardirqs last disabled at (446531): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.511054][ C0] softirqs last enabled at (445222): [] handle_softirqs+0x358/0x620 [ 14.511392][ C0] softirqs last disabled at (445229): [] __irq_exit_rcu+0xfa/0x160 [ 14.511728][ C0] [ 14.511728][ C0] other info that might help us debug this: [ 14.512017][ C0] Possible unsafe locking scenario: [ 14.512017][ C0] [ 14.512306][ C0] CPU0 [ 14.512452][ C0] ---- [ 14.512597][ C0] lock(pin_fs_lock); [ 14.512745][ C0] [ 14.512893][ C0] lock(pin_fs_lock); [ 14.513038][ C0] [ 14.513038][ C0] *** DEADLOCK *** [ 14.513038][ C0] [ 14.513324][ C0] 1 lock held by swapper/0/0: [ 14.513521][ C0] #0: ffffffffbad74480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.513874][ C0] [ 14.513874][ C0] stack backtrace: [ 14.514117][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.514121][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.514124][ C0] Call Trace: [ 14.514125][ C0] [ 14.514127][ C0] dump_stack_lvl+0x82/0xd0 [ 14.514132][ C0] print_usage_bug.part.0+0x25f/0x360 [ 14.514138][ C0] mark_lock_irq+0x343/0x400 [ 14.514141][ C0] ? is_bpf_text_address+0x67/0x120 [ 14.514147][ C0] ? __lock_release+0x5d/0x170 [ 14.514151][ C0] ? save_trace+0x52/0x170 [ 14.514155][ C0] mark_lock+0x174/0x2f0 [ 14.514159][ C0] mark_usage+0x46/0x150 [ 14.514163][ C0] __lock_acquire+0x3eb/0x9d0 [ 14.514168][ C0] lock_acquire.part.0+0xb6/0x240 [ 14.514172][ C0] ? simple_pin_fs+0x24/0x150 [ 14.514176][ C0] ? rcu_is_watching+0x12/0xc0 [ 14.514181][ C0] ? lock_acquire+0x10c/0x170 [ 14.514184][ C0] ? simple_pin_fs+0x24/0x150 [ 14.514188][ C0] _raw_spin_lock+0x33/0x40 [ 14.514191][ C0] ? simple_pin_fs+0x24/0x150 [ 14.514195][ C0] simple_pin_fs+0x24/0x150 [ 14.514199][ C0] debugfs_remove+0x35/0x70 [ 14.514202][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 14.514207][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.514210][ C0] ? __sk_destruct+0x383/0x780 [ 14.514215][ C0] ? rcu_do_batch+0x34c/0xf20 [ 14.514218][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.514221][ C0] ? irq_exit_rcu+0xe/0x30 [ 14.514223][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.514227][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.514231][ C0] ? pv_native_safe_halt+0xf/0x20 [ 14.514234][ C0] ? default_idle+0x9/0x10 [ 14.514236][ C0] ? default_idle_call+0x6d/0xb0 [ 14.514238][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.514243][ C0] ? do_idle+0xf6/0x160 [ 14.514246][ C0] ? cpu_startup_entry+0x54/0x60 [ 14.514249][ C0] ? rest_init+0x14b/0x260 [ 14.514251][ C0] ? start_kernel+0x350/0x410 [ 14.514256][ C0] __put_net+0x19/0x60 [ 14.514260][ C0] __sk_destruct+0x58a/0x780 [ 14.514264][ C0] ? rcu_do_batch+0x34a/0xf20 [ 14.514267][ C0] rcu_do_batch+0x34c/0xf20 [ 14.514270][ C0] ? find_held_lock+0x2b/0x80 [ 14.514275][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.514278][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.514282][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.514285][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.514290][ C0] rcu_core+0x2bb/0x500 [ 14.514293][ C0] handle_softirqs+0x218/0x620 [ 14.514297][ C0] __irq_exit_rcu+0xfa/0x160 [ 14.514300][ C0] irq_exit_rcu+0xe/0x30 [ 14.514302][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.514305][ C0] [ 14.514306][ C0] [ 14.514308][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.514310][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.514314][ C0] Code: b0 b8 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 a3 d0 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 [ 14.514317][ C0] RSP: 0018:ffffffffbaa07df8 EFLAGS: 00000246 [ 14.514320][ C0] RAX: 000000000006cb2b RBX: 1ffffffff7540fc3 RCX: ffffffffb9d55a19 [ 14.514323][ C0] RDX: 0000000000000000 RSI: ffffffffba885f31 RDI: ffffffffba050ce0 [ 14.514324][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c0667a [ 14.514326][ C0] R10: ffff8880360333d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.514328][ C0] R13: ffffffffbaa1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 14.514332][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.514337][ C0] default_idle+0x9/0x10 [ 14.514339][ C0] default_idle_call+0x6d/0xb0 [ 14.514341][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 14.514345][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.514349][ C0] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.514356][ C0] do_idle+0xf6/0x160 [ 14.514360][ C0] cpu_startup_entry+0x54/0x60 [ 14.514363][ C0] rest_init+0x14b/0x260 [ 14.514366][ C0] start_kernel+0x350/0x410 [ 14.514370][ C0] x86_64_start_reservations+0x18/0x30 [ 14.514374][ C0] x86_64_start_kernel+0xba/0x110 [ 14.514378][ C0] common_startup_64+0x13e/0x148 [ 14.514385][ C0] [ 14.530522][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.530846][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 14.531288][ C0] preempt_count: 101, expected: 0 [ 14.531472][ C0] RCU nest depth: 0, expected: 0 [ 14.531654][ C0] INFO: lockdep is turned off. [ 14.531835][ C0] Preemption disabled at: [ 14.531837][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 14.532377][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.532381][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.532383][ C0] Call Trace: [ 14.532385][ C0] [ 14.532386][ C0] dump_stack_lvl+0xb0/0xd0 [ 14.532391][ C0] __might_resched+0x360/0x5a0 [ 14.532396][ C0] down_write+0x72/0x210 [ 14.532400][ C0] ? __pfx_down_write+0x10/0x10 [ 14.532402][ C0] ? simple_recursive_removal+0x3a/0x860 [ 14.532406][ C0] ? rcu_is_watching+0x12/0xc0 [ 14.532411][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 14.532415][ C0] simple_recursive_removal+0x166/0x860 [ 14.532418][ C0] ? __pfx_remove_one+0x10/0x10 [ 14.532421][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 14.532425][ C0] debugfs_remove+0x44/0x70 [ 14.532428][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 14.532432][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.532435][ C0] ? __sk_destruct+0x383/0x780 [ 14.532439][ C0] ? rcu_do_batch+0x34c/0xf20 [ 14.532443][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.532446][ C0] ? irq_exit_rcu+0xe/0x30 [ 14.532449][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.532453][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.532456][ C0] ? pv_native_safe_halt+0xf/0x20 [ 14.532459][ C0] ? default_idle+0x9/0x10 [ 14.532461][ C0] ? default_idle_call+0x6d/0xb0 [ 14.532463][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.532468][ C0] ? do_idle+0xf6/0x160 [ 14.532471][ C0] ? cpu_startup_entry+0x54/0x60 [ 14.532473][ C0] ? rest_init+0x14b/0x260 [ 14.532476][ C0] ? start_kernel+0x350/0x410 [ 14.532482][ C0] __put_net+0x19/0x60 [ 14.532485][ C0] __sk_destruct+0x58a/0x780 [ 14.532488][ C0] ? rcu_do_batch+0x34a/0xf20 [ 14.532491][ C0] rcu_do_batch+0x34c/0xf20 [ 14.532495][ C0] ? find_held_lock+0x2b/0x80 [ 14.532499][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.532503][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.532507][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.532511][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.532515][ C0] rcu_core+0x2bb/0x500 [ 14.532518][ C0] handle_softirqs+0x218/0x620 [ 14.532523][ C0] __irq_exit_rcu+0xfa/0x160 [ 14.532525][ C0] irq_exit_rcu+0xe/0x30 [ 14.532527][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.532531][ C0] [ 14.532532][ C0] [ 14.532533][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.532536][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.532539][ C0] Code: b0 b8 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 a3 d0 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 [ 14.532541][ C0] RSP: 0018:ffffffffbaa07df8 EFLAGS: 00000246 [ 14.532544][ C0] RAX: 000000000006cb2b RBX: 1ffffffff7540fc3 RCX: ffffffffb9d55a19 [ 14.532546][ C0] RDX: 0000000000000000 RSI: ffffffffba885f31 RDI: ffffffffba050ce0 [ 14.532548][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c0667a [ 14.532549][ C0] R10: ffff8880360333d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.532551][ C0] R13: ffffffffbaa1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 14.532555][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.532560][ C0] default_idle+0x9/0x10 [ 14.532562][ C0] default_idle_call+0x6d/0xb0 [ 14.532565][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 14.532568][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.532572][ C0] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.532578][ C0] do_idle+0xf6/0x160 [ 14.532582][ C0] cpu_startup_entry+0x54/0x60 [ 14.532586][ C0] rest_init+0x14b/0x260 [ 14.532589][ C0] start_kernel+0x350/0x410 [ 14.532592][ C0] x86_64_start_reservations+0x18/0x30 [ 14.532596][ C0] x86_64_start_kernel+0xba/0x110 [ 14.532600][ C0] common_startup_64+0x13e/0x148 [ 14.532607][ C0] [ 16.013901][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.014225][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 32, name: ksoftirqd/3 [ 16.014491][ C3] preempt_count: 100, expected: 0 [ 16.014650][ C3] RCU nest depth: 0, expected: 0 [ 16.014804][ C3] INFO: lockdep is turned off. [ 16.014962][ C3] Preemption disabled at: [ 16.014963][ C3] [] handle_softirqs+0xe5/0x620 [ 16.015289][ C3] CPU: 3 UID: 0 PID: 32 Comm: ksoftirqd/3 Tainted: G W 6.15.0-rc5-virtme #1 PREEMPT(full) [ 16.015294][ C3] Tainted: [W]=WARN [ 16.015295][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.015297][ C3] Call Trace: [ 16.015299][ C3] [ 16.015301][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.015308][ C3] __might_resched+0x360/0x5a0 [ 16.015314][ C3] down_write+0x72/0x210 [ 16.015318][ C3] ? __pfx_down_write+0x10/0x10 [ 16.015321][ C3] ? simple_recursive_removal+0x3a/0x860 [ 16.015325][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.015331][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.015336][ C3] simple_recursive_removal+0x166/0x860 [ 16.015338][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.015343][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.015347][ C3] debugfs_remove+0x44/0x70 [ 16.015350][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.015354][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.015357][ C3] ? __sk_destruct+0x383/0x780 [ 16.015362][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.015366][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.015369][ C3] ? smpboot_thread_fn+0x307/0x960 [ 16.015373][ C3] ? kthread+0x37b/0x600 [ 16.015377][ C3] ? ret_from_fork+0x31/0x70 [ 16.015382][ C3] ? ret_from_fork_asm+0x1a/0x30 [ 16.015387][ C3] ? migrate_enable+0x1f2/0x270 [ 16.015391][ C3] ? __pfx_migrate_enable+0x10/0x10 [ 16.015395][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.015399][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.015404][ C3] __put_net+0x19/0x60 [ 16.015407][ C3] __sk_destruct+0x58a/0x780 [ 16.015410][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.015413][ C3] rcu_do_batch+0x34c/0xf20 [ 16.015418][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.015422][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.015425][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.015431][ C3] rcu_core+0x2bb/0x500 [ 16.015435][ C3] handle_softirqs+0x218/0x620 [ 16.015438][ C3] ? __pfx_run_ksoftirqd+0x10/0x10 [ 16.015441][ C3] run_ksoftirqd+0x3f/0x70 [ 16.015443][ C3] smpboot_thread_fn+0x307/0x960 [ 16.015446][ C3] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 16.015449][ C3] kthread+0x37b/0x600 [ 16.015453][ C3] ? __pfx_kthread+0x10/0x10 [ 16.015455][ C3] ? ret_from_fork+0x1b/0x70 [ 16.015458][ C3] ? __lock_release+0x5d/0x170 [ 16.015463][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.015467][ C3] ? __pfx_kthread+0x10/0x10 [ 16.015470][ C3] ret_from_fork+0x31/0x70 [ 16.015473][ C3] ? __pfx_kthread+0x10/0x10 [ 16.015476][ C3] ret_from_fork_asm+0x1a/0x30 [ 16.015483][ C3]