[ 28.461706][ T327] ip (327) used greatest stack depth: 23776 bytes left [ 1115.559138][ C3] [ 1115.559317][ C3] ================================ [ 1115.559516][ C3] WARNING: inconsistent lock state [ 1115.559715][ C3] 6.15.0-virtme #1 Not tainted [ 1115.559924][ C3] -------------------------------- [ 1115.560119][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 1115.560360][ C3] iperf3/9049 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 1115.560601][ C3] ffffffff8f5d0bb8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 1115.560952][ C3] {SOFTIRQ-ON-W} state was registered at: [ 1115.561143][ C3] __lock_acquire+0x20b/0x7e0 [ 1115.561342][ C3] lock_acquire.part.0+0xb6/0x240 [ 1115.561534][ C3] _raw_spin_lock+0x33/0x40 [ 1115.561729][ C3] simple_pin_fs+0x24/0x150 [ 1115.561927][ C3] start_creating.part.0+0x52/0x310 [ 1115.562131][ C3] debugfs_create_dir+0x6a/0x570 [ 1115.562325][ C3] component_debug_init+0x17/0x30 [ 1115.562530][ C3] do_one_initcall+0x8f/0x1e0 [ 1115.562728][ C3] do_initcalls+0x176/0x280 [ 1115.562932][ C3] kernel_init_freeable+0x22d/0x300 [ 1115.563176][ C3] kernel_init+0x20/0x200 [ 1115.563371][ C3] ret_from_fork+0x240/0x320 [ 1115.563580][ C3] ret_from_fork_asm+0x1a/0x30 [ 1115.563771][ C3] irq event stamp: 4906542 [ 1115.563966][ C3] hardirqs last enabled at (4906542): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 1115.564343][ C3] hardirqs last disabled at (4906541): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 1115.564724][ C3] softirqs last enabled at (4906422): [] tcp_sendmsg+0x37/0x50 [ 1115.565063][ C3] softirqs last disabled at (4906423): [] do_softirq+0xb1/0xe0 [ 1115.565405][ C3] [ 1115.565405][ C3] other info that might help us debug this: [ 1115.565694][ C3] Possible unsafe locking scenario: [ 1115.565694][ C3] [ 1115.565975][ C3] CPU0 [ 1115.566129][ C3] ---- [ 1115.566295][ C3] lock(pin_fs_lock); [ 1115.566449][ C3] [ 1115.566596][ C3] lock(pin_fs_lock); [ 1115.566765][ C3] [ 1115.566765][ C3] *** DEADLOCK *** [ 1115.566765][ C3] [ 1115.567058][ C3] 1 lock held by iperf3/9049: [ 1115.567283][ C3] #0: ffffc90000270d78 ((&icsk->icsk_retransmit_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe7/0x220 [ 1115.567695][ C3] [ 1115.567695][ C3] stack backtrace: [ 1115.567936][ C3] CPU: 3 UID: 0 PID: 9049 Comm: iperf3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 1115.567942][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1115.567945][ C3] Call Trace: [ 1115.567948][ C3] [ 1115.567950][ C3] dump_stack_lvl+0x82/0xd0 [ 1115.567958][ C3] print_usage_bug.part.0+0x25f/0x360 [ 1115.567964][ C3] mark_lock_irq+0x343/0x400 [ 1115.567968][ C3] ? rcu_read_lock_any_held+0x43/0xb0 [ 1115.567976][ C3] ? validate_chain+0x166/0x4d0 [ 1115.567980][ C3] ? save_trace+0x52/0x170 [ 1115.567984][ C3] mark_lock+0x174/0x2f0 [ 1115.567988][ C3] mark_usage+0x46/0x150 [ 1115.567992][ C3] __lock_acquire+0x20b/0x7e0 [ 1115.567996][ C3] ? __lock_acquire+0x44d/0x7e0 [ 1115.568000][ C3] lock_acquire.part.0+0xb6/0x240 [ 1115.568004][ C3] ? simple_pin_fs+0x24/0x150 [ 1115.568009][ C3] ? rcu_is_watching+0x12/0xc0 [ 1115.568015][ C3] ? lock_acquire+0x10c/0x170 [ 1115.568018][ C3] ? simple_pin_fs+0x24/0x150 [ 1115.568023][ C3] _raw_spin_lock+0x33/0x40 [ 1115.568026][ C3] ? simple_pin_fs+0x24/0x150 [ 1115.568030][ C3] simple_pin_fs+0x24/0x150 [ 1115.568034][ C3] debugfs_remove+0x35/0x70 [ 1115.568037][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 1115.568044][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 1115.568048][ C3] ? __sk_destruct+0x383/0x780 [ 1115.568054][ C3] ? call_timer_fn+0x13d/0x220 [ 1115.568057][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 1115.568061][ C3] ? handle_softirqs+0x21b/0x620 [ 1115.568065][ C3] ? do_softirq+0xb1/0xe0 [ 1115.568067][ C3] ? __local_bh_enable_ip+0x105/0x130 [ 1115.568070][ C3] ? tcp_sendmsg+0x37/0x50 [ 1115.568073][ C3] ? sock_write_iter+0x3c1/0x520 [ 1115.568076][ C3] ? vfs_write+0xc09/0x1210 [ 1115.568083][ C3] ? ksys_write+0x183/0x1d0 [ 1115.568086][ C3] ? do_syscall_64+0xc1/0x380 [ 1115.568089][ C3] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 1115.568095][ C3] __put_net+0x19/0x60 [ 1115.568100][ C3] __sk_destruct+0x58a/0x780 [ 1115.568104][ C3] ? __pfx_tcp_write_timer+0x10/0x10 [ 1115.568108][ C3] call_timer_fn+0x13d/0x220 [ 1115.568111][ C3] ? call_timer_fn+0xe7/0x220 [ 1115.568113][ C3] ? call_timer_fn+0xe7/0x220 [ 1115.568117][ C3] ? __pfx_call_timer_fn+0x10/0x10 [ 1115.568120][ C3] ? rcu_read_lock_any_held+0x43/0xb0 [ 1115.568124][ C3] ? __run_timers+0x532/0x810 [ 1115.568128][ C3] ? __lock_release+0x5d/0x170 [ 1115.568132][ C3] ? rcu_is_watching+0x12/0xc0 [ 1115.568137][ C3] __run_timers+0x543/0x810 [ 1115.568140][ C3] ? __pfx_tcp_write_timer+0x10/0x10 [ 1115.568145][ C3] ? __pfx___run_timers+0x10/0x10 [ 1115.568149][ C3] ? do_raw_spin_lock+0x130/0x270 [ 1115.568153][ C3] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 1115.568156][ C3] ? lock_acquire+0x10c/0x170 [ 1115.568159][ C3] ? run_timer_base+0xab/0x110 [ 1115.568164][ C3] run_timer_base+0xb3/0x110 [ 1115.568167][ C3] run_timer_softirq+0x1a/0x30 [ 1115.568170][ C3] handle_softirqs+0x21b/0x620 [ 1115.568175][ C3] ? tcp_sendmsg+0x37/0x50 [ 1115.568178][ C3] do_softirq+0xb1/0xe0 [ 1115.568181][ C3] [ 1115.568182][ C3] [ 1115.568183][ C3] __local_bh_enable_ip+0x105/0x130 [ 1115.568186][ C3] tcp_sendmsg+0x37/0x50 [ 1115.568189][ C3] sock_write_iter+0x3c1/0x520 [ 1115.568201][ C3] ? __pfx_sock_write_iter+0x10/0x10 [ 1115.568203][ C3] ? debug_object_activate+0x387/0x490 [ 1115.568212][ C3] ? __lock_acquire+0x44d/0x7e0 [ 1115.568216][ C3] vfs_write+0xc09/0x1210 [ 1115.568221][ C3] ? find_held_lock+0x2b/0x80 [ 1115.568223][ C3] ? __pfx_vfs_write+0x10/0x10 [ 1115.568228][ C3] ? __fget_files+0x199/0x300 [ 1115.568236][ C3] ksys_write+0x183/0x1d0 [ 1115.568238][ C3] ? __pfx_ksys_write+0x10/0x10 [ 1115.568243][ C3] do_syscall_64+0xc1/0x380 [ 1115.568246][ C3] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 1115.568249][ C3] RIP: 0033:0x7fa065864baf [ 1115.568254][ C3] Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 89 d0 f5 ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 dc d0 f5 ff 48 [ 1115.568257][ C3] RSP: 002b:00007fa06501dcd0 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 1115.568261][ C3] RAX: ffffffffffffffda RBX: 0000000000000010 RCX: 00007fa065864baf [ 1115.568264][ C3] RDX: 0000000000000010 RSI: 00007fa06501f000 RDI: 0000000000000007 [ 1115.568265][ C3] RBP: 00007fa06501f000 R08: 0000000000000002 R09: 00007ffe0180bbbf [ 1115.568267][ C3] R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000007 [ 1115.568269][ C3] R13: 0000000000000010 R14: 00007fa06501dd60 R15: 000055a00f9a4a90 [ 1115.568274][ C3] [ 1115.585559][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 1115.585905][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 9049, name: iperf3 [ 1115.586241][ C3] preempt_count: 101, expected: 0 [ 1115.586443][ C3] RCU nest depth: 0, expected: 0 [ 1115.586636][ C3] INFO: lockdep is turned off. [ 1115.586891][ C3] Preemption disabled at: [ 1115.586894][ C3] [<0000000000000000>] 0x0 [ 1115.587287][ C3] CPU: 3 UID: 0 PID: 9049 Comm: iperf3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 1115.587295][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1115.587298][ C3] Call Trace: [ 1115.587301][ C3] [ 1115.587305][ C3] dump_stack_lvl+0xb0/0xd0 [ 1115.587319][ C3] __might_resched+0x360/0x5a0 [ 1115.587329][ C3] down_write+0x72/0x210 [ 1115.587335][ C3] ? __pfx_down_write+0x10/0x10 [ 1115.587338][ C3] ? simple_recursive_removal+0x33/0x610 [ 1115.587345][ C3] ? rcu_is_watching+0x12/0xc0 [ 1115.587353][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 1115.587360][ C3] simple_recursive_removal+0x6a/0x610 [ 1115.587364][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 1115.587368][ C3] ? __pfx_remove_one+0x10/0x10 [ 1115.587379][ C3] debugfs_remove+0x44/0x70 [ 1115.587385][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 1115.587395][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 1115.587402][ C3] ? __sk_destruct+0x383/0x780 [ 1115.587412][ C3] ? call_timer_fn+0x13d/0x220 [ 1115.587420][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 1115.587423][ C3] ? handle_softirqs+0x21b/0x620 [ 1115.587431][ C3] ? do_softirq+0xb1/0xe0 [ 1115.587434][ C3] ? __local_bh_enable_ip+0x105/0x130 [ 1115.587436][ C3] ? tcp_sendmsg+0x37/0x50 [ 1115.587441][ C3] ? sock_write_iter+0x3c1/0x520 [ 1115.587446][ C3] ? vfs_write+0xc09/0x1210 [ 1115.587452][ C3] ? ksys_write+0x183/0x1d0 [ 1115.587455][ C3] ? do_syscall_64+0xc1/0x380 [ 1115.587459][ C3] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 1115.587469][ C3] __put_net+0x19/0x60 [ 1115.587474][ C3] __sk_destruct+0x58a/0x780 [ 1115.587479][ C3] ? __pfx_tcp_write_timer+0x10/0x10 [ 1115.587485][ C3] call_timer_fn+0x13d/0x220 [ 1115.587489][ C3] ? call_timer_fn+0xe7/0x220 [ 1115.587492][ C3] ? call_timer_fn+0xe7/0x220 [ 1115.587496][ C3] ? __pfx_call_timer_fn+0x10/0x10 [ 1115.587500][ C3] ? rcu_read_lock_any_held+0x43/0xb0 [ 1115.587510][ C3] ? __run_timers+0x532/0x810 [ 1115.587514][ C3] ? __lock_release+0x5d/0x170 [ 1115.587521][ C3] ? rcu_is_watching+0x12/0xc0 [ 1115.587527][ C3] __run_timers+0x543/0x810 [ 1115.587532][ C3] ? __pfx_tcp_write_timer+0x10/0x10 [ 1115.587538][ C3] ? __pfx___run_timers+0x10/0x10 [ 1115.587544][ C3] ? do_raw_spin_lock+0x130/0x270 [ 1115.587549][ C3] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 1115.587553][ C3] ? lock_acquire+0x10c/0x170 [ 1115.587558][ C3] ? run_timer_base+0xab/0x110 [ 1115.587564][ C3] run_timer_base+0xb3/0x110 [ 1115.587569][ C3] run_timer_softirq+0x1a/0x30 [ 1115.587573][ C3] handle_softirqs+0x21b/0x620 [ 1115.587580][ C3] ? tcp_sendmsg+0x37/0x50 [ 1115.587585][ C3] do_softirq+0xb1/0xe0 [ 1115.587590][ C3] [ 1115.587592][ C3] [ 1115.587595][ C3] __local_bh_enable_ip+0x105/0x130 [ 1115.587600][ C3] tcp_sendmsg+0x37/0x50 [ 1115.587606][ C3] sock_write_iter+0x3c1/0x520 [ 1115.587613][ C3] ? __pfx_sock_write_iter+0x10/0x10 [ 1115.587618][ C3] ? debug_object_activate+0x387/0x490 [ 1115.587633][ C3] ? __lock_acquire+0x44d/0x7e0 [ 1115.587642][ C3] vfs_write+0xc09/0x1210 [ 1115.587650][ C3] ? find_held_lock+0x2b/0x80 [ 1115.587655][ C3] ? __pfx_vfs_write+0x10/0x10 [ 1115.587664][ C3] ? __fget_files+0x199/0x300 [ 1115.587674][ C3] ksys_write+0x183/0x1d0 [ 1115.587677][ C3] ? __pfx_ksys_write+0x10/0x10 [ 1115.587682][ C3] do_syscall_64+0xc1/0x380 [ 1115.587685][ C3] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 1115.587688][ C3] RIP: 0033:0x7fa065864baf [ 1115.587697][ C3] Code: Unable to access opcode bytes at 0x7fa065864b85. [ 1115.587698][ C3] RSP: 002b:00007fa06501dcd0 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 1115.587702][ C3] RAX: ffffffffffffffda RBX: 0000000000000010 RCX: 00007fa065864baf [ 1115.587705][ C3] RDX: 0000000000000010 RSI: 00007fa06501f000 RDI: 0000000000000007 [ 1115.587706][ C3] RBP: 00007fa06501f000 R08: 0000000000000002 R09: 00007ffe0180bbbf [ 1115.587708][ C3] R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000007 [ 1115.587710][ C3] R13: 0000000000000010 R14: 00007fa06501dd60 R15: 000055a00f9a4a90 [ 1115.587716][ C3] [ 1156.518374][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 1156.519013][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/1 [ 1156.519573][ C1] preempt_count: 101, expected: 0 [ 1156.519888][ C1] RCU nest depth: 0, expected: 0 [ 1156.520214][ C1] INFO: lockdep is turned off. [ 1156.520528][ C1] Preemption disabled at: [ 1156.520531][ C1] [<0000000000000000>] 0x0 [ 1156.521100][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 1156.521109][ C1] Tainted: [W]=WARN [ 1156.521111][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1156.521114][ C1] Call Trace: [ 1156.521117][ C1] [ 1156.521121][ C1] dump_stack_lvl+0xb0/0xd0 [ 1156.521136][ C1] __might_resched+0x360/0x5a0 [ 1156.521146][ C1] down_write+0x72/0x210 [ 1156.521153][ C1] ? __pfx_down_write+0x10/0x10 [ 1156.521158][ C1] ? simple_recursive_removal+0x33/0x610 [ 1156.521166][ C1] ? rcu_is_watching+0x12/0xc0 [ 1156.521177][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 1156.521185][ C1] simple_recursive_removal+0x6a/0x610 [ 1156.521190][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 1156.521195][ C1] ? __pfx_remove_one+0x10/0x10 [ 1156.521204][ C1] debugfs_remove+0x44/0x70 [ 1156.521209][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 1156.521218][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 1156.521222][ C1] ? __sk_destruct+0x383/0x780 [ 1156.521232][ C1] ? call_timer_fn+0x13d/0x220 [ 1156.521241][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 1156.521247][ C1] ? tmigr_handle_remote_up+0x1a6/0x270 [ 1156.521255][ C1] ? __walk_groups.isra.0+0x44/0x160 [ 1156.521259][ C1] ? tmigr_handle_remote+0x247/0x350 [ 1156.521263][ C1] ? handle_softirqs+0x21b/0x620 [ 1156.521270][ C1] ? __irq_exit_rcu+0xfa/0x160 [ 1156.521273][ C1] ? irq_exit_rcu+0xe/0x30 [ 1156.521276][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 1156.521281][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1156.521286][ C1] ? pv_native_safe_halt+0xf/0x20 [ 1156.521289][ C1] ? default_idle+0x9/0x10 [ 1156.521293][ C1] ? default_idle_call+0x6d/0xb0 [ 1156.521296][ C1] ? bpf_sk_storage_free+0x9f/0x1c0 [ 1156.521302][ C1] ? rcu_is_watching+0x12/0xc0 [ 1156.521307][ C1] __put_net+0x19/0x60 [ 1156.521312][ C1] __sk_destruct+0x58a/0x780 [ 1156.521316][ C1] ? __pfx_tcp_write_timer+0x10/0x10 [ 1156.521320][ C1] call_timer_fn+0x13d/0x220 [ 1156.521323][ C1] ? call_timer_fn+0xe7/0x220 [ 1156.521326][ C1] ? call_timer_fn+0xe7/0x220 [ 1156.521329][ C1] ? __pfx_call_timer_fn+0x10/0x10 [ 1156.521332][ C1] ? __pfx_sched_clock_cpu+0x10/0x10 [ 1156.521338][ C1] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 1156.521342][ C1] ? rcu_is_watching+0x12/0xc0 [ 1156.521347][ C1] __run_timers+0x543/0x810 [ 1156.521350][ C1] ? __pfx_tcp_write_timer+0x10/0x10 [ 1156.521355][ C1] ? __pfx___run_timers+0x10/0x10 [ 1156.521359][ C1] ? do_raw_spin_lock+0x130/0x270 [ 1156.521362][ C1] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 1156.521365][ C1] ? lock_acquire+0x10c/0x170 [ 1156.521370][ C1] ? timer_expire_remote+0x96/0xf0 [ 1156.521376][ C1] timer_expire_remote+0x9e/0xf0 [ 1156.521380][ C1] tmigr_handle_remote_cpu+0x274/0x440 [ 1156.521383][ C1] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 1156.521386][ C1] ? call_timer_fn+0xe7/0x220 [ 1156.521389][ C1] ? call_timer_fn+0xe7/0x220 [ 1156.521392][ C1] ? __pfx_call_timer_fn+0x10/0x10 [ 1156.521395][ C1] ? do_raw_spin_lock+0x130/0x270 [ 1156.521398][ C1] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 1156.521402][ C1] ? rcu_is_watching+0x12/0xc0 [ 1156.521406][ C1] tmigr_handle_remote_up+0x1a6/0x270 [ 1156.521411][ C1] ? __pfx_tmigr_handle_remote_up+0x10/0x10 [ 1156.521414][ C1] __walk_groups.isra.0+0x44/0x160 [ 1156.521418][ C1] tmigr_handle_remote+0x247/0x350 [ 1156.521422][ C1] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 1156.521424][ C1] ? do_raw_spin_lock+0x130/0x270 [ 1156.521427][ C1] ? spin_bug+0x162/0x1d0 [ 1156.521430][ C1] ? lock_acquire+0x10c/0x170 [ 1156.521434][ C1] ? rcu_is_watching+0x12/0xc0 [ 1156.521439][ C1] handle_softirqs+0x21b/0x620 [ 1156.521444][ C1] __irq_exit_rcu+0xfa/0x160 [ 1156.521448][ C1] irq_exit_rcu+0xe/0x30 [ 1156.521450][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 1156.521454][ C1] [ 1156.521455][ C1] [ 1156.521456][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1156.521459][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 1156.521463][ C1] Code: f2 ce 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 17 28 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 1156.521466][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000246 [ 1156.521471][ C1] RAX: 0000000000000001 RBX: 1ffff92000026fc1 RCX: ffffffff8e2125d9 [ 1156.521473][ C1] RDX: ffffed1006c166fb RSI: ffffffff8e658b60 RDI: ffffffff8b98f5bf [ 1156.521474][ C1] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c166fa [ 1156.521476][ C1] R10: ffff8880360b37d3 R11: ffff888002800558 R12: 0000000000000000 [ 1156.521478][ C1] R13: ffff888001bf0040 R14: dffffc0000000000 R15: 0000000000000000 [ 1156.521481][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 1156.521484][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 1156.521490][ C1] default_idle+0x9/0x10 [ 1156.521492][ C1] default_idle_call+0x6d/0xb0 [ 1156.521494][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 1156.521498][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 1156.521502][ C1] ? tsc_verify_tsc_adjust+0x98/0x310 [ 1156.521510][ C1] do_idle+0xf6/0x160 [ 1156.521514][ C1] cpu_startup_entry+0x54/0x60 [ 1156.521517][ C1] start_secondary+0x213/0x2a0 [ 1156.521521][ C1] ? __pfx_start_secondary+0x10/0x10 [ 1156.521526][ C1] common_startup_64+0x13e/0x148 [ 1156.521534][ C1] [ 1226.151229][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 1226.151858][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 1226.152410][ C2] preempt_count: 101, expected: 0 [ 1226.152723][ C2] RCU nest depth: 0, expected: 0 [ 1226.153051][ C2] INFO: lockdep is turned off. [ 1226.153377][ C2] Preemption disabled at: [ 1226.153380][ C2] [<0000000000000000>] 0x0 [ 1226.153943][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 1226.153954][ C2] Tainted: [W]=WARN [ 1226.153956][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1226.153960][ C2] Call Trace: [ 1226.153963][ C2] [ 1226.153968][ C2] dump_stack_lvl+0xb0/0xd0 [ 1226.153983][ C2] __might_resched+0x360/0x5a0 [ 1226.153995][ C2] down_write+0x72/0x210 [ 1226.154002][ C2] ? __pfx_down_write+0x10/0x10 [ 1226.154007][ C2] ? simple_recursive_removal+0x33/0x610 [ 1226.154014][ C2] ? rcu_is_watching+0x12/0xc0 [ 1226.154026][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 1226.154034][ C2] simple_recursive_removal+0x6a/0x610 [ 1226.154039][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 1226.154044][ C2] ? __pfx_remove_one+0x10/0x10 [ 1226.154055][ C2] debugfs_remove+0x44/0x70 [ 1226.154060][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 1226.154069][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 1226.154075][ C2] ? __sk_destruct+0x383/0x780 [ 1226.154082][ C2] ? call_timer_fn+0x13d/0x220 [ 1226.154089][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 1226.154095][ C2] ? handle_softirqs+0x21b/0x620 [ 1226.154104][ C2] ? __irq_exit_rcu+0xfa/0x160 [ 1226.154109][ C2] ? irq_exit_rcu+0xe/0x30 [ 1226.154113][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 1226.154120][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1226.154127][ C2] ? pv_native_safe_halt+0xf/0x20 [ 1226.154132][ C2] ? default_idle+0x9/0x10 [ 1226.154137][ C2] ? default_idle_call+0x6d/0xb0 [ 1226.154141][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 1226.154147][ C2] ? do_idle+0xf6/0x160 [ 1226.154152][ C2] ? cpu_startup_entry+0x54/0x60 [ 1226.154157][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 1226.154164][ C2] ? rcu_is_watching+0x12/0xc0 [ 1226.154172][ C2] __put_net+0x19/0x60 [ 1226.154178][ C2] __sk_destruct+0x58a/0x780 [ 1226.154185][ C2] ? __pfx_tcp_write_timer+0x10/0x10 [ 1226.154191][ C2] call_timer_fn+0x13d/0x220 [ 1226.154196][ C2] ? call_timer_fn+0xe7/0x220 [ 1226.154201][ C2] ? call_timer_fn+0xe7/0x220 [ 1226.154206][ C2] ? __pfx_call_timer_fn+0x10/0x10 [ 1226.154211][ C2] ? perf_event_task_tick+0x181/0x2e0 [ 1226.154220][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 1226.154226][ C2] ? rcu_is_watching+0x12/0xc0 [ 1226.154235][ C2] __run_timers+0x543/0x810 [ 1226.154241][ C2] ? __pfx_tcp_write_timer+0x10/0x10 [ 1226.154249][ C2] ? __pfx___run_timers+0x10/0x10 [ 1226.154255][ C2] ? trace_lock_release+0x2a/0xd0 [ 1226.154261][ C2] ? lock_release+0x13/0xc0 [ 1226.154268][ C2] ? do_raw_spin_lock+0x130/0x270 [ 1226.154273][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 1226.154278][ C2] ? lock_acquire+0x10c/0x170 [ 1226.154283][ C2] ? run_timer_base+0xab/0x110 [ 1226.154292][ C2] run_timer_base+0xb3/0x110 [ 1226.154298][ C2] run_timer_softirq+0x1a/0x30 [ 1226.154303][ C2] handle_softirqs+0x21b/0x620 [ 1226.154313][ C2] __irq_exit_rcu+0xfa/0x160 [ 1226.154319][ C2] irq_exit_rcu+0xe/0x30 [ 1226.154323][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 1226.154329][ C2] [ 1226.154331][ C2] [ 1226.154333][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1226.154338][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 1226.154345][ C2] Code: f2 ce 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 17 28 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 1226.154350][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 1226.154357][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffff8e2125d9 [ 1226.154360][ C2] RDX: ffffed1006c266fb RSI: ffffffff8e658b60 RDI: ffffffff8b98f5bf [ 1226.154364][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 1226.154366][ C2] R10: ffff8880361337d3 R11: ffffffff91d81b18 R12: 0000000000000000 [ 1226.154369][ C2] R13: ffff888001bf2340 R14: dffffc0000000000 R15: 0000000000000000 [ 1226.154376][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 1226.154382][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 1226.154389][ C2] default_idle+0x9/0x10 [ 1226.154393][ C2] default_idle_call+0x6d/0xb0 [ 1226.154398][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 1226.154404][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 1226.154412][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 1226.154421][ C2] do_idle+0xf6/0x160 [ 1226.154428][ C2] cpu_startup_entry+0x54/0x60 [ 1226.154434][ C2] start_secondary+0x213/0x2a0 [ 1226.154439][ C2] ? __pfx_start_secondary+0x10/0x10 [ 1226.154448][ C2] common_startup_64+0x13e/0x148 [ 1226.154463][ C2]