[ 11.122558][ T194] ip (194) used greatest stack depth: 23728 bytes left [ 11.122573][ T194] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.122575][ T194] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 194, name: ip [ 11.122577][ T194] preempt_count: 2, expected: 0 [ 11.122578][ T194] RCU nest depth: 0, expected: 0 [ 11.122579][ T194] locks held by ip/194: 5, last CPU#2: [ 11.122581][ T194] #0: ffffffff94a267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.122593][ T194] #1: ffffffff94b8dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.122598][ T194] #2: ffffffff94b8dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.122602][ T194] #3: ffffffff94aad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.122606][ T194] #4: ffffffff94aad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.122609][ T194] irq event stamp: 34784 [ 11.122610][ T194] hardirqs last enabled at (34783): [] __down_trylock_console_sem+0x86/0xa0 [ 11.122612][ T194] hardirqs last disabled at (34784): [] console_emit_next_record+0x3d4/0x4c0 [ 11.122614][ T194] softirqs last enabled at (34312): [] handle_softirqs+0x67c/0x900 [ 11.122616][ T194] softirqs last disabled at (34303): [] __irq_exit_rcu+0x145/0x1c0 [ 11.122618][ T194] Preemption disabled at: [ 11.122618][ T194] [<0000000000000000>] 0x0 [ 11.122625][ T194] CPU: 2 UID: 0 PID: 194 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.122628][ T194] Tainted: [W]=WARN [ 11.122629][ T194] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.122631][ T194] Call Trace: [ 11.122632][ T194] [ 11.122634][ T194] dump_stack_lvl+0x6f/0xa0 [ 11.122640][ T194] __might_resched.cold+0x1fe/0x2c1 [ 11.122644][ T194] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.122648][ T194] ? __kmalloc_noprof+0xdb/0x760 [ 11.122653][ T194] __kmalloc_noprof+0x443/0x760 [ 11.122655][ T194] ? alloc_buf.isra.0+0x4b/0x260 [ 11.122661][ T194] ? do_raw_spin_unlock+0x59/0x250 [ 11.122664][ T194] alloc_buf.isra.0+0x4b/0x260 [ 11.122667][ T194] put_chars+0x1e1/0x2f0 [ 11.122670][ T194] ? __send_to_port+0x420/0x420 [ 11.122672][ T194] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.122677][ T194] ? validate_chain+0x38b/0xc20 [ 11.122682][ T194] hvc_console_print+0x292/0x780 [ 11.122689][ T194] ? hvc_write+0x3a0/0x3a0 [ 11.122691][ T194] ? rcu_is_watching+0x16/0xd0 [ 11.122694][ T194] ? lock_acquire+0x13c/0x160 [ 11.122697][ T194] console_emit_next_record+0x22f/0x4c0 [ 11.122701][ T194] ? devkmsg_read+0x4b0/0x4b0 [ 11.122703][ T194] ? console_flush_one_record+0x106/0x710 [ 11.122708][ T194] ? rcu_is_watching+0x16/0xd0 [ 11.122710][ T194] ? lock_acquire+0x13c/0x160 [ 11.122714][ T194] console_flush_one_record+0x46f/0x710 [ 11.122718][ T194] ? console_emit_next_record+0x4c0/0x4c0 [ 11.122719][ T194] ? __lock_acquire+0x518/0xc20 [ 11.122725][ T194] console_unlock+0xee/0x1f0 [ 11.122727][ T194] ? console_flush_one_record+0x710/0x710 [ 11.122729][ T194] ? rcu_is_watching+0x16/0xd0 [ 11.122731][ T194] ? lock_acquire+0x60/0x160 [ 11.122734][ T194] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.122736][ T194] ? vprintk_emit+0x320/0x3e0 [ 11.122739][ T194] vprintk_emit+0x37c/0x3e0 [ 11.122742][ T194] ? wake_up_klogd_work_func+0x90/0x90 [ 11.122746][ T194] ? __lock_acquire+0x518/0xc20 [ 11.122749][ T194] _printk+0xc7/0x100 [ 11.122753][ T194] ? snapshot_read.cold+0x21/0x21 [ 11.122755][ T194] ? do_raw_spin_lock+0x131/0x280 [ 11.122758][ T194] ? __rwlock_init+0x150/0x150 [ 11.122761][ T194] ? do_raw_spin_lock+0x131/0x280 [ 11.122764][ T194] do_exit.cold+0x82/0x9c [ 11.122767][ T194] ? exit_notify+0x890/0x890 [ 11.122769][ T194] ? __lock_release.isra.0+0x69/0x1a0 [ 11.122772][ T194] ? rcu_is_watching+0x16/0xd0 [ 11.122776][ T194] do_group_exit+0xb8/0x370 [ 11.122779][ T194] __x64_sys_exit_group+0x3c/0x50 [ 11.122781][ T194] x64_sys_call+0x1567/0x1570 [ 11.122783][ T194] do_syscall_64+0xff/0x530 [ 11.122786][ T194] ? exc_page_fault+0xee/0x100 [ 11.122790][ T194] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.122792][ T194] RIP: 0033:0x7f610b9471b8 [ 11.122794][ T194] Code: Unable to access opcode bytes at 0x7f610b94718e. [ 11.122795][ T194] RSP: 002b:00007fff23108318 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.122798][ T194] RAX: ffffffffffffffda RBX: 00007f610ba77f88 RCX: 00007f610b9471b8 [ 11.122799][ T194] RDX: 00007f610b691fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.122800][ T194] RBP: 00007fff23108370 R08: 0000000000000000 R09: 0000000000000000 [ 11.122801][ T194] R10: 00007fff23108130 R11: 0000000000000246 R12: 0000000000000001 [ 11.122802][ T194] R13: 0000000000000000 R14: 00007f610ba76680 R15: 00007f610ba77fa0 [ 11.122808][ T194] [ 27.849947][ T700] pm_nl_ctl (700) used greatest stack depth: 23680 bytes left [ 27.849967][ T700] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 27.849969][ T700] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 700, name: pm_nl_ctl [ 27.849970][ T700] preempt_count: 2, expected: 0 [ 27.849971][ T700] RCU nest depth: 0, expected: 0 [ 27.849972][ T700] locks held by pm_nl_ctl/700: 5, last CPU#0: [ 27.849974][ T700] #0: ffffffff94a267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 27.849986][ T700] #1: ffffffff94b8dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 27.849992][ T700] #2: ffffffff94b8dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 27.849996][ T700] #3: ffffffff94aad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 27.849999][ T700] #4: ffffffff94aad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 27.850003][ T700] irq event stamp: 32618 [ 27.850004][ T700] hardirqs last enabled at (32617): [] __down_trylock_console_sem+0x86/0xa0 [ 27.850006][ T700] hardirqs last disabled at (32618): [] console_emit_next_record+0x3d4/0x4c0 [ 27.850008][ T700] softirqs last enabled at (31952): [] netlink_release+0x17b/0xcf0 [ 27.850012][ T700] softirqs last disabled at (31950): [] netlink_release+0xd2/0xcf0 [ 27.850015][ T700] Preemption disabled at: [ 27.850015][ T700] [<0000000000000000>] 0x0 [ 27.850022][ T700] CPU: 0 UID: 0 PID: 700 Comm: pm_nl_ctl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 27.850025][ T700] Tainted: [W]=WARN [ 27.850026][ T700] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 27.850028][ T700] Call Trace: [ 27.850029][ T700] [ 27.850030][ T700] dump_stack_lvl+0x6f/0xa0 [ 27.850036][ T700] __might_resched.cold+0x1fe/0x2c1 [ 27.850040][ T700] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 27.850044][ T700] ? __kmalloc_noprof+0xdb/0x760 [ 27.850048][ T700] __kmalloc_noprof+0x443/0x760 [ 27.850050][ T700] ? alloc_buf.isra.0+0x4b/0x260 [ 27.850056][ T700] ? do_raw_spin_unlock+0x59/0x250 [ 27.850059][ T700] alloc_buf.isra.0+0x4b/0x260 [ 27.850062][ T700] put_chars+0x1e1/0x2f0 [ 27.850065][ T700] ? __send_to_port+0x420/0x420 [ 27.850067][ T700] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 27.850072][ T700] ? validate_chain+0x38b/0xc20 [ 27.850077][ T700] hvc_console_print+0x292/0x780 [ 27.850084][ T700] ? hvc_write+0x3a0/0x3a0 [ 27.850087][ T700] ? rcu_is_watching+0x16/0xd0 [ 27.850089][ T700] ? lock_acquire+0x13c/0x160 [ 27.850093][ T700] console_emit_next_record+0x22f/0x4c0 [ 27.850097][ T700] ? devkmsg_read+0x4b0/0x4b0 [ 27.850099][ T700] ? console_flush_one_record+0x106/0x710 [ 27.850102][ T700] ? rcu_is_watching+0x16/0xd0 [ 27.850104][ T700] ? lock_acquire+0x13c/0x160 [ 27.850108][ T700] console_flush_one_record+0x46f/0x710 [ 27.850111][ T700] ? console_emit_next_record+0x4c0/0x4c0 [ 27.850113][ T700] ? __lock_acquire+0x518/0xc20 [ 27.850118][ T700] console_unlock+0xee/0x1f0 [ 27.850120][ T700] ? console_flush_one_record+0x710/0x710 [ 27.850122][ T700] ? rcu_is_watching+0x16/0xd0 [ 27.850124][ T700] ? lock_acquire+0x60/0x160 [ 27.850127][ T700] ? __down_trylock_console_sem+0x5e/0xa0 [ 27.850129][ T700] ? vprintk_emit+0x320/0x3e0 [ 27.850132][ T700] vprintk_emit+0x37c/0x3e0 [ 27.850135][ T700] ? wake_up_klogd_work_func+0x90/0x90 [ 27.850138][ T700] ? __lock_acquire+0x518/0xc20 [ 27.850142][ T700] _printk+0xc7/0x100 [ 27.850145][ T700] ? snapshot_read.cold+0x21/0x21 [ 27.850148][ T700] ? do_raw_spin_lock+0x131/0x280 [ 27.850150][ T700] ? __rwlock_init+0x150/0x150 [ 27.850154][ T700] ? do_raw_spin_lock+0x131/0x280 [ 27.850156][ T700] do_exit.cold+0x82/0x9c [ 27.850160][ T700] ? exit_notify+0x890/0x890 [ 27.850162][ T700] ? __lock_release.isra.0+0x69/0x1a0 [ 27.850164][ T700] ? rcu_is_watching+0x16/0xd0 [ 27.850168][ T700] do_group_exit+0xb8/0x370 [ 27.850171][ T700] __x64_sys_exit_group+0x3c/0x50 [ 27.850173][ T700] x64_sys_call+0x1567/0x1570 [ 27.850175][ T700] do_syscall_64+0xff/0x530 [ 27.850178][ T700] ? exc_page_fault+0xee/0x100 [ 27.850182][ T700] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.850184][ T700] RIP: 0033:0x7eff23a8f1b8 [ 27.850186][ T700] Code: Unable to access opcode bytes at 0x7eff23a8f18e. [ 27.850187][ T700] RSP: 002b:00007ffe9bb8a348 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 27.850189][ T700] RAX: ffffffffffffffda RBX: 00007eff23bbff88 RCX: 00007eff23a8f1b8 [ 27.850191][ T700] RDX: 00007eff239cca48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 27.850192][ T700] RBP: 00007ffe9bb8a3a0 R08: 0000000000000000 R09: 0000000000000000 [ 27.850192][ T700] R10: 00007ffe9bb8a1e0 R11: 0000000000000246 R12: 0000000000000001 [ 27.850193][ T700] R13: 0000000000000000 R14: 00007eff23bbe680 R15: 00007eff23bbffa0 [ 27.850200][ T700]