[ 10.997301][ T178] ip (178) used greatest stack depth: 24480 bytes left [ 10.997324][ T178] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.997327][ T178] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 178, name: ip [ 10.997330][ T178] preempt_count: 2, expected: 0 [ 10.997331][ T178] RCU nest depth: 0, expected: 0 [ 10.997333][ T178] locks held by ip/178: 5, last CPU#3: [ 10.997336][ T178] #0: ffffffffb40267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.997351][ T178] #1: ffffffffb418dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.997359][ T178] #2: ffffffffb418dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.997365][ T178] #3: ffffffffb40ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.997371][ T178] #4: ffffffffb40ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.997377][ T178] irq event stamp: 29300 [ 10.997379][ T178] hardirqs last enabled at (29299): [] __down_trylock_console_sem+0x86/0xa0 [ 10.997382][ T178] hardirqs last disabled at (29300): [] console_emit_next_record+0x3d4/0x4c0 [ 10.997385][ T178] softirqs last enabled at (28822): [] handle_softirqs+0x67c/0x900 [ 10.997388][ T178] softirqs last disabled at (28593): [] __irq_exit_rcu+0x145/0x1c0 [ 10.997391][ T178] Preemption disabled at: [ 10.997392][ T178] [<0000000000000000>] 0x0 [ 10.997400][ T178] CPU: 3 UID: 0 PID: 178 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.997405][ T178] Tainted: [W]=WARN [ 10.997406][ T178] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.997408][ T178] Call Trace: [ 10.997410][ T178] [ 10.997413][ T178] dump_stack_lvl+0x6f/0xa0 [ 10.997421][ T178] __might_resched.cold+0x1fe/0x2c1 [ 10.997427][ T178] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.997433][ T178] ? __kmalloc_noprof+0xdb/0x760 [ 10.997440][ T178] __kmalloc_noprof+0x443/0x760 [ 10.997443][ T178] ? alloc_buf.isra.0+0x4b/0x260 [ 10.997458][ T178] ? do_raw_spin_unlock+0x59/0x250 [ 10.997462][ T178] alloc_buf.isra.0+0x4b/0x260 [ 10.997468][ T178] put_chars+0x1e1/0x2f0 [ 10.997472][ T178] ? __send_to_port+0x420/0x420 [ 10.997475][ T178] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.997482][ T178] ? validate_chain+0x38b/0xc20 [ 10.997492][ T178] hvc_console_print+0x292/0x780 [ 10.997504][ T178] ? hvc_write+0x3a0/0x3a0 [ 10.997508][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.997512][ T178] ? lock_acquire+0x13c/0x160 [ 10.997519][ T178] console_emit_next_record+0x22f/0x4c0 [ 10.997525][ T178] ? devkmsg_read+0x4b0/0x4b0 [ 10.997527][ T178] ? console_flush_one_record+0x106/0x710 [ 10.997533][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.997536][ T178] ? lock_acquire+0x13c/0x160 [ 10.997543][ T178] console_flush_one_record+0x46f/0x710 [ 10.997550][ T178] ? console_emit_next_record+0x4c0/0x4c0 [ 10.997553][ T178] ? __lock_acquire+0x518/0xc20 [ 10.997563][ T178] console_unlock+0xee/0x1f0 [ 10.997567][ T178] ? console_flush_one_record+0x710/0x710 [ 10.997569][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.997573][ T178] ? lock_acquire+0x60/0x160 [ 10.997579][ T178] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.997582][ T178] ? vprintk_emit+0x320/0x3e0 [ 10.997588][ T178] vprintk_emit+0x37c/0x3e0 [ 10.997594][ T178] ? wake_up_klogd_work_func+0x90/0x90 [ 10.997599][ T178] ? __lock_acquire+0x518/0xc20 [ 10.997606][ T178] _printk+0xc7/0x100 [ 10.997611][ T178] ? snapshot_read.cold+0x21/0x21 [ 10.997616][ T178] ? do_raw_spin_lock+0x131/0x280 [ 10.997620][ T178] ? __rwlock_init+0x150/0x150 [ 10.997626][ T178] ? do_raw_spin_lock+0x131/0x280 [ 10.997631][ T178] do_exit.cold+0x82/0x9c [ 10.997636][ T178] ? exit_notify+0x890/0x890 [ 10.997639][ T178] ? __lock_release.isra.0+0x69/0x1a0 [ 10.997644][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.997651][ T178] do_group_exit+0xb8/0x370 [ 10.997657][ T178] __x64_sys_exit_group+0x3c/0x50 [ 10.997661][ T178] x64_sys_call+0x1567/0x1570 [ 10.997663][ T178] do_syscall_64+0xff/0x530 [ 10.997668][ T178] ? exc_page_fault+0xee/0x100 [ 10.997673][ T178] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.997677][ T178] RIP: 0033:0x7f86b1d6e1b8 [ 10.997680][ T178] Code: Unable to access opcode bytes at 0x7f86b1d6e18e. [ 10.997682][ T178] RSP: 002b:00007ffd703f31f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.997685][ T178] RAX: ffffffffffffffda RBX: 00007f86b1e9ef88 RCX: 00007f86b1d6e1b8 [ 10.997687][ T178] RDX: 00007f86b1ab8fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.997689][ T178] RBP: 00007ffd703f3250 R08: 0000000000000000 R09: 0000000000000050 [ 10.997690][ T178] R10: 00007ffd703f3010 R11: 0000000000000246 R12: 0000000000000001 [ 10.997692][ T178] R13: 0000000000000000 R14: 00007f86b1e9d680 R15: 00007f86b1e9efa0 [ 10.997705][ T178] [ 21.405527][ T415] pm_nl_ctl (415) used greatest stack depth: 23952 bytes left [ 21.405549][ T415] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 21.405552][ T415] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 415, name: pm_nl_ctl [ 21.405554][ T415] preempt_count: 2, expected: 0 [ 21.405555][ T415] RCU nest depth: 0, expected: 0 [ 21.405557][ T415] locks held by pm_nl_ctl/415: 5, last CPU#2: [ 21.405560][ T415] #0: ffffffffb40267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 21.405575][ T415] #1: ffffffffb418dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 21.405582][ T415] #2: ffffffffb418dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 21.405588][ T415] #3: ffffffffb40ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 21.405594][ T415] #4: ffffffffb40ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 21.405600][ T415] irq event stamp: 28122 [ 21.405601][ T415] hardirqs last enabled at (28121): [] __down_trylock_console_sem+0x86/0xa0 [ 21.405604][ T415] hardirqs last disabled at (28122): [] console_emit_next_record+0x3d4/0x4c0 [ 21.405607][ T415] softirqs last enabled at (27382): [] netlink_release+0x17b/0xcf0 [ 21.405612][ T415] softirqs last disabled at (27380): [] netlink_release+0xd2/0xcf0 [ 21.405616][ T415] Preemption disabled at: [ 21.405617][ T415] [<0000000000000000>] 0x0 [ 21.405625][ T415] CPU: 2 UID: 0 PID: 415 Comm: pm_nl_ctl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 21.405630][ T415] Tainted: [W]=WARN [ 21.405631][ T415] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.405633][ T415] Call Trace: [ 21.405635][ T415] [ 21.405638][ T415] dump_stack_lvl+0x6f/0xa0 [ 21.405646][ T415] __might_resched.cold+0x1fe/0x2c1 [ 21.405652][ T415] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 21.405657][ T415] ? __kmalloc_noprof+0xdb/0x760 [ 21.405664][ T415] __kmalloc_noprof+0x443/0x760 [ 21.405668][ T415] ? alloc_buf.isra.0+0x4b/0x260 [ 21.405677][ T415] ? do_raw_spin_unlock+0x59/0x250 [ 21.405680][ T415] alloc_buf.isra.0+0x4b/0x260 [ 21.405686][ T415] put_chars+0x1e1/0x2f0 [ 21.405690][ T415] ? __send_to_port+0x420/0x420 [ 21.405693][ T415] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 21.405699][ T415] ? validate_chain+0x38b/0xc20 [ 21.405708][ T415] hvc_console_print+0x292/0x780 [ 21.405719][ T415] ? hvc_write+0x3a0/0x3a0 [ 21.405723][ T415] ? rcu_is_watching+0x16/0xd0 [ 21.405727][ T415] ? lock_acquire+0x13c/0x160 [ 21.405734][ T415] console_emit_next_record+0x22f/0x4c0 [ 21.405740][ T415] ? devkmsg_read+0x4b0/0x4b0 [ 21.405742][ T415] ? console_flush_one_record+0x106/0x710 [ 21.405747][ T415] ? rcu_is_watching+0x16/0xd0 [ 21.405751][ T415] ? lock_acquire+0x13c/0x160 [ 21.405757][ T415] console_flush_one_record+0x46f/0x710 [ 21.405764][ T415] ? console_emit_next_record+0x4c0/0x4c0 [ 21.405767][ T415] ? __lock_acquire+0x518/0xc20 [ 21.405776][ T415] console_unlock+0xee/0x1f0 [ 21.405780][ T415] ? console_flush_one_record+0x710/0x710 [ 21.405782][ T415] ? rcu_is_watching+0x16/0xd0 [ 21.405786][ T415] ? lock_acquire+0x60/0x160 [ 21.405792][ T415] ? __down_trylock_console_sem+0x5e/0xa0 [ 21.405794][ T415] ? vprintk_emit+0x320/0x3e0 [ 21.405799][ T415] vprintk_emit+0x37c/0x3e0 [ 21.405805][ T415] ? wake_up_klogd_work_func+0x90/0x90 [ 21.405811][ T415] ? __lock_acquire+0x518/0xc20 [ 21.405817][ T415] _printk+0xc7/0x100 [ 21.405822][ T415] ? snapshot_read.cold+0x21/0x21 [ 21.405827][ T415] ? do_raw_spin_lock+0x131/0x280 [ 21.405831][ T415] ? __rwlock_init+0x150/0x150 [ 21.405837][ T415] ? do_raw_spin_lock+0x131/0x280 [ 21.405841][ T415] do_exit.cold+0x82/0x9c [ 21.405846][ T415] ? exit_notify+0x890/0x890 [ 21.405850][ T415] ? __lock_release.isra.0+0x69/0x1a0 [ 21.405856][ T415] ? rcu_is_watching+0x16/0xd0 [ 21.405863][ T415] do_group_exit+0xb8/0x370 [ 21.405869][ T415] __x64_sys_exit_group+0x3c/0x50 [ 21.405872][ T415] x64_sys_call+0x1567/0x1570 [ 21.405875][ T415] do_syscall_64+0xff/0x530 [ 21.405880][ T415] ? exc_page_fault+0xee/0x100 [ 21.405885][ T415] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.405888][ T415] RIP: 0033:0x7f059aa711b8 [ 21.405891][ T415] Code: Unable to access opcode bytes at 0x7f059aa7118e. [ 21.405893][ T415] RSP: 002b:00007ffe1b8d7718 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 21.405897][ T415] RAX: ffffffffffffffda RBX: 00007f059aba1f88 RCX: 00007f059aa711b8 [ 21.405898][ T415] RDX: 00007f059a9aea48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 21.405900][ T415] RBP: 00007ffe1b8d7770 R08: 0000000000000000 R09: 0000000000000000 [ 21.405902][ T415] R10: 00007ffe1b8d75b0 R11: 0000000000000246 R12: 0000000000000001 [ 21.405903][ T415] R13: 0000000000000000 R14: 00007f059aba0680 R15: 00007f059aba1fa0 [ 21.405915][ T415]