[ 11.663989][ T210] ip (210) used greatest stack depth: 24304 bytes left [ 11.664005][ T210] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.664007][ T210] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 210, name: ip [ 11.664009][ T210] preempt_count: 2, expected: 0 [ 11.664010][ T210] RCU nest depth: 0, expected: 0 [ 11.664011][ T210] locks held by ip/210: 5, last CPU#0: [ 11.664013][ T210] #0: ffffffff93e267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.664026][ T210] #1: ffffffff93f8dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.664031][ T210] #2: ffffffff93f8dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.664035][ T210] #3: ffffffff93ead660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.664038][ T210] #4: ffffffff93ead560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.664042][ T210] irq event stamp: 36016 [ 11.664043][ T210] hardirqs last enabled at (36015): [] __down_trylock_console_sem+0x86/0xa0 [ 11.664045][ T210] hardirqs last disabled at (36016): [] console_emit_next_record+0x3d4/0x4c0 [ 11.664047][ T210] softirqs last enabled at (35596): [] handle_softirqs+0x67c/0x900 [ 11.664049][ T210] softirqs last disabled at (35591): [] __irq_exit_rcu+0x145/0x1c0 [ 11.664051][ T210] Preemption disabled at: [ 11.664052][ T210] [<0000000000000000>] 0x0 [ 11.664059][ T210] CPU: 0 UID: 0 PID: 210 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.664063][ T210] Tainted: [W]=WARN [ 11.664064][ T210] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.664066][ T210] Call Trace: [ 11.664067][ T210] [ 11.664069][ T210] dump_stack_lvl+0x6f/0xa0 [ 11.664075][ T210] __might_resched.cold+0x1fe/0x2c1 [ 11.664079][ T210] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.664083][ T210] ? __kmalloc_noprof+0xdb/0x760 [ 11.664088][ T210] __kmalloc_noprof+0x443/0x760 [ 11.664090][ T210] ? alloc_buf.isra.0+0x4b/0x260 [ 11.664096][ T210] ? do_raw_spin_unlock+0x59/0x250 [ 11.664099][ T210] alloc_buf.isra.0+0x4b/0x260 [ 11.664102][ T210] put_chars+0x1e1/0x2f0 [ 11.664105][ T210] ? __send_to_port+0x420/0x420 [ 11.664107][ T210] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.664112][ T210] ? validate_chain+0x38b/0xc20 [ 11.664117][ T210] hvc_console_print+0x292/0x780 [ 11.664125][ T210] ? hvc_write+0x3a0/0x3a0 [ 11.664127][ T210] ? rcu_is_watching+0x16/0xd0 [ 11.664129][ T210] ? lock_acquire+0x13c/0x160 [ 11.664133][ T210] console_emit_next_record+0x22f/0x4c0 [ 11.664137][ T210] ? devkmsg_read+0x4b0/0x4b0 [ 11.664138][ T210] ? console_flush_one_record+0x106/0x710 [ 11.664141][ T210] ? rcu_is_watching+0x16/0xd0 [ 11.664143][ T210] ? lock_acquire+0x13c/0x160 [ 11.664147][ T210] console_flush_one_record+0x46f/0x710 [ 11.664151][ T210] ? console_emit_next_record+0x4c0/0x4c0 [ 11.664153][ T210] ? __lock_acquire+0x518/0xc20 [ 11.664158][ T210] console_unlock+0xee/0x1f0 [ 11.664160][ T210] ? console_flush_one_record+0x710/0x710 [ 11.664162][ T210] ? rcu_is_watching+0x16/0xd0 [ 11.664164][ T210] ? lock_acquire+0x60/0x160 [ 11.664167][ T210] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.664169][ T210] ? vprintk_emit+0x320/0x3e0 [ 11.664172][ T210] vprintk_emit+0x37c/0x3e0 [ 11.664175][ T210] ? wake_up_klogd_work_func+0x90/0x90 [ 11.664179][ T210] ? __lock_acquire+0x518/0xc20 [ 11.664182][ T210] _printk+0xc7/0x100 [ 11.664186][ T210] ? snapshot_read.cold+0x21/0x21 [ 11.664189][ T210] ? do_raw_spin_lock+0x131/0x280 [ 11.664191][ T210] ? __rwlock_init+0x150/0x150 [ 11.664195][ T210] ? do_raw_spin_lock+0x131/0x280 [ 11.664197][ T210] do_exit.cold+0x82/0x9c [ 11.664201][ T210] ? exit_notify+0x890/0x890 [ 11.664203][ T210] ? __lock_release.isra.0+0x69/0x1a0 [ 11.664205][ T210] ? rcu_is_watching+0x16/0xd0 [ 11.664209][ T210] do_group_exit+0xb8/0x370 [ 11.664212][ T210] __x64_sys_exit_group+0x3c/0x50 [ 11.664215][ T210] x64_sys_call+0x1567/0x1570 [ 11.664216][ T210] do_syscall_64+0xff/0x530 [ 11.664220][ T210] ? exc_page_fault+0xee/0x100 [ 11.664223][ T210] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.664225][ T210] RIP: 0033:0x7fdbf22861b8 [ 11.664228][ T210] Code: Unable to access opcode bytes at 0x7fdbf228618e. [ 11.664229][ T210] RSP: 002b:00007fff61106d08 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.664231][ T210] RAX: ffffffffffffffda RBX: 00007fdbf23b6f88 RCX: 00007fdbf22861b8 [ 11.664233][ T210] RDX: 00007fdbf1fd0fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.664234][ T210] RBP: 00007fff61106d60 R08: 0000000000000000 R09: 0000000000000000 [ 11.664234][ T210] R10: 00007fff61106b20 R11: 0000000000000246 R12: 0000000000000001 [ 11.664235][ T210] R13: 0000000000000000 R14: 00007fdbf23b5680 R15: 00007fdbf23b6fa0 [ 11.664242][ T210] [ 17.924499][ C0] clocksource: Watchdog remote CPU 2 read timed out [ 17.924561][ C0] [ 17.924563][ C0] ======================================================== [ 17.924564][ C0] WARNING: possible irq lock inversion dependency detected [ 17.924566][ C0] 7.2.0-virtme #1 Tainted: G W [ 17.924567][ C0] -------------------------------------------------------- [ 17.924568][ C0] swapper/0/0 just changed the state of lock: [ 17.924569][ C0] ffffffff93ead660 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.924585][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 17.924587][ C0] (fs_reclaim){+.+.}-{0:0} [ 17.924588][ C0] [ 17.924588][ C0] [ 17.924588][ C0] and interrupts could create inverse lock ordering between them. [ 17.924588][ C0] [ 17.924589][ C0] [ 17.924589][ C0] other info that might help us debug this: [ 17.924590][ C0] Possible interrupt unsafe locking scenario: [ 17.924590][ C0] [ 17.924590][ C0] CPU0 CPU1 [ 17.924591][ C0] ---- ---- [ 17.924591][ C0] lock(fs_reclaim); [ 17.924592][ C0] local_irq_disable(); [ 17.924592][ C0] lock(console_owner); [ 17.924593][ C0] lock(fs_reclaim); [ 17.924594][ C0] [ 17.924594][ C0] lock(console_owner); [ 17.924595][ C0] [ 17.924595][ C0] *** DEADLOCK *** [ 17.924595][ C0] [ 17.924595][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 17.924597][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 17.924602][ C0] #1: ffffffff93ff28b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 17.924606][ C0] #2: ffffffff93f8dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.924609][ C0] #3: ffffffff93f8dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.924612][ C0] [ 17.924612][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 17.924617][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 17.924619][ C0] HARDIRQ-ON-W at: [ 17.924620][ C0] __lock_acquire+0x388/0xc20 [ 17.924623][ C0] lock_acquire.part.0+0xd4/0x280 [ 17.924624][ C0] fs_reclaim_acquire+0xd5/0x120 [ 17.924627][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 17.924630][ C0] kthread_create_worker_on_node+0xea/0x210 [ 17.924632][ C0] workqueue_init+0x2a/0x680 [ 17.924635][ C0] kernel_init_freeable+0x2fe/0x630 [ 17.924638][ C0] kernel_init+0x21/0x150 [ 17.924642][ C0] ret_from_fork+0x474/0x6b0 [ 17.924645][ C0] ret_from_fork_asm+0x11/0x20 [ 17.924648][ C0] SOFTIRQ-ON-W at: [ 17.924649][ C0] __lock_acquire+0x388/0xc20 [ 17.924650][ C0] lock_acquire.part.0+0xd4/0x280 [ 17.924651][ C0] fs_reclaim_acquire+0xd5/0x120 [ 17.924653][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 17.924654][ C0] kthread_create_worker_on_node+0xea/0x210 [ 17.924655][ C0] workqueue_init+0x2a/0x680 [ 17.924656][ C0] kernel_init_freeable+0x2fe/0x630 [ 17.924657][ C0] kernel_init+0x21/0x150 [ 17.924659][ C0] ret_from_fork+0x474/0x6b0 [ 17.924660][ C0] ret_from_fork_asm+0x11/0x20 [ 17.924661][ C0] INITIAL USE at: [ 17.924662][ C0] __lock_acquire+0x388/0xc20 [ 17.924663][ C0] lock_acquire.part.0+0xd4/0x280 [ 17.924664][ C0] fs_reclaim_acquire+0xd5/0x120 [ 17.924666][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 17.924667][ C0] kthread_create_worker_on_node+0xea/0x210 [ 17.924668][ C0] workqueue_init+0x2a/0x680 [ 17.924669][ C0] kernel_init_freeable+0x2fe/0x630 [ 17.924670][ C0] kernel_init+0x21/0x150 [ 17.924672][ C0] ret_from_fork+0x474/0x6b0 [ 17.924674][ C0] ret_from_fork_asm+0x11/0x20 [ 17.924675][ C0] } [ 17.924675][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 17.924679][ C0] ... acquired at: [ 17.924680][ C0] __lock_acquire+0x518/0xc20 [ 17.924681][ C0] lock_acquire.part.0+0xd4/0x280 [ 17.924682][ C0] fs_reclaim_acquire+0xd5/0x120 [ 17.924684][ C0] __kmalloc_noprof+0xd3/0x760 [ 17.924685][ C0] alloc_buf.isra.0+0x4b/0x260 [ 17.924688][ C0] put_chars+0x1e1/0x2f0 [ 17.924690][ C0] hvc_console_print+0x292/0x780 [ 17.924693][ C0] console_emit_next_record+0x22f/0x4c0 [ 17.924694][ C0] console_flush_one_record+0x46f/0x710 [ 17.924696][ C0] console_unlock+0xee/0x1f0 [ 17.924697][ C0] vprintk_emit+0x37c/0x3e0 [ 17.924698][ C0] _printk+0xc7/0x100 [ 17.924701][ C0] sched_clock_init_late+0x14c/0x170 [ 17.924703][ C0] do_one_initcall+0x124/0x4f0 [ 17.924704][ C0] kernel_init_freeable+0x596/0x630 [ 17.924705][ C0] kernel_init+0x21/0x150 [ 17.924706][ C0] ret_from_fork+0x474/0x6b0 [ 17.924708][ C0] ret_from_fork_asm+0x11/0x20 [ 17.924709][ C0] [ 17.924709][ C0] -> (console_owner){..-.}-{0:0} { [ 17.924711][ C0] IN-SOFTIRQ-W at: [ 17.924712][ C0] __lock_acquire+0x388/0xc20 [ 17.924713][ C0] lock_acquire.part.0+0xd4/0x280 [ 17.924714][ C0] console_lock_spinning_enable+0x5c/0x60 [ 17.924715][ C0] console_emit_next_record+0x1d1/0x4c0 [ 17.924717][ C0] console_flush_one_record+0x46f/0x710 [ 17.924718][ C0] console_unlock+0xee/0x1f0 [ 17.924720][ C0] vprintk_emit+0x37c/0x3e0 [ 17.924721][ C0] _printk+0xc7/0x100 [ 17.924722][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 17.924725][ C0] call_timer_fn+0x160/0x4d0 [ 17.924726][ C0] __run_timers+0x68f/0xaa0 [ 17.924727][ C0] run_timer_softirq+0xf0/0x160 [ 17.924729][ C0] handle_softirqs+0x1d3/0x900 [ 17.924731][ C0] __irq_exit_rcu+0x145/0x1c0 [ 17.924732][ C0] irq_exit_rcu+0xe/0x30 [ 17.924733][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 17.924735][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.924737][ C0] pv_native_safe_halt+0xf/0x10 [ 17.924739][ C0] default_idle+0x9/0x10 [ 17.924740][ C0] default_idle_call+0x6e/0xb0 [ 17.924742][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 17.924744][ C0] do_idle+0xd8/0x190 [ 17.924745][ C0] cpu_startup_entry+0x53/0x70 [ 17.924746][ C0] rest_init+0x279/0x280 [ 17.924748][ C0] start_kernel+0x3af/0x3b0 [ 17.924749][ C0] x86_64_start_reservations+0x24/0x30 [ 17.924751][ C0] x86_64_start_kernel+0x12b/0x130 [ 17.924752][ C0] common_startup_64+0x13e/0x148 [ 17.924755][ C0] INITIAL USE at: [ 17.924756][ C0] } [ 17.924756][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 17.924759][ C0] ... acquired at: [ 17.924759][ C0] mark_lock+0x1d7/0xa00 [ 17.924761][ C0] mark_usage+0x42/0x170 [ 17.924762][ C0] __lock_acquire+0x388/0xc20 [ 17.924763][ C0] lock_acquire.part.0+0xd4/0x280 [ 17.924764][ C0] console_lock_spinning_enable+0x5c/0x60 [ 17.924765][ C0] console_emit_next_record+0x1d1/0x4c0 [ 17.924767][ C0] console_flush_one_record+0x46f/0x710 [ 17.924768][ C0] console_unlock+0xee/0x1f0 [ 17.924769][ C0] vprintk_emit+0x37c/0x3e0 [ 17.924771][ C0] _printk+0xc7/0x100 [ 17.924772][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 17.924773][ C0] call_timer_fn+0x160/0x4d0 [ 17.924774][ C0] __run_timers+0x68f/0xaa0 [ 17.924776][ C0] run_timer_softirq+0xf0/0x160 [ 17.924777][ C0] handle_softirqs+0x1d3/0x900 [ 17.924778][ C0] __irq_exit_rcu+0x145/0x1c0 [ 17.924779][ C0] irq_exit_rcu+0xe/0x30 [ 17.924780][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 17.924781][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.924782][ C0] pv_native_safe_halt+0xf/0x10 [ 17.924784][ C0] default_idle+0x9/0x10 [ 17.924785][ C0] default_idle_call+0x6e/0xb0 [ 17.924787][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 17.924788][ C0] do_idle+0xd8/0x190 [ 17.924789][ C0] cpu_startup_entry+0x53/0x70 [ 17.924790][ C0] rest_init+0x279/0x280 [ 17.924791][ C0] start_kernel+0x3af/0x3b0 [ 17.924792][ C0] x86_64_start_reservations+0x24/0x30 [ 17.924794][ C0] x86_64_start_kernel+0x12b/0x130 [ 17.924795][ C0] common_startup_64+0x13e/0x148 [ 17.924796][ C0] [ 17.924797][ C0] [ 17.924797][ C0] stack backtrace: [ 17.924800][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.924803][ C0] Tainted: [W]=WARN [ 17.924804][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.924806][ C0] Call Trace: [ 17.924807][ C0] [ 17.924808][ C0] dump_stack_lvl+0x6f/0xa0 [ 17.924812][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 17.924814][ C0] mark_lock_irq+0x989/0x9c0 [ 17.924815][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 17.924818][ C0] mark_lock+0x1d7/0xa00 [ 17.924820][ C0] mark_usage+0x42/0x170 [ 17.924821][ C0] __lock_acquire+0x388/0xc20 [ 17.924823][ C0] lock_acquire.part.0+0xd4/0x280 [ 17.924825][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 17.924826][ C0] ? rcu_is_watching+0x16/0xd0 [ 17.924829][ C0] ? lock_acquire+0x13c/0x160 [ 17.924831][ C0] console_lock_spinning_enable+0x5c/0x60 [ 17.924833][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 17.924834][ C0] console_emit_next_record+0x1d1/0x4c0 [ 17.924836][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 17.924837][ C0] ? console_flush_one_record+0x106/0x710 [ 17.924839][ C0] ? rcu_is_watching+0x16/0xd0 [ 17.924841][ C0] ? lock_acquire+0x13c/0x160 [ 17.924843][ C0] console_flush_one_record+0x46f/0x710 [ 17.924845][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 17.924846][ C0] ? __lock_acquire+0x518/0xc20 [ 17.924848][ C0] console_unlock+0xee/0x1f0 [ 17.924850][ C0] ? console_flush_one_record+0x710/0x710 [ 17.924851][ C0] ? rcu_is_watching+0x16/0xd0 [ 17.924853][ C0] ? lock_acquire+0x60/0x160 [ 17.924854][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.924856][ C0] ? vprintk_emit+0x320/0x3e0 [ 17.924858][ C0] vprintk_emit+0x37c/0x3e0 [ 17.924860][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 17.924862][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 17.924863][ C0] _printk+0xc7/0x100 [ 17.924865][ C0] ? snapshot_read.cold+0x21/0x21 [ 17.924867][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 17.924868][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 17.924870][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 17.924872][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 17.924873][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 17.924875][ C0] call_timer_fn+0x160/0x4d0 [ 17.924877][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 17.924878][ C0] ? debug_object_active_state+0x430/0x430 [ 17.924881][ C0] ? find_held_lock+0x2b/0x80 [ 17.924884][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 17.924885][ C0] ? rcu_is_watching+0x16/0xd0 [ 17.924887][ C0] __run_timers+0x68f/0xaa0 [ 17.924889][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 17.924891][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 17.924893][ C0] ? __lock_acquire+0x518/0xc20 [ 17.924895][ C0] ? __rwlock_init+0x150/0x150 [ 17.924897][ C0] run_timer_softirq+0xf0/0x160 [ 17.924899][ C0] ? __run_timers+0xaa0/0xaa0 [ 17.924901][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.924904][ C0] ? rcu_is_watching+0x16/0xd0 [ 17.924905][ C0] handle_softirqs+0x1d3/0x900 [ 17.924907][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 17.924908][ C0] ? _local_bh_enable+0xc0/0xc0 [ 17.924910][ C0] __irq_exit_rcu+0x145/0x1c0 [ 17.924911][ C0] irq_exit_rcu+0xe/0x30 [ 17.924912][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 17.924914][ C0] [ 17.924915][ C0] [ 17.924915][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 17.924917][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.924919][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 17.924921][ C0] Code: 48 8b 3d 94 a2 10 02 e8 1f 00 00 00 48 2b 05 58 f3 ab 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 d6 25 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 17.924923][ C0] RSP: 0018:ffffffff93c07cf8 EFLAGS: 00000296 [ 17.924925][ C0] RAX: 00000000000a7ef5 RBX: ffffffff93c40600 RCX: ffffffff90af3307 [ 17.924926][ C0] RDX: ffffffff93c40600 RSI: ffffffff93a57571 RDI: ffffffff9348d8e0 [ 17.924927][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 17.924928][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff2780fa2 [ 17.924929][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 17.924930][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 17.924932][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 17.924934][ C0] default_idle+0x9/0x10 [ 17.924936][ C0] default_idle_call+0x6e/0xb0 [ 17.924937][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 17.924939][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 17.924940][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 17.924943][ C0] ? rcu_is_watching+0x16/0xd0 [ 17.924945][ C0] do_idle+0xd8/0x190 [ 17.924946][ C0] cpu_startup_entry+0x53/0x70 [ 17.924948][ C0] rest_init+0x279/0x280 [ 17.924950][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 17.924952][ C0] ? rest_init+0x280/0x280 [ 17.924954][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 17.924958][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 17.924960][ C0] ? acpi_enable+0x1e4/0x330 [ 17.924962][ C0] start_kernel+0x3af/0x3b0 [ 17.924963][ C0] x86_64_start_reservations+0x24/0x30 [ 17.924965][ C0] x86_64_start_kernel+0x12b/0x130 [ 17.924967][ C0] common_startup_64+0x13e/0x148 [ 17.924970][ C0] [ 17.924973][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.924975][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 17.924976][ C0] preempt_count: 103, expected: 0 [ 17.924977][ C0] RCU nest depth: 0, expected: 0 [ 17.924978][ C0] INFO: lockdep is turned off. [ 17.924979][ C0] irq event stamp: 687877 [ 17.924979][ C0] hardirqs last enabled at (687876): [] __down_trylock_console_sem+0x86/0xa0 [ 17.924982][ C0] hardirqs last disabled at (687877): [] console_emit_next_record+0x3d4/0x4c0 [ 17.924983][ C0] softirqs last enabled at (687856): [] handle_softirqs+0x67c/0x900 [ 17.924985][ C0] softirqs last disabled at (687863): [] __irq_exit_rcu+0x145/0x1c0 [ 17.924986][ C0] Preemption disabled at: [ 17.924986][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 17.924989][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.924991][ C0] Tainted: [W]=WARN [ 17.924992][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.924992][ C0] Call Trace: [ 17.924993][ C0] [ 17.924994][ C0] dump_stack_lvl+0x6f/0xa0 [ 17.924996][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 17.924997][ C0] __might_resched.cold+0x1fe/0x2c1 [ 17.925000][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.925003][ C0] ? rcu_is_watching+0x16/0xd0 [ 17.925005][ C0] __kmalloc_noprof+0x443/0x760 [ 17.925006][ C0] ? __rwlock_init+0x150/0x150 [ 17.925008][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 17.925010][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 17.925011][ C0] alloc_buf.isra.0+0x4b/0x260 [ 17.925014][ C0] put_chars+0x1e1/0x2f0 [ 17.925016][ C0] ? __send_to_port+0x420/0x420 [ 17.925018][ C0] ? mark_lock+0x1d7/0xa00 [ 17.925020][ C0] hvc_console_print+0x292/0x780 [ 17.925023][ C0] ? hvc_write+0x3a0/0x3a0 [ 17.925025][ C0] ? rcu_is_watching+0x16/0xd0 [ 17.925027][ C0] ? rcu_is_watching+0x16/0xd0 [ 17.925029][ C0] console_emit_next_record+0x22f/0x4c0 [ 17.925031][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 17.925032][ C0] ? console_flush_one_record+0x106/0x710 [ 17.925034][ C0] ? rcu_is_watching+0x16/0xd0 [ 17.925036][ C0] ? lock_acquire+0x13c/0x160 [ 17.925037][ C0] console_flush_one_record+0x46f/0x710 [ 17.925039][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 17.925041][ C0] ? __lock_acquire+0x518/0xc20 [ 17.925043][ C0] console_unlock+0xee/0x1f0 [ 17.925045][ C0] ? console_flush_one_record+0x710/0x710 [ 17.925046][ C0] ? rcu_is_watching+0x16/0xd0 [ 17.925048][ C0] ? lock_acquire+0x60/0x160 [ 17.925049][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.925051][ C0] ? vprintk_emit+0x320/0x3e0 [ 17.925052][ C0] vprintk_emit+0x37c/0x3e0 [ 17.925054][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 17.925057][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 17.925058][ C0] _printk+0xc7/0x100 [ 17.925060][ C0] ? snapshot_read.cold+0x21/0x21 [ 17.925062][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 17.925063][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 17.925065][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 17.925066][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 17.925068][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 17.925069][ C0] call_timer_fn+0x160/0x4d0 [ 17.925071][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 17.925073][ C0] ? debug_object_active_state+0x430/0x430 [ 17.925074][ C0] ? find_held_lock+0x2b/0x80 [ 17.925076][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 17.925078][ C0] ? rcu_is_watching+0x16/0xd0 [ 17.925080][ C0] __run_timers+0x68f/0xaa0 [ 17.925081][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 17.925083][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 17.925085][ C0] ? __lock_acquire+0x518/0xc20 [ 17.925087][ C0] ? __rwlock_init+0x150/0x150 [ 17.925089][ C0] run_timer_softirq+0xf0/0x160 [ 17.925091][ C0] ? __run_timers+0xaa0/0xaa0 [ 17.925092][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.925094][ C0] ? rcu_is_watching+0x16/0xd0 [ 17.925096][ C0] handle_softirqs+0x1d3/0x900 [ 17.925097][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 17.925098][ C0] ? _local_bh_enable+0xc0/0xc0 [ 17.925100][ C0] __irq_exit_rcu+0x145/0x1c0 [ 17.925102][ C0] irq_exit_rcu+0xe/0x30 [ 17.925103][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 17.925104][ C0] [ 17.925105][ C0] [ 17.925105][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 17.925107][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.925108][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 17.925110][ C0] Code: 48 8b 3d 94 a2 10 02 e8 1f 00 00 00 48 2b 05 58 f3 ab 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 d6 25 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 17.925111][ C0] RSP: 0018:ffffffff93c07cf8 EFLAGS: 00000296 [ 17.925112][ C0] RAX: 00000000000a7ef5 RBX: ffffffff93c40600 RCX: ffffffff90af3307 [ 17.925113][ C0] RDX: ffffffff93c40600 RSI: ffffffff93a57571 RDI: ffffffff9348d8e0 [ 17.925114][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 17.925115][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff2780fa2 [ 17.925115][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 17.925117][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 17.925119][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 17.925120][ C0] default_idle+0x9/0x10 [ 17.925122][ C0] default_idle_call+0x6e/0xb0 [ 17.925124][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 17.925125][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 17.925127][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 17.925129][ C0] ? rcu_is_watching+0x16/0xd0 [ 17.925130][ C0] do_idle+0xd8/0x190 [ 17.925132][ C0] cpu_startup_entry+0x53/0x70 [ 17.925133][ C0] rest_init+0x279/0x280 [ 17.925135][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 17.925138][ C0] ? rest_init+0x280/0x280 [ 17.925139][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 17.925141][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 17.925143][ C0] ? acpi_enable+0x1e4/0x330 [ 17.925144][ C0] start_kernel+0x3af/0x3b0 [ 17.925146][ C0] x86_64_start_reservations+0x24/0x30 [ 17.925148][ C0] x86_64_start_kernel+0x12b/0x130 [ 17.925149][ C0] common_startup_64+0x13e/0x148 [ 17.925152][ C0] [ 24.625658][ T826] mptcp_connect (826) used greatest stack depth: 24168 bytes left [ 24.625677][ T826] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 24.625680][ T826] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 826, name: mptcp_connect [ 24.625682][ T826] preempt_count: 2, expected: 0 [ 24.625683][ T826] RCU nest depth: 0, expected: 0 [ 24.625685][ T826] INFO: lockdep is turned off. [ 24.625686][ T826] irq event stamp: 0 [ 24.625687][ T826] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 24.625693][ T826] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 24.625699][ T826] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 24.625702][ T826] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 24.625704][ T826] Preemption disabled at: [ 24.625705][ T826] [<0000000000000000>] 0x0 [ 24.625712][ T826] CPU: 0 UID: 0 PID: 826 Comm: mptcp_connect Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 24.625717][ T826] Tainted: [W]=WARN [ 24.625718][ T826] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.625720][ T826] Call Trace: [ 24.625722][ T826] [ 24.625724][ T826] dump_stack_lvl+0x6f/0xa0 [ 24.625730][ T826] __might_resched.cold+0x1fe/0x2c1 [ 24.625735][ T826] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 24.625739][ T826] ? __asan_memcpy+0x3c/0x60 [ 24.625743][ T826] ? rcu_is_watching+0x16/0xd0 [ 24.625748][ T826] __kmalloc_noprof+0x443/0x760 [ 24.625751][ T826] ? __rwlock_init+0x150/0x150 [ 24.625755][ T826] ? alloc_buf.isra.0+0x4b/0x260 [ 24.625760][ T826] ? do_raw_spin_unlock+0x59/0x250 [ 24.625762][ T826] alloc_buf.isra.0+0x4b/0x260 [ 24.625766][ T826] put_chars+0x1e1/0x2f0 [ 24.625769][ T826] ? __send_to_port+0x420/0x420 [ 24.625772][ T826] ? console_prepend_replay+0x20/0x20 [ 24.625776][ T826] hvc_console_print+0x292/0x780 [ 24.625782][ T826] ? hvc_write+0x3a0/0x3a0 [ 24.625785][ T826] ? rcu_is_watching+0x16/0xd0 [ 24.625787][ T826] ? lock_acquire+0x13c/0x160 [ 24.625790][ T826] console_emit_next_record+0x22f/0x4c0 [ 24.625794][ T826] ? devkmsg_read+0x4b0/0x4b0 [ 24.625796][ T826] ? rcu_is_watching+0x16/0xd0 [ 24.625798][ T826] ? rcu_is_watching+0x16/0xd0 [ 24.625801][ T826] ? rcu_is_watching+0x16/0xd0 [ 24.625803][ T826] ? lock_acquire+0x13c/0x160 [ 24.625806][ T826] ? console_flush_one_record+0x111/0x710 [ 24.625808][ T826] console_flush_one_record+0x46f/0x710 [ 24.625811][ T826] ? console_emit_next_record+0x4c0/0x4c0 [ 24.625815][ T826] console_unlock+0xee/0x1f0 [ 24.625817][ T826] ? lock_acquire+0x13c/0x160 [ 24.625819][ T826] ? console_flush_one_record+0x710/0x710 [ 24.625822][ T826] ? rcu_is_watching+0x16/0xd0 [ 24.625824][ T826] ? lock_release+0x184/0x1f0 [ 24.625826][ T826] ? lock_acquire+0x60/0x160 [ 24.625828][ T826] ? __rcu_read_lock+0x30/0x70 [ 24.625830][ T826] ? __down_trylock_console_sem+0x5e/0xa0 [ 24.625833][ T826] ? vprintk_emit+0x320/0x3e0 [ 24.625836][ T826] vprintk_emit+0x37c/0x3e0 [ 24.625839][ T826] ? wake_up_klogd_work_func+0x90/0x90 [ 24.625841][ T826] ? do_raw_spin_unlock+0x59/0x250 [ 24.625843][ T826] ? _raw_spin_unlock+0x2d/0x50 [ 24.625848][ T826] ? __free_frozen_pages+0x6ab/0xfc0 [ 24.625852][ T826] _printk+0xc7/0x100 [ 24.625856][ T826] ? snapshot_read.cold+0x21/0x21 [ 24.625859][ T826] ? do_raw_spin_lock+0x131/0x280 [ 24.625862][ T826] ? __rwlock_init+0x150/0x150 [ 24.625864][ T826] ? do_raw_spin_lock+0x131/0x280 [ 24.625867][ T826] do_exit.cold+0x82/0x9c [ 24.625871][ T826] ? exit_notify+0x890/0x890 [ 24.625874][ T826] ? posixtimer_sig_unignore.isra.0+0x5f0/0x5f0 [ 24.625877][ T826] ? rcu_is_watching+0x16/0xd0 [ 24.625881][ T826] do_group_exit+0xb8/0x370 [ 24.625884][ T826] __x64_sys_exit_group+0x3c/0x50 [ 24.625886][ T826] x64_sys_call+0x1567/0x1570 [ 24.625888][ T826] do_syscall_64+0xff/0x530 [ 24.625892][ T826] ? exc_page_fault+0xee/0x100 [ 24.625895][ T826] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 24.625898][ T826] RIP: 0033:0x7ff3b23fd1b8 [ 24.625901][ T826] Code: Unable to access opcode bytes at 0x7ff3b23fd18e. [ 24.625902][ T826] RSP: 002b:00007ffebc111a78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 24.625907][ T826] RAX: ffffffffffffffda RBX: 00007ff3b252df88 RCX: 00007ff3b23fd1b8 [ 24.625909][ T826] RDX: 00007ff3b233aa48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 24.625910][ T826] RBP: 00007ffebc111ad0 R08: 0000000000000000 R09: 0000000000000000 [ 24.625912][ T826] R10: 00007ffebc111910 R11: 0000000000000246 R12: 0000000000000001 [ 24.625913][ T826] R13: 0000000000000000 R14: 00007ff3b252c680 R15: 00007ff3b252dfa0 [ 24.625917][ T826] [ 30.950686][ T1206] mptcp_connect (1206) used greatest stack depth: 24144 bytes left [ 30.950703][ T1206] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.950705][ T1206] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1206, name: mptcp_connect [ 30.950707][ T1206] preempt_count: 2, expected: 0 [ 30.950708][ T1206] RCU nest depth: 0, expected: 0 [ 30.950709][ T1206] INFO: lockdep is turned off. [ 30.950710][ T1206] irq event stamp: 0 [ 30.950710][ T1206] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 30.950715][ T1206] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 30.950721][ T1206] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 30.950723][ T1206] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 30.950725][ T1206] Preemption disabled at: [ 30.950725][ T1206] [<0000000000000000>] 0x0 [ 30.950730][ T1206] CPU: 1 UID: 0 PID: 1206 Comm: mptcp_connect Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.950734][ T1206] Tainted: [W]=WARN [ 30.950734][ T1206] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.950736][ T1206] Call Trace: [ 30.950737][ T1206] [ 30.950739][ T1206] dump_stack_lvl+0x6f/0xa0 [ 30.950744][ T1206] __might_resched.cold+0x1fe/0x2c1 [ 30.950748][ T1206] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.950751][ T1206] ? __asan_memcpy+0x3c/0x60 [ 30.950755][ T1206] ? rcu_is_watching+0x16/0xd0 [ 30.950758][ T1206] __kmalloc_noprof+0x443/0x760 [ 30.950761][ T1206] ? __rwlock_init+0x150/0x150 [ 30.950764][ T1206] ? alloc_buf.isra.0+0x4b/0x260 [ 30.950768][ T1206] ? do_raw_spin_unlock+0x59/0x250 [ 30.950770][ T1206] alloc_buf.isra.0+0x4b/0x260 [ 30.950772][ T1206] put_chars+0x1e1/0x2f0 [ 30.950774][ T1206] ? __send_to_port+0x420/0x420 [ 30.950776][ T1206] ? console_prepend_replay+0x20/0x20 [ 30.950780][ T1206] hvc_console_print+0x292/0x780 [ 30.950784][ T1206] ? hvc_write+0x3a0/0x3a0 [ 30.950785][ T1206] ? rcu_is_watching+0x16/0xd0 [ 30.950787][ T1206] ? lock_acquire+0x13c/0x160 [ 30.950789][ T1206] console_emit_next_record+0x22f/0x4c0 [ 30.950791][ T1206] ? devkmsg_read+0x4b0/0x4b0 [ 30.950793][ T1206] ? rcu_is_watching+0x16/0xd0 [ 30.950794][ T1206] ? rcu_is_watching+0x16/0xd0 [ 30.950795][ T1206] ? rcu_is_watching+0x16/0xd0 [ 30.950797][ T1206] ? lock_acquire+0x13c/0x160 [ 30.950798][ T1206] ? console_flush_one_record+0x111/0x710 [ 30.950800][ T1206] console_flush_one_record+0x46f/0x710 [ 30.950802][ T1206] ? console_emit_next_record+0x4c0/0x4c0 [ 30.950804][ T1206] console_unlock+0xee/0x1f0 [ 30.950806][ T1206] ? lock_acquire+0x13c/0x160 [ 30.950807][ T1206] ? console_flush_one_record+0x710/0x710 [ 30.950809][ T1206] ? rcu_is_watching+0x16/0xd0 [ 30.950810][ T1206] ? lock_release+0x184/0x1f0 [ 30.950811][ T1206] ? lock_acquire+0x60/0x160 [ 30.950812][ T1206] ? __rcu_read_lock+0x30/0x70 [ 30.950814][ T1206] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.950816][ T1206] ? vprintk_emit+0x320/0x3e0 [ 30.950818][ T1206] vprintk_emit+0x37c/0x3e0 [ 30.950820][ T1206] ? wake_up_klogd_work_func+0x90/0x90 [ 30.950821][ T1206] ? do_raw_spin_unlock+0x59/0x250 [ 30.950823][ T1206] ? _raw_spin_unlock+0x2d/0x50 [ 30.950826][ T1206] ? __free_frozen_pages+0x6ab/0xfc0 [ 30.950830][ T1206] _printk+0xc7/0x100 [ 30.950833][ T1206] ? snapshot_read.cold+0x21/0x21 [ 30.950835][ T1206] ? do_raw_spin_lock+0x131/0x280 [ 30.950836][ T1206] ? __rwlock_init+0x150/0x150 [ 30.950838][ T1206] ? do_raw_spin_lock+0x131/0x280 [ 30.950839][ T1206] do_exit.cold+0x82/0x9c [ 30.950842][ T1206] ? exit_notify+0x890/0x890 [ 30.950845][ T1206] ? posixtimer_sig_unignore.isra.0+0x5f0/0x5f0 [ 30.950847][ T1206] ? rcu_is_watching+0x16/0xd0 [ 30.950849][ T1206] do_group_exit+0xb8/0x370 [ 30.950851][ T1206] __x64_sys_exit_group+0x3c/0x50 [ 30.950853][ T1206] x64_sys_call+0x1567/0x1570 [ 30.950855][ T1206] do_syscall_64+0xff/0x530 [ 30.950857][ T1206] ? exc_page_fault+0xee/0x100 [ 30.950859][ T1206] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.950861][ T1206] RIP: 0033:0x7f8c861751b8 [ 30.950863][ T1206] Code: Unable to access opcode bytes at 0x7f8c8617518e. [ 30.950865][ T1206] RSP: 002b:00007fffef5c2fd8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 30.950868][ T1206] RAX: ffffffffffffffda RBX: 00007f8c862a5f88 RCX: 00007f8c861751b8 [ 30.950869][ T1206] RDX: 00007f8c860b2a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 30.950870][ T1206] RBP: 00007fffef5c3030 R08: 0000000000000000 R09: 0000000000000000 [ 30.950871][ T1206] R10: 00007fffef5c2e70 R11: 0000000000000246 R12: 0000000000000001 [ 30.950872][ T1206] R13: 0000000000000000 R14: 00007f8c862a4680 R15: 00007f8c862a5fa0 [ 30.950874][ T1206]