[ 13.760793][ T266] ip (266) used greatest stack depth: 24672 bytes left [ 13.760810][ T266] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.760813][ T266] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 266, name: ip [ 13.760814][ T266] preempt_count: 2, expected: 0 [ 13.760815][ T266] RCU nest depth: 0, expected: 0 [ 13.760816][ T266] locks held by ip/266: 5, last CPU#2: [ 13.760818][ T266] #0: ffffffff894127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.760829][ T266] #1: ffffffff89579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.760835][ T266] #2: ffffffff89579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.760839][ T266] #3: ffffffff89499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.760842][ T266] #4: ffffffff89499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.760846][ T266] irq event stamp: 40370 [ 13.760847][ T266] hardirqs last enabled at (40369): [] __down_trylock_console_sem+0x86/0xa0 [ 13.760849][ T266] hardirqs last disabled at (40370): [] console_emit_next_record+0x3d4/0x4c0 [ 13.760851][ T266] softirqs last enabled at (39694): [] handle_softirqs+0x67c/0x900 [ 13.760853][ T266] softirqs last disabled at (39683): [] __irq_exit_rcu+0x145/0x1c0 [ 13.760856][ T266] Preemption disabled at: [ 13.760856][ T266] [<0000000000000000>] 0x0 [ 13.760863][ T266] CPU: 2 UID: 0 PID: 266 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.760866][ T266] Tainted: [W]=WARN [ 13.760867][ T266] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.760869][ T266] Call Trace: [ 13.760871][ T266] [ 13.760872][ T266] dump_stack_lvl+0x6f/0xa0 [ 13.760879][ T266] __might_resched.cold+0x1fe/0x2c1 [ 13.760883][ T266] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.760888][ T266] ? __kmalloc_noprof+0xdb/0x760 [ 13.760893][ T266] __kmalloc_noprof+0x443/0x760 [ 13.760895][ T266] ? alloc_buf.isra.0+0x4b/0x260 [ 13.760901][ T266] ? do_raw_spin_unlock+0x59/0x250 [ 13.760904][ T266] alloc_buf.isra.0+0x4b/0x260 [ 13.760907][ T266] put_chars+0x1e1/0x2f0 [ 13.760910][ T266] ? __send_to_port+0x420/0x420 [ 13.760911][ T266] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.760916][ T266] ? validate_chain+0x38b/0xc20 [ 13.760921][ T266] hvc_console_print+0x292/0x780 [ 13.760933][ T266] ? hvc_write+0x3a0/0x3a0 [ 13.760935][ T266] ? rcu_is_watching+0x16/0xd0 [ 13.760938][ T266] ? lock_acquire+0x13c/0x160 [ 13.760942][ T266] console_emit_next_record+0x22f/0x4c0 [ 13.760946][ T266] ? devkmsg_read+0x4b0/0x4b0 [ 13.760948][ T266] ? console_flush_one_record+0x106/0x710 [ 13.760951][ T266] ? rcu_is_watching+0x16/0xd0 [ 13.760953][ T266] ? lock_acquire+0x13c/0x160 [ 13.760957][ T266] console_flush_one_record+0x46f/0x710 [ 13.760961][ T266] ? console_emit_next_record+0x4c0/0x4c0 [ 13.760963][ T266] ? __lock_acquire+0x518/0xc20 [ 13.760968][ T266] console_unlock+0xee/0x1f0 [ 13.760971][ T266] ? console_flush_one_record+0x710/0x710 [ 13.760973][ T266] ? rcu_is_watching+0x16/0xd0 [ 13.760975][ T266] ? lock_acquire+0x60/0x160 [ 13.760979][ T266] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.760980][ T266] ? vprintk_emit+0x320/0x3e0 [ 13.760984][ T266] vprintk_emit+0x37c/0x3e0 [ 13.760987][ T266] ? wake_up_klogd_work_func+0x90/0x90 [ 13.760991][ T266] ? __lock_acquire+0x518/0xc20 [ 13.760994][ T266] _printk+0xc7/0x100 [ 13.760998][ T266] ? snapshot_read.cold+0x21/0x21 [ 13.761000][ T266] ? do_raw_spin_lock+0x131/0x280 [ 13.761003][ T266] ? __rwlock_init+0x150/0x150 [ 13.761006][ T266] ? do_raw_spin_lock+0x131/0x280 [ 13.761009][ T266] do_exit.cold+0x82/0x9c [ 13.761013][ T266] ? exit_notify+0x890/0x890 [ 13.761014][ T266] ? __lock_release.isra.0+0x69/0x1a0 [ 13.761017][ T266] ? rcu_is_watching+0x16/0xd0 [ 13.761021][ T266] do_group_exit+0xb8/0x370 [ 13.761023][ T266] __x64_sys_exit_group+0x3c/0x50 [ 13.761025][ T266] x64_sys_call+0x1567/0x1570 [ 13.761028][ T266] do_syscall_64+0xff/0x530 [ 13.761031][ T266] ? exc_page_fault+0xee/0x100 [ 13.761034][ T266] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.761037][ T266] RIP: 0033:0x7f09635601b8 [ 13.761039][ T266] Code: Unable to access opcode bytes at 0x7f096356018e. [ 13.761040][ T266] RSP: 002b:00007fff8a3478b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.761043][ T266] RAX: ffffffffffffffda RBX: 00007f0963690f88 RCX: 00007f09635601b8 [ 13.761044][ T266] RDX: 00007f09632aafc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 13.761045][ T266] RBP: 00007fff8a347910 R08: 0000000000000000 R09: 0000000000000000 [ 13.761046][ T266] R10: 00007fff8a3476d0 R11: 0000000000000246 R12: 0000000000000001 [ 13.761046][ T266] R13: 0000000000000000 R14: 00007f096368f680 R15: 00007f0963690fa0 [ 13.761053][ T266] [ 13.958443][ T271] ip (271) used greatest stack depth: 24560 bytes left [ 16.486550][ C0] clocksource: Watchdog remote CPU 3 read timed out [ 16.486669][ C0] [ 16.486671][ C0] ======================================================== [ 16.486672][ C0] WARNING: possible irq lock inversion dependency detected [ 16.486674][ C0] 7.2.0-virtme #1 Tainted: G W [ 16.486676][ C0] -------------------------------------------------------- [ 16.486677][ C0] swapper/0/0 just changed the state of lock: [ 16.486678][ C0] ffffffff89499660 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.486691][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 16.486692][ C0] (fs_reclaim){+.+.}-{0:0} [ 16.486694][ C0] [ 16.486694][ C0] [ 16.486694][ C0] and interrupts could create inverse lock ordering between them. [ 16.486694][ C0] [ 16.486695][ C0] [ 16.486695][ C0] other info that might help us debug this: [ 16.486695][ C0] Possible interrupt unsafe locking scenario: [ 16.486695][ C0] [ 16.486696][ C0] CPU0 CPU1 [ 16.486696][ C0] ---- ---- [ 16.486697][ C0] lock(fs_reclaim); [ 16.486698][ C0] local_irq_disable(); [ 16.486698][ C0] lock(console_owner); [ 16.486699][ C0] lock(fs_reclaim); [ 16.486700][ C0] [ 16.486700][ C0] lock(console_owner); [ 16.486701][ C0] [ 16.486701][ C0] *** DEADLOCK *** [ 16.486701][ C0] [ 16.486701][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 16.486703][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 16.486709][ C0] #1: ffffffff895de8b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 16.486713][ C0] #2: ffffffff89579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.486717][ C0] #3: ffffffff89579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.486720][ C0] [ 16.486720][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 16.486725][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 16.486727][ C0] HARDIRQ-ON-W at: [ 16.486729][ C0] __lock_acquire+0x388/0xc20 [ 16.486732][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.486733][ C0] fs_reclaim_acquire+0xd5/0x120 [ 16.486736][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 16.486739][ C0] kthread_create_worker_on_node+0xea/0x210 [ 16.486741][ C0] workqueue_init+0x2a/0x680 [ 16.486745][ C0] kernel_init_freeable+0x2fe/0x630 [ 16.486748][ C0] kernel_init+0x21/0x150 [ 16.486751][ C0] ret_from_fork+0x474/0x6b0 [ 16.486754][ C0] ret_from_fork_asm+0x11/0x20 [ 16.486758][ C0] SOFTIRQ-ON-W at: [ 16.486758][ C0] __lock_acquire+0x388/0xc20 [ 16.486760][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.486761][ C0] fs_reclaim_acquire+0xd5/0x120 [ 16.486762][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 16.486764][ C0] kthread_create_worker_on_node+0xea/0x210 [ 16.486765][ C0] workqueue_init+0x2a/0x680 [ 16.486766][ C0] kernel_init_freeable+0x2fe/0x630 [ 16.486768][ C0] kernel_init+0x21/0x150 [ 16.486770][ C0] ret_from_fork+0x474/0x6b0 [ 16.486771][ C0] ret_from_fork_asm+0x11/0x20 [ 16.486772][ C0] INITIAL USE at: [ 16.486773][ C0] __lock_acquire+0x388/0xc20 [ 16.486774][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.486775][ C0] fs_reclaim_acquire+0xd5/0x120 [ 16.486777][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 16.486778][ C0] kthread_create_worker_on_node+0xea/0x210 [ 16.486780][ C0] workqueue_init+0x2a/0x680 [ 16.486781][ C0] kernel_init_freeable+0x2fe/0x630 [ 16.486782][ C0] kernel_init+0x21/0x150 [ 16.486784][ C0] ret_from_fork+0x474/0x6b0 [ 16.486785][ C0] ret_from_fork_asm+0x11/0x20 [ 16.486786][ C0] } [ 16.486787][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 16.486790][ C0] ... acquired at: [ 16.486791][ C0] __lock_acquire+0x518/0xc20 [ 16.486793][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.486794][ C0] fs_reclaim_acquire+0xd5/0x120 [ 16.486795][ C0] __kmalloc_noprof+0xd3/0x760 [ 16.486797][ C0] alloc_buf.isra.0+0x4b/0x260 [ 16.486800][ C0] put_chars+0x1e1/0x2f0 [ 16.486801][ C0] hvc_console_print+0x292/0x780 [ 16.486804][ C0] console_emit_next_record+0x22f/0x4c0 [ 16.486806][ C0] console_flush_one_record+0x46f/0x710 [ 16.486807][ C0] console_unlock+0xee/0x1f0 [ 16.486809][ C0] vprintk_emit+0x37c/0x3e0 [ 16.486810][ C0] dev_vprintk_emit+0x27f/0x2c0 [ 16.486814][ C0] dev_printk_emit+0xb9/0xee [ 16.486815][ C0] _dev_info+0xe2/0x116 [ 16.486817][ C0] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 16.486820][ C0] cmos_do_probe+0x73b/0x98a [ 16.486821][ C0] platform_probe+0xfe/0x1f0 [ 16.486823][ C0] call_driver_probe+0x61/0x1c0 [ 16.486826][ C0] really_probe+0x199/0x760 [ 16.486828][ C0] __driver_probe_device+0x24f/0x440 [ 16.486829][ C0] driver_probe_device+0x4a/0xf0 [ 16.486831][ C0] __driver_attach+0x1b8/0x540 [ 16.486832][ C0] bus_for_each_dev+0x130/0x1e0 [ 16.486834][ C0] bus_add_driver+0x2c8/0x530 [ 16.486835][ C0] driver_register+0x1a3/0x390 [ 16.486837][ C0] __platform_driver_probe+0x13f/0x270 [ 16.486838][ C0] cmos_init+0x31/0x40 [ 16.486841][ C0] do_one_initcall+0x124/0x4f0 [ 16.486842][ C0] kernel_init_freeable+0x596/0x630 [ 16.486844][ C0] kernel_init+0x21/0x150 [ 16.486845][ C0] ret_from_fork+0x474/0x6b0 [ 16.486847][ C0] ret_from_fork_asm+0x11/0x20 [ 16.486848][ C0] [ 16.486848][ C0] -> (console_owner){..-.}-{0:0} { [ 16.486850][ C0] IN-SOFTIRQ-W at: [ 16.486851][ C0] __lock_acquire+0x388/0xc20 [ 16.486852][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.486853][ C0] console_lock_spinning_enable+0x5c/0x60 [ 16.486855][ C0] console_emit_next_record+0x1d1/0x4c0 [ 16.486857][ C0] console_flush_one_record+0x46f/0x710 [ 16.486858][ C0] console_unlock+0xee/0x1f0 [ 16.486860][ C0] vprintk_emit+0x37c/0x3e0 [ 16.486862][ C0] _printk+0xc7/0x100 [ 16.486864][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 16.486867][ C0] call_timer_fn+0x160/0x4d0 [ 16.486868][ C0] __run_timers+0x68f/0xaa0 [ 16.486870][ C0] run_timer_softirq+0xf0/0x160 [ 16.486872][ C0] handle_softirqs+0x1d3/0x900 [ 16.486874][ C0] __irq_exit_rcu+0x145/0x1c0 [ 16.486876][ C0] irq_exit_rcu+0xe/0x30 [ 16.486877][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 16.486879][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.486881][ C0] pv_native_safe_halt+0xf/0x10 [ 16.486882][ C0] default_idle+0x9/0x10 [ 16.486883][ C0] default_idle_call+0x6e/0xb0 [ 16.486885][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 16.486887][ C0] do_idle+0xd8/0x190 [ 16.486888][ C0] cpu_startup_entry+0x53/0x70 [ 16.486889][ C0] rest_init+0x279/0x280 [ 16.486891][ C0] start_kernel+0x3af/0x3b0 [ 16.486893][ C0] x86_64_start_reservations+0x24/0x30 [ 16.486895][ C0] x86_64_start_kernel+0x12b/0x130 [ 16.486896][ C0] common_startup_64+0x13e/0x148 [ 16.486899][ C0] INITIAL USE at: [ 16.486900][ C0] } [ 16.486900][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 16.486904][ C0] ... acquired at: [ 16.486904][ C0] mark_lock+0x1d7/0xa00 [ 16.486906][ C0] mark_usage+0x42/0x170 [ 16.486907][ C0] __lock_acquire+0x388/0xc20 [ 16.486908][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.486910][ C0] console_lock_spinning_enable+0x5c/0x60 [ 16.486911][ C0] console_emit_next_record+0x1d1/0x4c0 [ 16.486913][ C0] console_flush_one_record+0x46f/0x710 [ 16.486915][ C0] console_unlock+0xee/0x1f0 [ 16.486916][ C0] vprintk_emit+0x37c/0x3e0 [ 16.486918][ C0] _printk+0xc7/0x100 [ 16.486919][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 16.486920][ C0] call_timer_fn+0x160/0x4d0 [ 16.486922][ C0] __run_timers+0x68f/0xaa0 [ 16.486923][ C0] run_timer_softirq+0xf0/0x160 [ 16.486925][ C0] handle_softirqs+0x1d3/0x900 [ 16.486926][ C0] __irq_exit_rcu+0x145/0x1c0 [ 16.486932][ C0] irq_exit_rcu+0xe/0x30 [ 16.486933][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 16.486934][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.486935][ C0] pv_native_safe_halt+0xf/0x10 [ 16.486936][ C0] default_idle+0x9/0x10 [ 16.486938][ C0] default_idle_call+0x6e/0xb0 [ 16.486939][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 16.486940][ C0] do_idle+0xd8/0x190 [ 16.486941][ C0] cpu_startup_entry+0x53/0x70 [ 16.486942][ C0] rest_init+0x279/0x280 [ 16.486944][ C0] start_kernel+0x3af/0x3b0 [ 16.486945][ C0] x86_64_start_reservations+0x24/0x30 [ 16.486947][ C0] x86_64_start_kernel+0x12b/0x130 [ 16.486948][ C0] common_startup_64+0x13e/0x148 [ 16.486949][ C0] [ 16.486950][ C0] [ 16.486950][ C0] stack backtrace: [ 16.486953][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.486956][ C0] Tainted: [W]=WARN [ 16.486957][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.486958][ C0] Call Trace: [ 16.486960][ C0] [ 16.486961][ C0] dump_stack_lvl+0x6f/0xa0 [ 16.486965][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 16.486967][ C0] mark_lock_irq+0x989/0x9c0 [ 16.486970][ C0] mark_lock+0x1d7/0xa00 [ 16.486972][ C0] mark_usage+0x42/0x170 [ 16.486974][ C0] __lock_acquire+0x388/0xc20 [ 16.486976][ C0] lock_acquire.part.0+0xd4/0x280 [ 16.486978][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 16.486980][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.486983][ C0] ? lock_acquire+0x13c/0x160 [ 16.486985][ C0] console_lock_spinning_enable+0x5c/0x60 [ 16.486987][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 16.486989][ C0] console_emit_next_record+0x1d1/0x4c0 [ 16.486991][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 16.486992][ C0] ? console_flush_one_record+0x106/0x710 [ 16.486994][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.486996][ C0] ? lock_acquire+0x13c/0x160 [ 16.486998][ C0] console_flush_one_record+0x46f/0x710 [ 16.487000][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 16.487002][ C0] ? __lock_acquire+0x518/0xc20 [ 16.487004][ C0] console_unlock+0xee/0x1f0 [ 16.487006][ C0] ? console_flush_one_record+0x710/0x710 [ 16.487008][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.487010][ C0] ? lock_acquire+0x60/0x160 [ 16.487012][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.487013][ C0] ? vprintk_emit+0x320/0x3e0 [ 16.487015][ C0] vprintk_emit+0x37c/0x3e0 [ 16.487018][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 16.487020][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 16.487022][ C0] _printk+0xc7/0x100 [ 16.487024][ C0] ? snapshot_read.cold+0x21/0x21 [ 16.487025][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 16.487027][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 16.487029][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 16.487031][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 16.487033][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 16.487035][ C0] call_timer_fn+0x160/0x4d0 [ 16.487037][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 16.487038][ C0] ? debug_object_active_state+0x430/0x430 [ 16.487042][ C0] ? find_held_lock+0x2b/0x80 [ 16.487044][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 16.487046][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.487048][ C0] __run_timers+0x68f/0xaa0 [ 16.487050][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 16.487052][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 16.487054][ C0] ? __lock_acquire+0x518/0xc20 [ 16.487057][ C0] ? __rwlock_init+0x150/0x150 [ 16.487059][ C0] run_timer_softirq+0xf0/0x160 [ 16.487061][ C0] ? __run_timers+0xaa0/0xaa0 [ 16.487063][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.487065][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.487067][ C0] handle_softirqs+0x1d3/0x900 [ 16.487069][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 16.487071][ C0] ? _local_bh_enable+0xc0/0xc0 [ 16.487073][ C0] __irq_exit_rcu+0x145/0x1c0 [ 16.487074][ C0] irq_exit_rcu+0xe/0x30 [ 16.487076][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 16.487077][ C0] [ 16.487078][ C0] [ 16.487078][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 16.487080][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.487081][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 16.487084][ C0] Code: 48 8b 3d 94 12 06 02 e8 1f 00 00 00 48 2b 05 58 13 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 b6 17 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 16.487086][ C0] RSP: 0018:ffffffff89207cf8 EFLAGS: 00000296 [ 16.487088][ C0] RAX: 0000000000084293 RBX: ffffffff8922c600 RCX: ffffffff860fa307 [ 16.487089][ C0] RDX: ffffffff8922c600 RSI: ffffffff89078e9d RDI: ffffffff88a8dce0 [ 16.487090][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 16.487091][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff1240fa2 [ 16.487092][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 16.487094][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 16.487096][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 16.487097][ C0] default_idle+0x9/0x10 [ 16.487099][ C0] default_idle_call+0x6e/0xb0 [ 16.487100][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 16.487102][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 16.487104][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 16.487106][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.487108][ C0] do_idle+0xd8/0x190 [ 16.487110][ C0] cpu_startup_entry+0x53/0x70 [ 16.487111][ C0] rest_init+0x279/0x280 [ 16.487113][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 16.487115][ C0] ? rest_init+0x280/0x280 [ 16.487117][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 16.487120][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 16.487123][ C0] ? acpi_enable+0x1e4/0x330 [ 16.487126][ C0] start_kernel+0x3af/0x3b0 [ 16.487128][ C0] x86_64_start_reservations+0x24/0x30 [ 16.487130][ C0] x86_64_start_kernel+0x12b/0x130 [ 16.487132][ C0] common_startup_64+0x13e/0x148 [ 16.487135][ C0] [ 16.487139][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.487141][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 16.487142][ C0] preempt_count: 103, expected: 0 [ 16.487143][ C0] RCU nest depth: 0, expected: 0 [ 16.487143][ C0] INFO: lockdep is turned off. [ 16.487144][ C0] irq event stamp: 541347 [ 16.487145][ C0] hardirqs last enabled at (541346): [] __down_trylock_console_sem+0x86/0xa0 [ 16.487147][ C0] hardirqs last disabled at (541347): [] console_emit_next_record+0x3d4/0x4c0 [ 16.487149][ C0] softirqs last enabled at (541314): [] handle_softirqs+0x67c/0x900 [ 16.487150][ C0] softirqs last disabled at (541333): [] __irq_exit_rcu+0x145/0x1c0 [ 16.487152][ C0] Preemption disabled at: [ 16.487153][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 16.487156][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.487158][ C0] Tainted: [W]=WARN [ 16.487158][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.487159][ C0] Call Trace: [ 16.487159][ C0] [ 16.487160][ C0] dump_stack_lvl+0x6f/0xa0 [ 16.487162][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 16.487164][ C0] __might_resched.cold+0x1fe/0x2c1 [ 16.487167][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.487169][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.487172][ C0] __kmalloc_noprof+0x443/0x760 [ 16.487173][ C0] ? __rwlock_init+0x150/0x150 [ 16.487175][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 16.487177][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 16.487179][ C0] alloc_buf.isra.0+0x4b/0x260 [ 16.487181][ C0] put_chars+0x1e1/0x2f0 [ 16.487183][ C0] ? __send_to_port+0x420/0x420 [ 16.487185][ C0] ? mark_lock+0x1d7/0xa00 [ 16.487187][ C0] hvc_console_print+0x292/0x780 [ 16.487189][ C0] ? hvc_write+0x3a0/0x3a0 [ 16.487191][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.487193][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.487195][ C0] console_emit_next_record+0x22f/0x4c0 [ 16.487197][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 16.487199][ C0] ? console_flush_one_record+0x106/0x710 [ 16.487201][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.487203][ C0] ? lock_acquire+0x13c/0x160 [ 16.487205][ C0] console_flush_one_record+0x46f/0x710 [ 16.487207][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 16.487209][ C0] ? __lock_acquire+0x518/0xc20 [ 16.487211][ C0] console_unlock+0xee/0x1f0 [ 16.487213][ C0] ? console_flush_one_record+0x710/0x710 [ 16.487215][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.487217][ C0] ? lock_acquire+0x60/0x160 [ 16.487219][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.487220][ C0] ? vprintk_emit+0x320/0x3e0 [ 16.487222][ C0] vprintk_emit+0x37c/0x3e0 [ 16.487224][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 16.487227][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 16.487229][ C0] _printk+0xc7/0x100 [ 16.487230][ C0] ? snapshot_read.cold+0x21/0x21 [ 16.487232][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 16.487234][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 16.487236][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 16.487238][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 16.487239][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 16.487241][ C0] call_timer_fn+0x160/0x4d0 [ 16.487243][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 16.487245][ C0] ? debug_object_active_state+0x430/0x430 [ 16.487247][ C0] ? find_held_lock+0x2b/0x80 [ 16.487248][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 16.487250][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.487252][ C0] __run_timers+0x68f/0xaa0 [ 16.487254][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 16.487256][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 16.487258][ C0] ? __lock_acquire+0x518/0xc20 [ 16.487261][ C0] ? __rwlock_init+0x150/0x150 [ 16.487263][ C0] run_timer_softirq+0xf0/0x160 [ 16.487265][ C0] ? __run_timers+0xaa0/0xaa0 [ 16.487267][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.487268][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.487270][ C0] handle_softirqs+0x1d3/0x900 [ 16.487272][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 16.487273][ C0] ? _local_bh_enable+0xc0/0xc0 [ 16.487275][ C0] __irq_exit_rcu+0x145/0x1c0 [ 16.487277][ C0] irq_exit_rcu+0xe/0x30 [ 16.487278][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 16.487280][ C0] [ 16.487280][ C0] [ 16.487281][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 16.487282][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.487284][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 16.487285][ C0] Code: 48 8b 3d 94 12 06 02 e8 1f 00 00 00 48 2b 05 58 13 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 b6 17 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 16.487286][ C0] RSP: 0018:ffffffff89207cf8 EFLAGS: 00000296 [ 16.487288][ C0] RAX: 0000000000084293 RBX: ffffffff8922c600 RCX: ffffffff860fa307 [ 16.487288][ C0] RDX: ffffffff8922c600 RSI: ffffffff89078e9d RDI: ffffffff88a8dce0 [ 16.487289][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 16.487290][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff1240fa2 [ 16.487290][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 16.487292][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 16.487294][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 16.487295][ C0] default_idle+0x9/0x10 [ 16.487297][ C0] default_idle_call+0x6e/0xb0 [ 16.487298][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 16.487300][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 16.487301][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 16.487303][ C0] ? rcu_is_watching+0x16/0xd0 [ 16.487305][ C0] do_idle+0xd8/0x190 [ 16.487306][ C0] cpu_startup_entry+0x53/0x70 [ 16.487308][ C0] rest_init+0x279/0x280 [ 16.487309][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 16.487312][ C0] ? rest_init+0x280/0x280 [ 16.487313][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 16.487315][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 16.487317][ C0] ? acpi_enable+0x1e4/0x330 [ 16.487319][ C0] start_kernel+0x3af/0x3b0 [ 16.487321][ C0] x86_64_start_reservations+0x24/0x30 [ 16.487323][ C0] x86_64_start_kernel+0x12b/0x130 [ 16.487325][ C0] common_startup_64+0x13e/0x148 [ 16.487327][ C0] [ 23.394321][ T520] iperf3 (520) used greatest stack depth: 24160 bytes left [ 23.394340][ T520] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 23.394343][ T520] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 520, name: iperf3 [ 23.394346][ T520] preempt_count: 2, expected: 0 [ 23.394347][ T520] RCU nest depth: 0, expected: 0 [ 23.394348][ T520] INFO: lockdep is turned off. [ 23.394350][ T520] irq event stamp: 0 [ 23.394351][ T520] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 23.394357][ T520] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 23.394364][ T520] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 23.394366][ T520] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 23.394369][ T520] Preemption disabled at: [ 23.394370][ T520] [<0000000000000000>] 0x0 [ 23.394377][ T520] CPU: 0 UID: 0 PID: 520 Comm: iperf3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 23.394381][ T520] Tainted: [W]=WARN [ 23.394382][ T520] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.394385][ T520] Call Trace: [ 23.394387][ T520] [ 23.394389][ T520] dump_stack_lvl+0x6f/0xa0 [ 23.394396][ T520] __might_resched.cold+0x1fe/0x2c1 [ 23.394401][ T520] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 23.394405][ T520] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 23.394408][ T520] ? rcu_is_watching+0x16/0xd0 [ 23.394416][ T520] __kmalloc_noprof+0x443/0x760 [ 23.394420][ T520] ? __rwlock_init+0x150/0x150 [ 23.394423][ T520] ? alloc_buf.isra.0+0x4b/0x260 [ 23.394429][ T520] ? do_raw_spin_unlock+0x59/0x250 [ 23.394431][ T520] alloc_buf.isra.0+0x4b/0x260 [ 23.394435][ T520] put_chars+0x1e1/0x2f0 [ 23.394437][ T520] ? prb_final_commit+0x50/0x50 [ 23.394440][ T520] ? __send_to_port+0x420/0x420 [ 23.394443][ T520] ? printk_get_next_message+0x240/0x650 [ 23.394447][ T520] hvc_console_print+0x292/0x780 [ 23.394452][ T520] ? hvc_write+0x3a0/0x3a0 [ 23.394455][ T520] ? do_raw_spin_lock+0x131/0x280 [ 23.394457][ T520] ? vsnprintf+0x668/0x1700 [ 23.394461][ T520] ? __rwlock_init+0x150/0x150 [ 23.394463][ T520] ? rcu_is_watching+0x16/0xd0 [ 23.394465][ T520] ? lock_acquire+0x13c/0x160 [ 23.394469][ T520] console_emit_next_record+0x22f/0x4c0 [ 23.394472][ T520] ? devkmsg_read+0x4b0/0x4b0 [ 23.394475][ T520] ? rcu_is_watching+0x16/0xd0 [ 23.394478][ T520] ? rcu_is_watching+0x16/0xd0 [ 23.394480][ T520] ? rcu_is_watching+0x16/0xd0 [ 23.394483][ T520] ? lock_acquire+0x13c/0x160 [ 23.394486][ T520] ? console_flush_one_record+0x111/0x710 [ 23.394488][ T520] console_flush_one_record+0x46f/0x710 [ 23.394492][ T520] ? console_emit_next_record+0x4c0/0x4c0 [ 23.394496][ T520] console_unlock+0xee/0x1f0 [ 23.394498][ T520] ? lock_acquire+0x13c/0x160 [ 23.394501][ T520] ? console_flush_one_record+0x710/0x710 [ 23.394503][ T520] ? rcu_is_watching+0x16/0xd0 [ 23.394505][ T520] ? lock_release+0x184/0x1f0 [ 23.394507][ T520] ? lock_acquire+0x60/0x160 [ 23.394509][ T520] ? __rcu_read_lock+0x30/0x70 [ 23.394512][ T520] ? __down_trylock_console_sem+0x5e/0xa0 [ 23.394515][ T520] ? vprintk_emit+0x320/0x3e0 [ 23.394518][ T520] vprintk_emit+0x37c/0x3e0 [ 23.394521][ T520] ? wake_up_klogd_work_func+0x90/0x90 [ 23.394525][ T520] _printk+0xc7/0x100 [ 23.394529][ T520] ? snapshot_read.cold+0x21/0x21 [ 23.394531][ T520] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 23.394535][ T520] ? do_raw_spin_lock+0x131/0x280 [ 23.394538][ T520] ? __rwlock_init+0x150/0x150 [ 23.394541][ T520] ? do_raw_spin_lock+0x131/0x280 [ 23.394543][ T520] do_exit.cold+0x82/0x9c [ 23.394548][ T520] ? exit_notify+0x890/0x890 [ 23.394552][ T520] __x64_sys_exit+0x42/0x50 [ 23.394554][ T520] x64_sys_call+0x156c/0x1570 [ 23.394557][ T520] do_syscall_64+0xff/0x530 [ 23.394561][ T520] ? exc_page_fault+0xee/0x100 [ 23.394563][ T520] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.394567][ T520] RIP: 0033:0x7fea83178c49 [ 23.394569][ T520] Code: Unable to access opcode bytes at 0x7fea83178c1f. [ 23.394571][ T520] RSP: 002b:00007fea82937e60 EFLAGS: 00000246 ORIG_RAX: 000000000000003c [ 23.394575][ T520] RAX: ffffffffffffffda RBX: 00007fea829386c0 RCX: 00007fea83178c49 [ 23.394577][ T520] RDX: 0000000000000000 RSI: 0000000000801000 RDI: 0000000000000000 [ 23.394579][ T520] RBP: 00007fea82937f70 R08: 0000000000000001 R09: 00007fea829386c0 [ 23.394581][ T520] R10: 0000000000000008 R11: 0000000000000246 R12: 00007fea82138000 [ 23.394582][ T520] R13: 00007ffc6c441a00 R14: 0000000000000002 R15: 00007ffc6c441b07 [ 23.394586][ T520] [ 23.463046][ T421] tun5: deleting peer with id 14, reason 4 [ 23.463632][ T344] tun0: deleting peer with id 4, reason 4 [ 23.463946][ T344] tun0: deleting peer with id 3, reason 4 [ 23.464215][ T344] tun0: deleting peer with id 5, reason 4 [ 23.464499][ T344] tun0: deleting peer with id 1, reason 4 [ 23.464777][ T344] tun0: deleting peer with id 6, reason 4 [ 23.465047][ T344] tun0: deleting peer with id 2, reason 4 [ 23.465663][ T435] tun6: deleting peer with id 15, reason 4 [ 23.465694][ T365] tun1: deleting peer with id 10, reason 4 [ 23.467166][ T407] tun4: deleting peer with id 13, reason 4 [ 23.473021][ T379] tun2: deleting peer with id 11, reason 4 [ 23.473134][ T393] tun3: deleting peer with id 12, reason 4