[ 9.972599][ T199] ip (199) used greatest stack depth: 23960 bytes left [ 9.972618][ T199] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.972620][ T199] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 199, name: ip [ 9.972621][ T199] preempt_count: 2, expected: 0 [ 9.972622][ T199] RCU nest depth: 0, expected: 0 [ 9.972623][ T199] locks held by ip/199: 5, last CPU#0: [ 9.972625][ T199] #0: ffffffffa2a167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.972638][ T199] #1: ffffffffa2b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.972643][ T199] #2: ffffffffa2b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.972648][ T199] #3: ffffffffa2a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.972651][ T199] #4: ffffffffa2a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.972655][ T199] irq event stamp: 23638 [ 9.972656][ T199] hardirqs last enabled at (23637): [] __down_trylock_console_sem+0x86/0xa0 [ 9.972659][ T199] hardirqs last disabled at (23638): [] console_emit_next_record+0x3d4/0x4c0 [ 9.972661][ T199] softirqs last enabled at (23618): [] handle_softirqs+0x67c/0x900 [ 9.972663][ T199] softirqs last disabled at (23609): [] __irq_exit_rcu+0x145/0x1c0 [ 9.972666][ T199] Preemption disabled at: [ 9.972666][ T199] [<0000000000000000>] 0x0 [ 9.972673][ T199] CPU: 0 UID: 0 PID: 199 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.972677][ T199] Tainted: [W]=WARN [ 9.972678][ T199] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.972679][ T199] Call Trace: [ 9.972681][ T199] [ 9.972682][ T199] dump_stack_lvl+0x6f/0xa0 [ 9.972689][ T199] __might_resched.cold+0x1fe/0x2c1 [ 9.972693][ T199] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.972698][ T199] ? __kmalloc_noprof+0xdb/0x760 [ 9.972702][ T199] __kmalloc_noprof+0x443/0x760 [ 9.972704][ T199] ? alloc_buf.isra.0+0x4b/0x260 [ 9.972711][ T199] ? do_raw_spin_unlock+0x59/0x250 [ 9.972713][ T199] alloc_buf.isra.0+0x4b/0x260 [ 9.972717][ T199] put_chars+0x1e1/0x2f0 [ 9.972719][ T199] ? __send_to_port+0x420/0x420 [ 9.972721][ T199] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.972724][ T199] ? validate_chain+0x38b/0xc20 [ 9.972730][ T199] hvc_console_print+0x292/0x780 [ 9.972737][ T199] ? hvc_write+0x3a0/0x3a0 [ 9.972740][ T199] ? rcu_is_watching+0x16/0xd0 [ 9.972742][ T199] ? lock_acquire+0x13c/0x160 [ 9.972746][ T199] console_emit_next_record+0x22f/0x4c0 [ 9.972749][ T199] ? devkmsg_read+0x4b0/0x4b0 [ 9.972751][ T199] ? console_flush_one_record+0x106/0x710 [ 9.972754][ T199] ? rcu_is_watching+0x16/0xd0 [ 9.972756][ T199] ? lock_acquire+0x13c/0x160 [ 9.972760][ T199] console_flush_one_record+0x46f/0x710 [ 9.972764][ T199] ? console_emit_next_record+0x4c0/0x4c0 [ 9.972766][ T199] ? __lock_acquire+0x518/0xc20 [ 9.972771][ T199] console_unlock+0xee/0x1f0 [ 9.972774][ T199] ? console_flush_one_record+0x710/0x710 [ 9.972776][ T199] ? rcu_is_watching+0x16/0xd0 [ 9.972778][ T199] ? lock_acquire+0xe0/0x160 [ 9.972781][ T199] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.972783][ T199] ? vprintk_emit+0x320/0x3e0 [ 9.972786][ T199] vprintk_emit+0x37c/0x3e0 [ 9.972789][ T199] ? wake_up_klogd_work_func+0x90/0x90 [ 9.972792][ T199] ? __lock_acquire+0x518/0xc20 [ 9.972795][ T199] _printk+0xc7/0x100 [ 9.972799][ T199] ? snapshot_read.cold+0x21/0x21 [ 9.972802][ T199] ? do_raw_spin_lock+0x131/0x280 [ 9.972804][ T199] ? __rwlock_init+0x150/0x150 [ 9.972808][ T199] ? do_raw_spin_lock+0x131/0x280 [ 9.972811][ T199] do_exit.cold+0x82/0x9c [ 9.972815][ T199] ? exit_notify+0x890/0x890 [ 9.972816][ T199] ? __lock_release.isra.0+0x69/0x1a0 [ 9.972819][ T199] ? rcu_is_watching+0x16/0xd0 [ 9.972822][ T199] do_group_exit+0xb8/0x370 [ 9.972825][ T199] __x64_sys_exit_group+0x3c/0x50 [ 9.972827][ T199] x64_sys_call+0x1567/0x1570 [ 9.972829][ T199] do_syscall_64+0xff/0x530 [ 9.972833][ T199] ? exc_page_fault+0xee/0x100 [ 9.972836][ T199] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.972838][ T199] RIP: 0033:0x7f09b90211b8 [ 9.972841][ T199] Code: Unable to access opcode bytes at 0x7f09b902118e. [ 9.972842][ T199] RSP: 002b:00007ffd885c30f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.972844][ T199] RAX: ffffffffffffffda RBX: 00007f09b9151f88 RCX: 00007f09b90211b8 [ 9.972845][ T199] RDX: 00007f09b8d6bfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.972846][ T199] RBP: 00007ffd885c3150 R08: 0000000000000000 R09: 0000000000000050 [ 9.972847][ T199] R10: 00007ffd885c2f10 R11: 0000000000000246 R12: 0000000000000001 [ 9.972848][ T199] R13: 0000000000000000 R14: 00007f09b9150680 R15: 00007f09b9151fa0 [ 9.972854][ T199] [ 10.156542][ T207] ip (207) used greatest stack depth: 23888 bytes left [ 11.993689][ C0] clocksource: Watchdog remote CPU 2 read timed out [ 11.993731][ C0] [ 11.993733][ C0] ======================================================== [ 11.993734][ C0] WARNING: possible irq lock inversion dependency detected [ 11.993736][ C0] 7.2.0-virtme #1 Tainted: G W [ 11.993737][ C0] -------------------------------------------------------- [ 11.993738][ C0] swapper/0/0 just changed the state of lock: [ 11.993739][ C0] ffffffffa2a9d760 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.993752][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 11.993753][ C0] (fs_reclaim){+.+.}-{0:0} [ 11.993754][ C0] [ 11.993754][ C0] [ 11.993754][ C0] and interrupts could create inverse lock ordering between them. [ 11.993754][ C0] [ 11.993755][ C0] [ 11.993755][ C0] other info that might help us debug this: [ 11.993756][ C0] Possible interrupt unsafe locking scenario: [ 11.993756][ C0] [ 11.993756][ C0] CPU0 CPU1 [ 11.993757][ C0] ---- ---- [ 11.993757][ C0] lock(fs_reclaim); [ 11.993758][ C0] local_irq_disable(); [ 11.993758][ C0] lock(console_owner); [ 11.993759][ C0] lock(fs_reclaim); [ 11.993760][ C0] [ 11.993760][ C0] lock(console_owner); [ 11.993761][ C0] [ 11.993761][ C0] *** DEADLOCK *** [ 11.993761][ C0] [ 11.993762][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 11.993763][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 11.993769][ C0] #1: ffffffffa2be29f8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 11.993772][ C0] #2: ffffffffa2b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.993775][ C0] #3: ffffffffa2b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.993779][ C0] [ 11.993779][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 11.993783][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 11.993785][ C0] HARDIRQ-ON-W at: [ 11.993787][ C0] __lock_acquire+0x388/0xc20 [ 11.993790][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.993792][ C0] fs_reclaim_acquire+0xd5/0x120 [ 11.993796][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 11.993798][ C0] kthread_create_worker_on_node+0xea/0x210 [ 11.993801][ C0] workqueue_init+0x2a/0x680 [ 11.993805][ C0] kernel_init_freeable+0x2fe/0x630 [ 11.993808][ C0] kernel_init+0x21/0x150 [ 11.993812][ C0] ret_from_fork+0x474/0x6b0 [ 11.993815][ C0] ret_from_fork_asm+0x11/0x20 [ 11.993818][ C0] SOFTIRQ-ON-W at: [ 11.993818][ C0] __lock_acquire+0x388/0xc20 [ 11.993820][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.993821][ C0] fs_reclaim_acquire+0xd5/0x120 [ 11.993823][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 11.993824][ C0] kthread_create_worker_on_node+0xea/0x210 [ 11.993825][ C0] workqueue_init+0x2a/0x680 [ 11.993827][ C0] kernel_init_freeable+0x2fe/0x630 [ 11.993828][ C0] kernel_init+0x21/0x150 [ 11.993830][ C0] ret_from_fork+0x474/0x6b0 [ 11.993831][ C0] ret_from_fork_asm+0x11/0x20 [ 11.993832][ C0] INITIAL USE at: [ 11.993833][ C0] __lock_acquire+0x388/0xc20 [ 11.993835][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.993836][ C0] fs_reclaim_acquire+0xd5/0x120 [ 11.993837][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 11.993838][ C0] kthread_create_worker_on_node+0xea/0x210 [ 11.993840][ C0] workqueue_init+0x2a/0x680 [ 11.993841][ C0] kernel_init_freeable+0x2fe/0x630 [ 11.993843][ C0] kernel_init+0x21/0x150 [ 11.993844][ C0] ret_from_fork+0x474/0x6b0 [ 11.993845][ C0] ret_from_fork_asm+0x11/0x20 [ 11.993847][ C0] } [ 11.993847][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 11.993851][ C0] ... acquired at: [ 11.993852][ C0] __lock_acquire+0x518/0xc20 [ 11.993853][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.993855][ C0] fs_reclaim_acquire+0xd5/0x120 [ 11.993856][ C0] __kmalloc_noprof+0xd3/0x760 [ 11.993857][ C0] alloc_buf.isra.0+0x4b/0x260 [ 11.993861][ C0] put_chars+0x1e1/0x2f0 [ 11.993862][ C0] hvc_console_print+0x292/0x780 [ 11.993865][ C0] console_emit_next_record+0x22f/0x4c0 [ 11.993867][ C0] console_flush_one_record+0x46f/0x710 [ 11.993869][ C0] console_unlock+0xee/0x1f0 [ 11.993870][ C0] vprintk_emit+0x37c/0x3e0 [ 11.993871][ C0] _printk+0xc7/0x100 [ 11.993874][ C0] seg6_init+0x57/0x80 [ 11.993877][ C0] inet6_init+0x2eb/0x400 [ 11.993878][ C0] do_one_initcall+0x124/0x4f0 [ 11.993880][ C0] kernel_init_freeable+0x596/0x630 [ 11.993881][ C0] kernel_init+0x21/0x150 [ 11.993882][ C0] ret_from_fork+0x474/0x6b0 [ 11.993884][ C0] ret_from_fork_asm+0x11/0x20 [ 11.993885][ C0] [ 11.993885][ C0] -> (console_owner){..-.}-{0:0} { [ 11.993887][ C0] IN-SOFTIRQ-W at: [ 11.993888][ C0] __lock_acquire+0x388/0xc20 [ 11.993889][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.993891][ C0] console_lock_spinning_enable+0x5c/0x60 [ 11.993892][ C0] console_emit_next_record+0x1d1/0x4c0 [ 11.993894][ C0] console_flush_one_record+0x46f/0x710 [ 11.993895][ C0] console_unlock+0xee/0x1f0 [ 11.993897][ C0] vprintk_emit+0x37c/0x3e0 [ 11.993898][ C0] _printk+0xc7/0x100 [ 11.993899][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 11.993901][ C0] call_timer_fn+0x160/0x4d0 [ 11.993903][ C0] __run_timers+0x68f/0xaa0 [ 11.993905][ C0] run_timer_softirq+0xf0/0x160 [ 11.993906][ C0] handle_softirqs+0x1d3/0x900 [ 11.993909][ C0] __irq_exit_rcu+0x145/0x1c0 [ 11.993910][ C0] irq_exit_rcu+0xe/0x30 [ 11.993912][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 11.993913][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 11.993915][ C0] pv_native_safe_halt+0xf/0x10 [ 11.993916][ C0] default_idle+0x9/0x10 [ 11.993917][ C0] default_idle_call+0x6e/0xb0 [ 11.993919][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 11.993921][ C0] do_idle+0xd8/0x190 [ 11.993923][ C0] cpu_startup_entry+0x53/0x70 [ 11.993924][ C0] rest_init+0x279/0x280 [ 11.993925][ C0] start_kernel+0x3b9/0x3c0 [ 11.993927][ C0] x86_64_start_reservations+0x24/0x30 [ 11.993928][ C0] x86_64_start_kernel+0x12b/0x130 [ 11.993930][ C0] common_startup_64+0x13e/0x148 [ 11.993932][ C0] INITIAL USE at: [ 11.993933][ C0] } [ 11.993933][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 11.993936][ C0] ... acquired at: [ 11.993936][ C0] mark_lock+0x1d7/0xa00 [ 11.993938][ C0] mark_usage+0x42/0x170 [ 11.993939][ C0] __lock_acquire+0x388/0xc20 [ 11.993941][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.993942][ C0] console_lock_spinning_enable+0x5c/0x60 [ 11.993944][ C0] console_emit_next_record+0x1d1/0x4c0 [ 11.993945][ C0] console_flush_one_record+0x46f/0x710 [ 11.993947][ C0] console_unlock+0xee/0x1f0 [ 11.993948][ C0] vprintk_emit+0x37c/0x3e0 [ 11.993949][ C0] _printk+0xc7/0x100 [ 11.993950][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 11.993951][ C0] call_timer_fn+0x160/0x4d0 [ 11.993953][ C0] __run_timers+0x68f/0xaa0 [ 11.993955][ C0] run_timer_softirq+0xf0/0x160 [ 11.993956][ C0] handle_softirqs+0x1d3/0x900 [ 11.993957][ C0] __irq_exit_rcu+0x145/0x1c0 [ 11.993959][ C0] irq_exit_rcu+0xe/0x30 [ 11.993960][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 11.993961][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 11.993962][ C0] pv_native_safe_halt+0xf/0x10 [ 11.993963][ C0] default_idle+0x9/0x10 [ 11.993965][ C0] default_idle_call+0x6e/0xb0 [ 11.993966][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 11.993967][ C0] do_idle+0xd8/0x190 [ 11.993968][ C0] cpu_startup_entry+0x53/0x70 [ 11.993970][ C0] rest_init+0x279/0x280 [ 11.993971][ C0] start_kernel+0x3b9/0x3c0 [ 11.993972][ C0] x86_64_start_reservations+0x24/0x30 [ 11.993973][ C0] x86_64_start_kernel+0x12b/0x130 [ 11.993975][ C0] common_startup_64+0x13e/0x148 [ 11.993976][ C0] [ 11.993976][ C0] [ 11.993976][ C0] stack backtrace: [ 11.993979][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.993982][ C0] Tainted: [W]=WARN [ 11.993983][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.993985][ C0] Call Trace: [ 11.993986][ C0] [ 11.993987][ C0] dump_stack_lvl+0x6f/0xa0 [ 11.993992][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 11.993994][ C0] mark_lock_irq+0x989/0x9c0 [ 11.993996][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 11.993999][ C0] mark_lock+0x1d7/0xa00 [ 11.994000][ C0] mark_usage+0x42/0x170 [ 11.994002][ C0] __lock_acquire+0x388/0xc20 [ 11.994010][ C0] lock_acquire.part.0+0xd4/0x280 [ 11.994012][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 11.994014][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.994016][ C0] ? lock_acquire+0x13c/0x160 [ 11.994018][ C0] console_lock_spinning_enable+0x5c/0x60 [ 11.994020][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 11.994021][ C0] console_emit_next_record+0x1d1/0x4c0 [ 11.994024][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 11.994025][ C0] ? console_flush_one_record+0x106/0x710 [ 11.994027][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.994028][ C0] ? lock_acquire+0x13c/0x160 [ 11.994030][ C0] console_flush_one_record+0x46f/0x710 [ 11.994033][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 11.994034][ C0] ? __lock_acquire+0x518/0xc20 [ 11.994037][ C0] console_unlock+0xee/0x1f0 [ 11.994039][ C0] ? console_flush_one_record+0x710/0x710 [ 11.994040][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.994041][ C0] ? lock_acquire+0xe0/0x160 [ 11.994043][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.994046][ C0] ? vprintk_emit+0x320/0x3e0 [ 11.994047][ C0] vprintk_emit+0x37c/0x3e0 [ 11.994048][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 11.994050][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 11.994052][ C0] _printk+0xc7/0x100 [ 11.994054][ C0] ? snapshot_read.cold+0x21/0x21 [ 11.994055][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 11.994057][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 11.994060][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 11.994061][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 11.994063][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 11.994064][ C0] call_timer_fn+0x160/0x4d0 [ 11.994066][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 11.994068][ C0] ? debug_object_active_state+0x430/0x430 [ 11.994071][ C0] ? find_held_lock+0x2b/0x80 [ 11.994072][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 11.994074][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.994076][ C0] __run_timers+0x68f/0xaa0 [ 11.994077][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 11.994080][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 11.994081][ C0] ? __lock_acquire+0x518/0xc20 [ 11.994084][ C0] ? __rwlock_init+0x150/0x150 [ 11.994087][ C0] run_timer_softirq+0xf0/0x160 [ 11.994089][ C0] ? __run_timers+0xaa0/0xaa0 [ 11.994090][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.994093][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.994094][ C0] handle_softirqs+0x1d3/0x900 [ 11.994096][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 11.994098][ C0] ? _local_bh_enable+0xc0/0xc0 [ 11.994100][ C0] __irq_exit_rcu+0x145/0x1c0 [ 11.994101][ C0] irq_exit_rcu+0xe/0x30 [ 11.994103][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 11.994104][ C0] [ 11.994105][ C0] [ 11.994105][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 11.994107][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 11.994109][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 11.994111][ C0] Code: 48 8b 3d 94 92 68 02 e8 1f 00 00 00 48 2b 05 58 e3 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 16 0e 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 11.994113][ C0] RSP: 0018:ffffffffa2807cf8 EFLAGS: 00000296 [ 11.994115][ C0] RAX: 0000000000069203 RBX: ffffffffa2830600 RCX: ffffffff9ef06247 [ 11.994116][ C0] RDX: ffffffffa2830600 RSI: ffffffffa2111042 RDI: ffffffffa1a949e0 [ 11.994117][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 11.994118][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff4500fa2 [ 11.994119][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 11.994120][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 11.994122][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 11.994124][ C0] default_idle+0x9/0x10 [ 11.994125][ C0] default_idle_call+0x6e/0xb0 [ 11.994127][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 11.994129][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 11.994130][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 11.994133][ C0] ? kasan_check_range+0x49/0x200 [ 11.994136][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.994137][ C0] do_idle+0xd8/0x190 [ 11.994139][ C0] cpu_startup_entry+0x53/0x70 [ 11.994140][ C0] rest_init+0x279/0x280 [ 11.994142][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 11.994144][ C0] ? rest_init+0x280/0x280 [ 11.994146][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 11.994150][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 11.994151][ C0] ? acpi_enable+0x1e4/0x330 [ 11.994153][ C0] start_kernel+0x3b9/0x3c0 [ 11.994155][ C0] x86_64_start_reservations+0x24/0x30 [ 11.994157][ C0] x86_64_start_kernel+0x12b/0x130 [ 11.994158][ C0] common_startup_64+0x13e/0x148 [ 11.994161][ C0] [ 11.994165][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.994167][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 11.994168][ C0] preempt_count: 103, expected: 0 [ 11.994169][ C0] RCU nest depth: 0, expected: 0 [ 11.994170][ C0] INFO: lockdep is turned off. [ 11.994170][ C0] irq event stamp: 430611 [ 11.994171][ C0] hardirqs last enabled at (430610): [] __down_trylock_console_sem+0x86/0xa0 [ 11.994173][ C0] hardirqs last disabled at (430611): [] console_emit_next_record+0x3d4/0x4c0 [ 11.994175][ C0] softirqs last enabled at (430584): [] handle_softirqs+0x67c/0x900 [ 11.994177][ C0] softirqs last disabled at (430597): [] __irq_exit_rcu+0x145/0x1c0 [ 11.994179][ C0] Preemption disabled at: [ 11.994179][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 11.994183][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.994185][ C0] Tainted: [W]=WARN [ 11.994185][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.994186][ C0] Call Trace: [ 11.994187][ C0] [ 11.994187][ C0] dump_stack_lvl+0x6f/0xa0 [ 11.994189][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 11.994191][ C0] __might_resched.cold+0x1fe/0x2c1 [ 11.994194][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.994198][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.994200][ C0] __kmalloc_noprof+0x443/0x760 [ 11.994202][ C0] ? __rwlock_init+0x150/0x150 [ 11.994203][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 11.994206][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 11.994208][ C0] alloc_buf.isra.0+0x4b/0x260 [ 11.994210][ C0] put_chars+0x1e1/0x2f0 [ 11.994212][ C0] ? __send_to_port+0x420/0x420 [ 11.994214][ C0] ? mark_lock+0x1d7/0xa00 [ 11.994216][ C0] hvc_console_print+0x292/0x780 [ 11.994219][ C0] ? hvc_write+0x3a0/0x3a0 [ 11.994221][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.994222][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.994223][ C0] console_emit_next_record+0x22f/0x4c0 [ 11.994226][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 11.994227][ C0] ? console_flush_one_record+0x106/0x710 [ 11.994229][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.994230][ C0] ? lock_acquire+0x13c/0x160 [ 11.994232][ C0] console_flush_one_record+0x46f/0x710 [ 11.994235][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 11.994236][ C0] ? __lock_acquire+0x518/0xc20 [ 11.994239][ C0] console_unlock+0xee/0x1f0 [ 11.994241][ C0] ? console_flush_one_record+0x710/0x710 [ 11.994242][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.994243][ C0] ? lock_acquire+0xe0/0x160 [ 11.994245][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.994247][ C0] ? vprintk_emit+0x320/0x3e0 [ 11.994248][ C0] vprintk_emit+0x37c/0x3e0 [ 11.994250][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 11.994252][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 11.994253][ C0] _printk+0xc7/0x100 [ 11.994255][ C0] ? snapshot_read.cold+0x21/0x21 [ 11.994257][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 11.994258][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 11.994261][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 11.994262][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 11.994264][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 11.994265][ C0] call_timer_fn+0x160/0x4d0 [ 11.994268][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 11.994269][ C0] ? debug_object_active_state+0x430/0x430 [ 11.994271][ C0] ? find_held_lock+0x2b/0x80 [ 11.994272][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 11.994274][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.994276][ C0] __run_timers+0x68f/0xaa0 [ 11.994277][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 11.994280][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 11.994281][ C0] ? __lock_acquire+0x518/0xc20 [ 11.994284][ C0] ? __rwlock_init+0x150/0x150 [ 11.994286][ C0] run_timer_softirq+0xf0/0x160 [ 11.994288][ C0] ? __run_timers+0xaa0/0xaa0 [ 11.994290][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.994291][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.994293][ C0] handle_softirqs+0x1d3/0x900 [ 11.994295][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 11.994296][ C0] ? _local_bh_enable+0xc0/0xc0 [ 11.994298][ C0] __irq_exit_rcu+0x145/0x1c0 [ 11.994300][ C0] irq_exit_rcu+0xe/0x30 [ 11.994301][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 11.994303][ C0] [ 11.994303][ C0] [ 11.994304][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 11.994305][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 11.994307][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 11.994308][ C0] Code: 48 8b 3d 94 92 68 02 e8 1f 00 00 00 48 2b 05 58 e3 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 16 0e 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 11.994309][ C0] RSP: 0018:ffffffffa2807cf8 EFLAGS: 00000296 [ 11.994311][ C0] RAX: 0000000000069203 RBX: ffffffffa2830600 RCX: ffffffff9ef06247 [ 11.994311][ C0] RDX: ffffffffa2830600 RSI: ffffffffa2111042 RDI: ffffffffa1a949e0 [ 11.994312][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 11.994313][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff4500fa2 [ 11.994313][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 11.994315][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 11.994317][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 11.994318][ C0] default_idle+0x9/0x10 [ 11.994320][ C0] default_idle_call+0x6e/0xb0 [ 11.994321][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 11.994323][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 11.994324][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 11.994326][ C0] ? kasan_check_range+0x49/0x200 [ 11.994327][ C0] ? rcu_is_watching+0x16/0xd0 [ 11.994328][ C0] do_idle+0xd8/0x190 [ 11.994330][ C0] cpu_startup_entry+0x53/0x70 [ 11.994331][ C0] rest_init+0x279/0x280 [ 11.994333][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 11.994336][ C0] ? rest_init+0x280/0x280 [ 11.994337][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 11.994339][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 11.994340][ C0] ? acpi_enable+0x1e4/0x330 [ 11.994342][ C0] start_kernel+0x3b9/0x3c0 [ 11.994344][ C0] x86_64_start_reservations+0x24/0x30 [ 11.994345][ C0] x86_64_start_kernel+0x12b/0x130 [ 11.994347][ C0] common_startup_64+0x13e/0x148 [ 11.994350][ C0]