[ 10.669381][ T216] ip (216) used greatest stack depth: 24016 bytes left [ 10.669397][ T216] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.669399][ T216] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 216, name: ip [ 10.669401][ T216] preempt_count: 2, expected: 0 [ 10.669402][ T216] RCU nest depth: 0, expected: 0 [ 10.669403][ T216] locks held by ip/216: 5, last CPU#0: [ 10.669405][ T216] #0: ffffffff8ea267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.669418][ T216] #1: ffffffff8eb8dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.669423][ T216] #2: ffffffff8eb8dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.669427][ T216] #3: ffffffff8eaad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.669431][ T216] #4: ffffffff8eaad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.669435][ T216] irq event stamp: 35136 [ 10.669436][ T216] hardirqs last enabled at (35135): [] __down_trylock_console_sem+0x86/0xa0 [ 10.669438][ T216] hardirqs last disabled at (35136): [] console_emit_next_record+0x3d4/0x4c0 [ 10.669440][ T216] softirqs last enabled at (34286): [] handle_softirqs+0x67c/0x900 [ 10.669442][ T216] softirqs last disabled at (34281): [] __irq_exit_rcu+0x145/0x1c0 [ 10.669444][ T216] Preemption disabled at: [ 10.669445][ T216] [<0000000000000000>] 0x0 [ 10.669452][ T216] CPU: 0 UID: 0 PID: 216 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.669456][ T216] Tainted: [W]=WARN [ 10.669456][ T216] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.669458][ T216] Call Trace: [ 10.669460][ T216] [ 10.669461][ T216] dump_stack_lvl+0x6f/0xa0 [ 10.669468][ T216] __might_resched.cold+0x1fe/0x2c1 [ 10.669472][ T216] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.669476][ T216] ? __kmalloc_noprof+0xdb/0x760 [ 10.669481][ T216] __kmalloc_noprof+0x443/0x760 [ 10.669483][ T216] ? alloc_buf.isra.0+0x4b/0x260 [ 10.669490][ T216] ? do_raw_spin_unlock+0x59/0x250 [ 10.669492][ T216] alloc_buf.isra.0+0x4b/0x260 [ 10.669496][ T216] put_chars+0x1e1/0x2f0 [ 10.669499][ T216] ? __send_to_port+0x420/0x420 [ 10.669501][ T216] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.669506][ T216] ? validate_chain+0x38b/0xc20 [ 10.669511][ T216] hvc_console_print+0x292/0x780 [ 10.669519][ T216] ? hvc_write+0x3a0/0x3a0 [ 10.669521][ T216] ? rcu_is_watching+0x16/0xd0 [ 10.669523][ T216] ? lock_acquire+0x13c/0x160 [ 10.669527][ T216] console_emit_next_record+0x22f/0x4c0 [ 10.669531][ T216] ? devkmsg_read+0x4b0/0x4b0 [ 10.669533][ T216] ? console_flush_one_record+0x106/0x710 [ 10.669536][ T216] ? rcu_is_watching+0x16/0xd0 [ 10.669538][ T216] ? lock_acquire+0x13c/0x160 [ 10.669542][ T216] console_flush_one_record+0x46f/0x710 [ 10.669545][ T216] ? console_emit_next_record+0x4c0/0x4c0 [ 10.669547][ T216] ? __lock_acquire+0x518/0xc20 [ 10.669552][ T216] console_unlock+0xee/0x1f0 [ 10.669555][ T216] ? console_flush_one_record+0x710/0x710 [ 10.669556][ T216] ? rcu_is_watching+0x16/0xd0 [ 10.669559][ T216] ? lock_acquire+0x60/0x160 [ 10.669562][ T216] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.669564][ T216] ? vprintk_emit+0x320/0x3e0 [ 10.669567][ T216] vprintk_emit+0x37c/0x3e0 [ 10.669570][ T216] ? wake_up_klogd_work_func+0x90/0x90 [ 10.669574][ T216] ? __lock_acquire+0x518/0xc20 [ 10.669577][ T216] _printk+0xc7/0x100 [ 10.669581][ T216] ? snapshot_read.cold+0x21/0x21 [ 10.669584][ T216] ? do_raw_spin_lock+0x131/0x280 [ 10.669586][ T216] ? __rwlock_init+0x150/0x150 [ 10.669590][ T216] ? do_raw_spin_lock+0x131/0x280 [ 10.669592][ T216] do_exit.cold+0x82/0x9c [ 10.669596][ T216] ? exit_notify+0x890/0x890 [ 10.669598][ T216] ? __lock_release.isra.0+0x69/0x1a0 [ 10.669601][ T216] ? rcu_is_watching+0x16/0xd0 [ 10.669605][ T216] do_group_exit+0xb8/0x370 [ 10.669608][ T216] __x64_sys_exit_group+0x3c/0x50 [ 10.669610][ T216] x64_sys_call+0x1567/0x1570 [ 10.669612][ T216] do_syscall_64+0xff/0x530 [ 10.669616][ T216] ? exc_page_fault+0xee/0x100 [ 10.669619][ T216] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.669622][ T216] RIP: 0033:0x7ff08e3231b8 [ 10.669624][ T216] Code: Unable to access opcode bytes at 0x7ff08e32318e. [ 10.669625][ T216] RSP: 002b:00007ffdf1a07278 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.669627][ T216] RAX: ffffffffffffffda RBX: 00007ff08e453f88 RCX: 00007ff08e3231b8 [ 10.669629][ T216] RDX: 00007ff08e06dfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.669630][ T216] RBP: 00007ffdf1a072d0 R08: 0000000000000000 R09: 0000000000000000 [ 10.669631][ T216] R10: 00007ffdf1a07090 R11: 0000000000000246 R12: 0000000000000001 [ 10.669631][ T216] R13: 0000000000000000 R14: 00007ff08e452680 R15: 00007ff08e453fa0 [ 10.669638][ T216] [ 13.853586][ T359] ip (359) used greatest stack depth: 23840 bytes left [ 13.853606][ T359] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.853609][ T359] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 359, name: ip [ 13.853610][ T359] preempt_count: 2, expected: 0 [ 13.853611][ T359] RCU nest depth: 0, expected: 0 [ 13.853612][ T359] locks held by ip/359: 5, last CPU#1: [ 13.853614][ T359] #0: ffffffff8ea267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.853627][ T359] #1: ffffffff8eb8dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.853633][ T359] #2: ffffffff8eb8dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.853636][ T359] #3: ffffffff8eaad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.853640][ T359] #4: ffffffff8eaad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.853643][ T359] irq event stamp: 19816 [ 13.853644][ T359] hardirqs last enabled at (19815): [] __down_trylock_console_sem+0x86/0xa0 [ 13.853647][ T359] hardirqs last disabled at (19816): [] console_emit_next_record+0x3d4/0x4c0 [ 13.853649][ T359] softirqs last enabled at (19682): [] handle_softirqs+0x67c/0x900 [ 13.853651][ T359] softirqs last disabled at (19677): [] __irq_exit_rcu+0x145/0x1c0 [ 13.853653][ T359] Preemption disabled at: [ 13.853653][ T359] [<0000000000000000>] 0x0 [ 13.853660][ T359] CPU: 1 UID: 0 PID: 359 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.853664][ T359] Tainted: [W]=WARN [ 13.853665][ T359] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.853666][ T359] Call Trace: [ 13.853668][ T359] [ 13.853670][ T359] dump_stack_lvl+0x6f/0xa0 [ 13.853676][ T359] __might_resched.cold+0x1fe/0x2c1 [ 13.853680][ T359] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.853684][ T359] ? __kmalloc_noprof+0xdb/0x760 [ 13.853689][ T359] __kmalloc_noprof+0x443/0x760 [ 13.853691][ T359] ? alloc_buf.isra.0+0x4b/0x260 [ 13.853697][ T359] ? do_raw_spin_unlock+0x59/0x250 [ 13.853700][ T359] alloc_buf.isra.0+0x4b/0x260 [ 13.853703][ T359] put_chars+0x1e1/0x2f0 [ 13.853707][ T359] ? __send_to_port+0x420/0x420 [ 13.853709][ T359] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.853714][ T359] ? validate_chain+0x38b/0xc20 [ 13.853719][ T359] hvc_console_print+0x292/0x780 [ 13.853726][ T359] ? hvc_write+0x3a0/0x3a0 [ 13.853728][ T359] ? rcu_is_watching+0x16/0xd0 [ 13.853731][ T359] ? lock_acquire+0x13c/0x160 [ 13.853734][ T359] console_emit_next_record+0x22f/0x4c0 [ 13.853738][ T359] ? devkmsg_read+0x4b0/0x4b0 [ 13.853739][ T359] ? console_flush_one_record+0x106/0x710 [ 13.853742][ T359] ? rcu_is_watching+0x16/0xd0 [ 13.853744][ T359] ? lock_acquire+0x13c/0x160 [ 13.853748][ T359] console_flush_one_record+0x46f/0x710 [ 13.853751][ T359] ? console_emit_next_record+0x4c0/0x4c0 [ 13.853753][ T359] ? __lock_acquire+0x518/0xc20 [ 13.853758][ T359] console_unlock+0xee/0x1f0 [ 13.853760][ T359] ? console_flush_one_record+0x710/0x710 [ 13.853762][ T359] ? rcu_is_watching+0x16/0xd0 [ 13.853764][ T359] ? lock_acquire+0x60/0x160 [ 13.853767][ T359] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.853769][ T359] ? vprintk_emit+0x320/0x3e0 [ 13.853772][ T359] vprintk_emit+0x37c/0x3e0 [ 13.853775][ T359] ? wake_up_klogd_work_func+0x90/0x90 [ 13.853782][ T359] ? __lock_acquire+0x518/0xc20 [ 13.853785][ T359] _printk+0xc7/0x100 [ 13.853789][ T359] ? snapshot_read.cold+0x21/0x21 [ 13.853792][ T359] ? do_raw_spin_lock+0x131/0x280 [ 13.853794][ T359] ? __rwlock_init+0x150/0x150 [ 13.853798][ T359] ? do_raw_spin_lock+0x131/0x280 [ 13.853800][ T359] do_exit.cold+0x82/0x9c [ 13.853804][ T359] ? exit_notify+0x890/0x890 [ 13.853806][ T359] ? __lock_release.isra.0+0x69/0x1a0 [ 13.853808][ T359] ? rcu_is_watching+0x16/0xd0 [ 13.853812][ T359] do_group_exit+0xb8/0x370 [ 13.853816][ T359] __x64_sys_exit_group+0x3c/0x50 [ 13.853818][ T359] x64_sys_call+0x1567/0x1570 [ 13.853820][ T359] do_syscall_64+0xff/0x530 [ 13.853823][ T359] ? exc_page_fault+0xee/0x100 [ 13.853826][ T359] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.853829][ T359] RIP: 0033:0x7fb17023d1b8 [ 13.853831][ T359] Code: Unable to access opcode bytes at 0x7fb17023d18e. [ 13.853832][ T359] RSP: 002b:00007fff2e91b958 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.853835][ T359] RAX: ffffffffffffffda RBX: 00007fb17036df88 RCX: 00007fb17023d1b8 [ 13.853836][ T359] RDX: 00007fb16ff87fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 13.853837][ T359] RBP: 00007fff2e91b9b0 R08: 0000000000000000 R09: 0000000000000050 [ 13.853838][ T359] R10: 00007fff2e91b770 R11: 0000000000000246 R12: 0000000000000001 [ 13.853839][ T359] R13: 0000000000000000 R14: 00007fb17036c680 R15: 00007fb17036dfa0 [ 13.853845][ T359] [ 182.412914][ C0] clocksource: Watchdog remote CPU 3 read timed out [ 182.413080][ C0] [ 182.413082][ C0] ======================================================== [ 182.413083][ C0] WARNING: possible irq lock inversion dependency detected [ 182.413085][ C0] 7.2.0-virtme #1 Tainted: G W [ 182.413087][ C0] -------------------------------------------------------- [ 182.413087][ C0] swapper/0/0 just changed the state of lock: [ 182.413088][ C0] ffffffff8eaad660 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 182.413100][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 182.413101][ C0] (fs_reclaim){+.+.}-{0:0} [ 182.413103][ C0] [ 182.413103][ C0] [ 182.413103][ C0] and interrupts could create inverse lock ordering between them. [ 182.413103][ C0] [ 182.413103][ C0] [ 182.413103][ C0] other info that might help us debug this: [ 182.413104][ C0] Possible interrupt unsafe locking scenario: [ 182.413104][ C0] [ 182.413105][ C0] CPU0 CPU1 [ 182.413105][ C0] ---- ---- [ 182.413105][ C0] lock(fs_reclaim); [ 182.413106][ C0] local_irq_disable(); [ 182.413107][ C0] lock(console_owner); [ 182.413108][ C0] lock(fs_reclaim); [ 182.413108][ C0] [ 182.413109][ C0] lock(console_owner); [ 182.413110][ C0] [ 182.413110][ C0] *** DEADLOCK *** [ 182.413110][ C0] [ 182.413110][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 182.413111][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 182.413116][ C0] #1: ffffffff8ebf28b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 182.413120][ C0] #2: ffffffff8eb8dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 182.413124][ C0] #3: ffffffff8eb8dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 182.413126][ C0] [ 182.413126][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 182.413131][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 182.413133][ C0] HARDIRQ-ON-W at: [ 182.413134][ C0] __lock_acquire+0x388/0xc20 [ 182.413137][ C0] lock_acquire.part.0+0xd4/0x280 [ 182.413138][ C0] fs_reclaim_acquire+0xd5/0x120 [ 182.413141][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 182.413143][ C0] kthread_create_worker_on_node+0xea/0x210 [ 182.413146][ C0] workqueue_init+0x2a/0x680 [ 182.413149][ C0] kernel_init_freeable+0x2fe/0x630 [ 182.413151][ C0] kernel_init+0x21/0x150 [ 182.413155][ C0] ret_from_fork+0x474/0x6b0 [ 182.413158][ C0] ret_from_fork_asm+0x11/0x20 [ 182.413161][ C0] SOFTIRQ-ON-W at: [ 182.413162][ C0] __lock_acquire+0x388/0xc20 [ 182.413163][ C0] lock_acquire.part.0+0xd4/0x280 [ 182.413164][ C0] fs_reclaim_acquire+0xd5/0x120 [ 182.413165][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 182.413167][ C0] kthread_create_worker_on_node+0xea/0x210 [ 182.413168][ C0] workqueue_init+0x2a/0x680 [ 182.413169][ C0] kernel_init_freeable+0x2fe/0x630 [ 182.413170][ C0] kernel_init+0x21/0x150 [ 182.413171][ C0] ret_from_fork+0x474/0x6b0 [ 182.413173][ C0] ret_from_fork_asm+0x11/0x20 [ 182.413174][ C0] INITIAL USE at: [ 182.413175][ C0] __lock_acquire+0x388/0xc20 [ 182.413176][ C0] lock_acquire.part.0+0xd4/0x280 [ 182.413177][ C0] fs_reclaim_acquire+0xd5/0x120 [ 182.413179][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 182.413180][ C0] kthread_create_worker_on_node+0xea/0x210 [ 182.413181][ C0] workqueue_init+0x2a/0x680 [ 182.413182][ C0] kernel_init_freeable+0x2fe/0x630 [ 182.413183][ C0] kernel_init+0x21/0x150 [ 182.413185][ C0] ret_from_fork+0x474/0x6b0 [ 182.413186][ C0] ret_from_fork_asm+0x11/0x20 [ 182.413187][ C0] } [ 182.413188][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 182.413191][ C0] ... acquired at: [ 182.413192][ C0] __lock_acquire+0x518/0xc20 [ 182.413193][ C0] lock_acquire.part.0+0xd4/0x280 [ 182.413194][ C0] fs_reclaim_acquire+0xd5/0x120 [ 182.413196][ C0] __kmalloc_noprof+0xd3/0x760 [ 182.413197][ C0] alloc_buf.isra.0+0x4b/0x260 [ 182.413201][ C0] put_chars+0x1e1/0x2f0 [ 182.413202][ C0] hvc_console_print+0x292/0x780 [ 182.413205][ C0] console_emit_next_record+0x22f/0x4c0 [ 182.413206][ C0] console_flush_one_record+0x46f/0x710 [ 182.413208][ C0] console_unlock+0xee/0x1f0 [ 182.413209][ C0] vprintk_emit+0x37c/0x3e0 [ 182.413211][ C0] _printk+0xc7/0x100 [ 182.413213][ C0] print_ipi_mode+0x2e/0x40 [ 182.413215][ C0] do_one_initcall+0x124/0x4f0 [ 182.413216][ C0] kernel_init_freeable+0x596/0x630 [ 182.413217][ C0] kernel_init+0x21/0x150 [ 182.413219][ C0] ret_from_fork+0x474/0x6b0 [ 182.413221][ C0] ret_from_fork_asm+0x11/0x20 [ 182.413222][ C0] [ 182.413222][ C0] -> (console_owner){..-.}-{0:0} { [ 182.413224][ C0] IN-SOFTIRQ-W at: [ 182.413224][ C0] __lock_acquire+0x388/0xc20 [ 182.413226][ C0] lock_acquire.part.0+0xd4/0x280 [ 182.413227][ C0] console_lock_spinning_enable+0x5c/0x60 [ 182.413228][ C0] console_emit_next_record+0x1d1/0x4c0 [ 182.413229][ C0] console_flush_one_record+0x46f/0x710 [ 182.413231][ C0] console_unlock+0xee/0x1f0 [ 182.413232][ C0] vprintk_emit+0x37c/0x3e0 [ 182.413233][ C0] _printk+0xc7/0x100 [ 182.413235][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 182.413237][ C0] call_timer_fn+0x160/0x4d0 [ 182.413238][ C0] __run_timers+0x68f/0xaa0 [ 182.413239][ C0] run_timer_softirq+0xf0/0x160 [ 182.413241][ C0] handle_softirqs+0x1d3/0x900 [ 182.413243][ C0] __irq_exit_rcu+0x145/0x1c0 [ 182.413244][ C0] irq_exit_rcu+0xe/0x30 [ 182.413245][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 182.413247][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 182.413249][ C0] pv_native_safe_halt+0xf/0x10 [ 182.413250][ C0] default_idle+0x9/0x10 [ 182.413252][ C0] default_idle_call+0x6e/0xb0 [ 182.413253][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 182.413255][ C0] do_idle+0xd8/0x190 [ 182.413256][ C0] cpu_startup_entry+0x53/0x70 [ 182.413257][ C0] rest_init+0x279/0x280 [ 182.413259][ C0] start_kernel+0x3af/0x3b0 [ 182.413260][ C0] x86_64_start_reservations+0x24/0x30 [ 182.413262][ C0] x86_64_start_kernel+0x12b/0x130 [ 182.413263][ C0] common_startup_64+0x13e/0x148 [ 182.413266][ C0] INITIAL USE at: [ 182.413266][ C0] } [ 182.413267][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 182.413269][ C0] ... acquired at: [ 182.413270][ C0] mark_lock+0x1d7/0xa00 [ 182.413271][ C0] mark_usage+0x42/0x170 [ 182.413272][ C0] __lock_acquire+0x388/0xc20 [ 182.413273][ C0] lock_acquire.part.0+0xd4/0x280 [ 182.413275][ C0] console_lock_spinning_enable+0x5c/0x60 [ 182.413276][ C0] console_emit_next_record+0x1d1/0x4c0 [ 182.413277][ C0] console_flush_one_record+0x46f/0x710 [ 182.413278][ C0] console_unlock+0xee/0x1f0 [ 182.413280][ C0] vprintk_emit+0x37c/0x3e0 [ 182.413281][ C0] _printk+0xc7/0x100 [ 182.413282][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 182.413283][ C0] call_timer_fn+0x160/0x4d0 [ 182.413285][ C0] __run_timers+0x68f/0xaa0 [ 182.413286][ C0] run_timer_softirq+0xf0/0x160 [ 182.413287][ C0] handle_softirqs+0x1d3/0x900 [ 182.413288][ C0] __irq_exit_rcu+0x145/0x1c0 [ 182.413289][ C0] irq_exit_rcu+0xe/0x30 [ 182.413290][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 182.413291][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 182.413292][ C0] pv_native_safe_halt+0xf/0x10 [ 182.413294][ C0] default_idle+0x9/0x10 [ 182.413295][ C0] default_idle_call+0x6e/0xb0 [ 182.413297][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 182.413298][ C0] do_idle+0xd8/0x190 [ 182.413298][ C0] cpu_startup_entry+0x53/0x70 [ 182.413299][ C0] rest_init+0x279/0x280 [ 182.413301][ C0] start_kernel+0x3af/0x3b0 [ 182.413302][ C0] x86_64_start_reservations+0x24/0x30 [ 182.413303][ C0] x86_64_start_kernel+0x12b/0x130 [ 182.413304][ C0] common_startup_64+0x13e/0x148 [ 182.413305][ C0] [ 182.413306][ C0] [ 182.413306][ C0] stack backtrace: [ 182.413308][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 182.413312][ C0] Tainted: [W]=WARN [ 182.413312][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 182.413314][ C0] Call Trace: [ 182.413315][ C0] [ 182.413316][ C0] dump_stack_lvl+0x6f/0xa0 [ 182.413320][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 182.413322][ C0] mark_lock_irq+0x989/0x9c0 [ 182.413323][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 182.413326][ C0] mark_lock+0x1d7/0xa00 [ 182.413328][ C0] mark_usage+0x42/0x170 [ 182.413329][ C0] __lock_acquire+0x388/0xc20 [ 182.413331][ C0] lock_acquire.part.0+0xd4/0x280 [ 182.413332][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 182.413334][ C0] ? rcu_is_watching+0x16/0xd0 [ 182.413337][ C0] ? lock_acquire+0x13c/0x160 [ 182.413339][ C0] console_lock_spinning_enable+0x5c/0x60 [ 182.413340][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 182.413341][ C0] console_emit_next_record+0x1d1/0x4c0 [ 182.413343][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 182.413345][ C0] ? console_flush_one_record+0x106/0x710 [ 182.413347][ C0] ? rcu_is_watching+0x16/0xd0 [ 182.413348][ C0] ? lock_acquire+0x13c/0x160 [ 182.413350][ C0] console_flush_one_record+0x46f/0x710 [ 182.413352][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 182.413353][ C0] ? __lock_acquire+0x518/0xc20 [ 182.413355][ C0] console_unlock+0xee/0x1f0 [ 182.413357][ C0] ? console_flush_one_record+0x710/0x710 [ 182.413358][ C0] ? rcu_is_watching+0x16/0xd0 [ 182.413360][ C0] ? lock_acquire+0x60/0x160 [ 182.413361][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 182.413363][ C0] ? vprintk_emit+0x320/0x3e0 [ 182.413365][ C0] vprintk_emit+0x37c/0x3e0 [ 182.413366][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 182.413369][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 182.413370][ C0] _printk+0xc7/0x100 [ 182.413372][ C0] ? snapshot_read.cold+0x21/0x21 [ 182.413374][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 182.413375][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 182.413377][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 182.413379][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 182.413380][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 182.413381][ C0] call_timer_fn+0x160/0x4d0 [ 182.413383][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 182.413385][ C0] ? debug_object_active_state+0x430/0x430 [ 182.413388][ C0] ? find_held_lock+0x2b/0x80 [ 182.413390][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 182.413392][ C0] ? rcu_is_watching+0x16/0xd0 [ 182.413394][ C0] __run_timers+0x68f/0xaa0 [ 182.413395][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 182.413397][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 182.413399][ C0] ? __lock_acquire+0x518/0xc20 [ 182.413401][ C0] ? __rwlock_init+0x150/0x150 [ 182.413403][ C0] run_timer_softirq+0xf0/0x160 [ 182.413405][ C0] ? __run_timers+0xaa0/0xaa0 [ 182.413406][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 182.413409][ C0] ? rcu_is_watching+0x16/0xd0 [ 182.413411][ C0] handle_softirqs+0x1d3/0x900 [ 182.413412][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 182.413414][ C0] ? _local_bh_enable+0xc0/0xc0 [ 182.413415][ C0] __irq_exit_rcu+0x145/0x1c0 [ 182.413417][ C0] irq_exit_rcu+0xe/0x30 [ 182.413418][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 182.413420][ C0] [ 182.413420][ C0] [ 182.413420][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 182.413422][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 182.413424][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 182.413426][ 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 [ 182.413428][ C0] RSP: 0018:ffffffff8e807cf8 EFLAGS: 00000296 [ 182.413431][ C0] RAX: 000000000093f0d7 RBX: ffffffff8e840600 RCX: ffffffff8b6f3307 [ 182.413432][ C0] RDX: ffffffff8e840600 RSI: ffffffff8e657571 RDI: ffffffff8e08d8e0 [ 182.413433][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 182.413434][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff1d00fa2 [ 182.413434][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 182.413436][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 182.413438][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 182.413439][ C0] default_idle+0x9/0x10 [ 182.413441][ C0] default_idle_call+0x6e/0xb0 [ 182.413443][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 182.413444][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 182.413446][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 182.413449][ C0] ? rcu_is_watching+0x16/0xd0 [ 182.413450][ C0] do_idle+0xd8/0x190 [ 182.413452][ C0] cpu_startup_entry+0x53/0x70 [ 182.413453][ C0] rest_init+0x279/0x280 [ 182.413455][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 182.413458][ C0] ? rest_init+0x280/0x280 [ 182.413459][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 182.413463][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 182.413465][ C0] ? acpi_enable+0x1e4/0x330 [ 182.413467][ C0] start_kernel+0x3af/0x3b0 [ 182.413468][ C0] x86_64_start_reservations+0x24/0x30 [ 182.413470][ C0] x86_64_start_kernel+0x12b/0x130 [ 182.413472][ C0] common_startup_64+0x13e/0x148 [ 182.413474][ C0] [ 182.413478][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 182.413480][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 182.413481][ C0] preempt_count: 103, expected: 0 [ 182.413482][ C0] RCU nest depth: 0, expected: 0 [ 182.413483][ C0] INFO: lockdep is turned off. [ 182.413483][ C0] irq event stamp: 9695463 [ 182.413484][ C0] hardirqs last enabled at (9695462): [] __down_trylock_console_sem+0x86/0xa0 [ 182.413486][ C0] hardirqs last disabled at (9695463): [] console_emit_next_record+0x3d4/0x4c0 [ 182.413488][ C0] softirqs last enabled at (9695442): [] handle_softirqs+0x67c/0x900 [ 182.413489][ C0] softirqs last disabled at (9695449): [] __irq_exit_rcu+0x145/0x1c0 [ 182.413491][ C0] Preemption disabled at: [ 182.413491][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 182.413494][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 182.413496][ C0] Tainted: [W]=WARN [ 182.413497][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 182.413497][ C0] Call Trace: [ 182.413498][ C0] [ 182.413498][ C0] dump_stack_lvl+0x6f/0xa0 [ 182.413500][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 182.413502][ C0] __might_resched.cold+0x1fe/0x2c1 [ 182.413504][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 182.413507][ C0] ? rcu_is_watching+0x16/0xd0 [ 182.413509][ C0] __kmalloc_noprof+0x443/0x760 [ 182.413511][ C0] ? __rwlock_init+0x150/0x150 [ 182.413512][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 182.413514][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 182.413515][ C0] alloc_buf.isra.0+0x4b/0x260 [ 182.413518][ C0] put_chars+0x1e1/0x2f0 [ 182.413520][ C0] ? __send_to_port+0x420/0x420 [ 182.413522][ C0] ? mark_lock+0x1d7/0xa00 [ 182.413524][ C0] hvc_console_print+0x292/0x780 [ 182.413527][ C0] ? hvc_write+0x3a0/0x3a0 [ 182.413529][ C0] ? rcu_is_watching+0x16/0xd0 [ 182.413530][ C0] ? rcu_is_watching+0x16/0xd0 [ 182.413532][ C0] console_emit_next_record+0x22f/0x4c0 [ 182.413535][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 182.413536][ C0] ? console_flush_one_record+0x106/0x710 [ 182.413538][ C0] ? rcu_is_watching+0x16/0xd0 [ 182.413539][ C0] ? lock_acquire+0x13c/0x160 [ 182.413541][ C0] console_flush_one_record+0x46f/0x710 [ 182.413543][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 182.413544][ C0] ? __lock_acquire+0x518/0xc20 [ 182.413546][ C0] console_unlock+0xee/0x1f0 [ 182.413548][ C0] ? console_flush_one_record+0x710/0x710 [ 182.413550][ C0] ? rcu_is_watching+0x16/0xd0 [ 182.413551][ C0] ? lock_acquire+0x60/0x160 [ 182.413553][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 182.413554][ C0] ? vprintk_emit+0x320/0x3e0 [ 182.413556][ C0] vprintk_emit+0x37c/0x3e0 [ 182.413558][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 182.413560][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 182.413561][ C0] _printk+0xc7/0x100 [ 182.413563][ C0] ? snapshot_read.cold+0x21/0x21 [ 182.413565][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 182.413566][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 182.413568][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 182.413569][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 182.413571][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 182.413572][ C0] call_timer_fn+0x160/0x4d0 [ 182.413574][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 182.413575][ C0] ? debug_object_active_state+0x430/0x430 [ 182.413577][ C0] ? find_held_lock+0x2b/0x80 [ 182.413579][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 182.413580][ C0] ? rcu_is_watching+0x16/0xd0 [ 182.413582][ C0] __run_timers+0x68f/0xaa0 [ 182.413584][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 182.413586][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 182.413587][ C0] ? __lock_acquire+0x518/0xc20 [ 182.413589][ C0] ? __rwlock_init+0x150/0x150 [ 182.413591][ C0] run_timer_softirq+0xf0/0x160 [ 182.413593][ C0] ? __run_timers+0xaa0/0xaa0 [ 182.413595][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 182.413596][ C0] ? rcu_is_watching+0x16/0xd0 [ 182.413598][ C0] handle_softirqs+0x1d3/0x900 [ 182.413599][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 182.413601][ C0] ? _local_bh_enable+0xc0/0xc0 [ 182.413603][ C0] __irq_exit_rcu+0x145/0x1c0 [ 182.413604][ C0] irq_exit_rcu+0xe/0x30 [ 182.413605][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 182.413607][ C0] [ 182.413607][ C0] [ 182.413608][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 182.413609][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 182.413610][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 182.413612][ 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 [ 182.413613][ C0] RSP: 0018:ffffffff8e807cf8 EFLAGS: 00000296 [ 182.413614][ C0] RAX: 000000000093f0d7 RBX: ffffffff8e840600 RCX: ffffffff8b6f3307 [ 182.413615][ C0] RDX: ffffffff8e840600 RSI: ffffffff8e657571 RDI: ffffffff8e08d8e0 [ 182.413616][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 182.413617][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff1d00fa2 [ 182.413617][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 182.413619][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 182.413621][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 182.413622][ C0] default_idle+0x9/0x10 [ 182.413624][ C0] default_idle_call+0x6e/0xb0 [ 182.413626][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 182.413627][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 182.413629][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 182.413630][ C0] ? rcu_is_watching+0x16/0xd0 [ 182.413632][ C0] do_idle+0xd8/0x190 [ 182.413634][ C0] cpu_startup_entry+0x53/0x70 [ 182.413635][ C0] rest_init+0x279/0x280 [ 182.413637][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 182.413639][ C0] ? rest_init+0x280/0x280 [ 182.413641][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 182.413643][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 182.413645][ C0] ? acpi_enable+0x1e4/0x330 [ 182.413646][ C0] start_kernel+0x3af/0x3b0 [ 182.413648][ C0] x86_64_start_reservations+0x24/0x30 [ 182.413649][ C0] x86_64_start_kernel+0x12b/0x130 [ 182.413651][ C0] common_startup_64+0x13e/0x148 [ 182.413654][ C0] [ 727.642091][T19099] ip (19099) used greatest stack depth: 23744 bytes left [ 727.642107][T19099] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 727.642110][T19099] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 19099, name: ip [ 727.642112][T19099] preempt_count: 2, expected: 0 [ 727.642113][T19099] RCU nest depth: 0, expected: 0 [ 727.642115][T19099] INFO: lockdep is turned off. [ 727.642117][T19099] irq event stamp: 0 [ 727.642118][T19099] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 727.642123][T19099] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 727.642130][T19099] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 727.642133][T19099] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 727.642135][T19099] Preemption disabled at: [ 727.642136][T19099] [<0000000000000000>] 0x0 [ 727.642142][T19099] CPU: 2 UID: 0 PID: 19099 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 727.642147][T19099] Tainted: [W]=WARN [ 727.642148][T19099] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 727.642150][T19099] Call Trace: [ 727.642153][T19099] [ 727.642154][T19099] dump_stack_lvl+0x6f/0xa0 [ 727.642161][T19099] __might_resched.cold+0x1fe/0x2c1 [ 727.642166][T19099] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 727.642170][T19099] ? __asan_memcpy+0x3c/0x60 [ 727.642174][T19099] ? rcu_is_watching+0x16/0xd0 [ 727.642179][T19099] __kmalloc_noprof+0x443/0x760 [ 727.642187][T19099] ? __rwlock_init+0x150/0x150 [ 727.642190][T19099] ? alloc_buf.isra.0+0x4b/0x260 [ 727.642196][T19099] ? do_raw_spin_unlock+0x59/0x250 [ 727.642199][T19099] alloc_buf.isra.0+0x4b/0x260 [ 727.642202][T19099] put_chars+0x1e1/0x2f0 [ 727.642206][T19099] ? __send_to_port+0x420/0x420 [ 727.642209][T19099] ? console_prepend_replay+0x20/0x20 [ 727.642213][T19099] hvc_console_print+0x292/0x780 [ 727.642219][T19099] ? hvc_write+0x3a0/0x3a0 [ 727.642222][T19099] ? rcu_is_watching+0x16/0xd0 [ 727.642225][T19099] ? lock_acquire+0x13c/0x160 [ 727.642228][T19099] console_emit_next_record+0x22f/0x4c0 [ 727.642231][T19099] ? devkmsg_read+0x4b0/0x4b0 [ 727.642234][T19099] ? rcu_is_watching+0x16/0xd0 [ 727.642236][T19099] ? rcu_is_watching+0x16/0xd0 [ 727.642238][T19099] ? rcu_is_watching+0x16/0xd0 [ 727.642240][T19099] ? lock_acquire+0x13c/0x160 [ 727.642243][T19099] ? console_flush_one_record+0x111/0x710 [ 727.642245][T19099] console_flush_one_record+0x46f/0x710 [ 727.642249][T19099] ? console_emit_next_record+0x4c0/0x4c0 [ 727.642253][T19099] console_unlock+0xee/0x1f0 [ 727.642255][T19099] ? lock_acquire+0x13c/0x160 [ 727.642257][T19099] ? console_flush_one_record+0x710/0x710 [ 727.642259][T19099] ? rcu_is_watching+0x16/0xd0 [ 727.642262][T19099] ? lock_release+0x184/0x1f0 [ 727.642264][T19099] ? lock_acquire+0x60/0x160 [ 727.642266][T19099] ? __rcu_read_lock+0x30/0x70 [ 727.642268][T19099] ? __down_trylock_console_sem+0x5e/0xa0 [ 727.642271][T19099] ? vprintk_emit+0x320/0x3e0 [ 727.642274][T19099] vprintk_emit+0x37c/0x3e0 [ 727.642277][T19099] ? wake_up_klogd_work_func+0x90/0x90 [ 727.642280][T19099] ? do_raw_read_unlock+0x70/0x70 [ 727.642282][T19099] ? forget_original_parent+0x5c/0xdb0 [ 727.642286][T19099] _printk+0xc7/0x100 [ 727.642290][T19099] ? snapshot_read.cold+0x21/0x21 [ 727.642292][T19099] ? do_raw_spin_lock+0x131/0x280 [ 727.642295][T19099] ? do_raw_spin_lock+0x131/0x280 [ 727.642297][T19099] ? __rwlock_init+0x150/0x150 [ 727.642300][T19099] ? do_raw_spin_lock+0x131/0x280 [ 727.642303][T19099] do_exit.cold+0x82/0x9c [ 727.642307][T19099] ? exit_notify+0x890/0x890 [ 727.642309][T19099] ? posixtimer_sig_unignore.isra.0+0x5f0/0x5f0 [ 727.642313][T19099] ? rcu_is_watching+0x16/0xd0 [ 727.642316][T19099] do_group_exit+0xb8/0x370 [ 727.642319][T19099] __x64_sys_exit_group+0x3c/0x50 [ 727.642322][T19099] x64_sys_call+0x1567/0x1570 [ 727.642324][T19099] do_syscall_64+0xff/0x530 [ 727.642328][T19099] ? exc_page_fault+0xee/0x100 [ 727.642332][T19099] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 727.642334][T19099] RIP: 0033:0x7f69763bb1b8 [ 727.642337][T19099] Code: Unable to access opcode bytes at 0x7f69763bb18e. [ 727.642339][T19099] RSP: 002b:00007fffb557e148 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 727.642343][T19099] RAX: ffffffffffffffda RBX: 00007f69764ebf88 RCX: 00007f69763bb1b8 [ 727.642345][T19099] RDX: 00007f6976105fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 727.642347][T19099] RBP: 00007fffb557e1a0 R08: 0000000000000000 R09: 0000000000000000 [ 727.642348][T19099] R10: 00007fffb557df60 R11: 0000000000000246 R12: 0000000000000001 [ 727.642350][T19099] R13: 0000000000000000 R14: 00007f69764ea680 R15: 00007f69764ebfa0 [ 727.642353][T19099] [ 910.914347][T27777] pm_nl_ctl (27777) used greatest stack depth: 23192 bytes left [ 910.914362][T27777] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 910.914364][T27777] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 27777, name: pm_nl_ctl [ 910.914366][T27777] preempt_count: 2, expected: 0 [ 910.914367][T27777] RCU nest depth: 0, expected: 0 [ 910.914368][T27777] INFO: lockdep is turned off. [ 910.914369][T27777] irq event stamp: 0 [ 910.914369][T27777] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 910.914374][T27777] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 910.914380][T27777] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 910.914381][T27777] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 910.914383][T27777] Preemption disabled at: [ 910.914384][T27777] [<0000000000000000>] 0x0 [ 910.914388][T27777] CPU: 1 UID: 0 PID: 27777 Comm: pm_nl_ctl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 910.914391][T27777] Tainted: [W]=WARN [ 910.914392][T27777] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 910.914394][T27777] Call Trace: [ 910.914396][T27777] [ 910.914397][T27777] dump_stack_lvl+0x6f/0xa0 [ 910.914402][T27777] __might_resched.cold+0x1fe/0x2c1 [ 910.914406][T27777] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 910.914409][T27777] ? __asan_memcpy+0x3c/0x60 [ 910.914413][T27777] ? rcu_is_watching+0x16/0xd0 [ 910.914416][T27777] __kmalloc_noprof+0x443/0x760 [ 910.914419][T27777] ? __rwlock_init+0x150/0x150 [ 910.914421][T27777] ? alloc_buf.isra.0+0x4b/0x260 [ 910.914426][T27777] ? do_raw_spin_unlock+0x59/0x250 [ 910.914427][T27777] alloc_buf.isra.0+0x4b/0x260 [ 910.914430][T27777] put_chars+0x1e1/0x2f0 [ 910.914432][T27777] ? __send_to_port+0x420/0x420 [ 910.914434][T27777] ? console_prepend_replay+0x20/0x20 [ 910.914437][T27777] hvc_console_print+0x292/0x780 [ 910.914442][T27777] ? hvc_write+0x3a0/0x3a0 [ 910.914444][T27777] ? rcu_is_watching+0x16/0xd0 [ 910.914445][T27777] ? lock_acquire+0x13c/0x160 [ 910.914447][T27777] console_emit_next_record+0x22f/0x4c0 [ 910.914449][T27777] ? devkmsg_read+0x4b0/0x4b0 [ 910.914451][T27777] ? rcu_is_watching+0x16/0xd0 [ 910.914453][T27777] ? rcu_is_watching+0x16/0xd0 [ 910.914454][T27777] ? rcu_is_watching+0x16/0xd0 [ 910.914456][T27777] ? lock_acquire+0x13c/0x160 [ 910.914458][T27777] ? console_flush_one_record+0x111/0x710 [ 910.914459][T27777] console_flush_one_record+0x46f/0x710 [ 910.914461][T27777] ? console_emit_next_record+0x4c0/0x4c0 [ 910.914464][T27777] console_unlock+0xee/0x1f0 [ 910.914465][T27777] ? lock_acquire+0x13c/0x160 [ 910.914466][T27777] ? console_flush_one_record+0x710/0x710 [ 910.914468][T27777] ? rcu_is_watching+0x16/0xd0 [ 910.914469][T27777] ? lock_release+0x184/0x1f0 [ 910.914471][T27777] ? lock_acquire+0x60/0x160 [ 910.914472][T27777] ? __rcu_read_lock+0x30/0x70 [ 910.914474][T27777] ? __down_trylock_console_sem+0x5e/0xa0 [ 910.914475][T27777] ? vprintk_emit+0x320/0x3e0 [ 910.914477][T27777] vprintk_emit+0x37c/0x3e0 [ 910.914479][T27777] ? wake_up_klogd_work_func+0x90/0x90 [ 910.914481][T27777] ? preempt_schedule_thunk+0x16/0x30 [ 910.914483][T27777] ? preempt_schedule_thunk+0x16/0x30 [ 910.914485][T27777] _printk+0xc7/0x100 [ 910.914488][T27777] ? snapshot_read.cold+0x21/0x21 [ 910.914489][T27777] ? do_raw_spin_lock+0x131/0x280 [ 910.914491][T27777] ? do_raw_spin_lock+0x131/0x280 [ 910.914492][T27777] ? __rwlock_init+0x150/0x150 [ 910.914494][T27777] ? do_raw_spin_lock+0x131/0x280 [ 910.914496][T27777] do_exit.cold+0x82/0x9c [ 910.914499][T27777] ? exit_notify+0x890/0x890 [ 910.914501][T27777] ? posixtimer_sig_unignore.isra.0+0x5f0/0x5f0 [ 910.914504][T27777] ? rcu_is_watching+0x16/0xd0 [ 910.914506][T27777] do_group_exit+0xb8/0x370 [ 910.914508][T27777] __x64_sys_exit_group+0x3c/0x50 [ 910.914510][T27777] x64_sys_call+0x1567/0x1570 [ 910.914511][T27777] do_syscall_64+0xff/0x530 [ 910.914515][T27777] ? exc_page_fault+0xee/0x100 [ 910.914517][T27777] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 910.914519][T27777] RIP: 0033:0x7fcc776851b8 [ 910.914521][T27777] Code: Unable to access opcode bytes at 0x7fcc7768518e. [ 910.914522][T27777] RSP: 002b:00007fffe04ef498 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 910.914526][T27777] RAX: ffffffffffffffda RBX: 00007fcc777b5f88 RCX: 00007fcc776851b8 [ 910.914527][T27777] RDX: 00007fcc775c2a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 910.914528][T27777] RBP: 00007fffe04ef4f0 R08: 0000000000000000 R09: 0000000000000000 [ 910.914529][T27777] R10: 00007fffe04ef330 R11: 0000000000000246 R12: 0000000000000001 [ 910.914530][T27777] R13: 0000000000000000 R14: 00007fcc777b4680 R15: 00007fcc777b5fa0 [ 910.914532][T27777]