[ 26.557542][ T701] pm_nl_ctl (701) used greatest stack depth: 23680 bytes left [ 26.557563][ T701] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.557566][ T701] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 701, name: pm_nl_ctl [ 26.557568][ T701] preempt_count: 2, expected: 0 [ 26.557570][ T701] RCU nest depth: 0, expected: 0 [ 26.557571][ T701] locks held by pm_nl_ctl/701: 5, last CPU#1: [ 26.557573][ T701] #0: ffffffffae0267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 26.557592][ T701] #1: ffffffffae18dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.557605][ T701] #2: ffffffffae18dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.557613][ T701] #3: ffffffffae0ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.557623][ T701] #4: ffffffffae0ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 26.557631][ T701] irq event stamp: 34636 [ 26.557632][ T701] hardirqs last enabled at (34635): [] __down_trylock_console_sem+0x86/0xa0 [ 26.557636][ T701] hardirqs last disabled at (34636): [] console_emit_next_record+0x3d4/0x4c0 [ 26.557639][ T701] softirqs last enabled at (33976): [] netlink_release+0x17b/0xcf0 [ 26.557644][ T701] softirqs last disabled at (33974): [] netlink_release+0xd2/0xcf0 [ 26.557647][ T701] Preemption disabled at: [ 26.557648][ T701] [<0000000000000000>] 0x0 [ 26.557657][ T701] CPU: 1 UID: 0 PID: 701 Comm: pm_nl_ctl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.557662][ T701] Tainted: [W]=WARN [ 26.557663][ T701] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.557665][ T701] Call Trace: [ 26.557668][ T701] [ 26.557671][ T701] dump_stack_lvl+0x6f/0xa0 [ 26.557679][ T701] __might_resched.cold+0x1fe/0x2c1 [ 26.557685][ T701] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.557690][ T701] ? __kmalloc_noprof+0xdb/0x760 [ 26.557697][ T701] __kmalloc_noprof+0x443/0x760 [ 26.557700][ T701] ? alloc_buf.isra.0+0x4b/0x260 [ 26.557708][ T701] ? do_raw_spin_unlock+0x59/0x250 [ 26.557712][ T701] alloc_buf.isra.0+0x4b/0x260 [ 26.557717][ T701] put_chars+0x1e1/0x2f0 [ 26.557723][ T701] ? __send_to_port+0x420/0x420 [ 26.557729][ T701] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.557741][ T701] ? validate_chain+0x38b/0xc20 [ 26.557752][ T701] hvc_console_print+0x292/0x780 [ 26.557766][ T701] ? hvc_write+0x3a0/0x3a0 [ 26.557771][ T701] ? rcu_is_watching+0x16/0xd0 [ 26.557774][ T701] ? lock_acquire+0x13c/0x160 [ 26.557780][ T701] console_emit_next_record+0x22f/0x4c0 [ 26.557786][ T701] ? devkmsg_read+0x4b0/0x4b0 [ 26.557788][ T701] ? console_flush_one_record+0x106/0x710 [ 26.557797][ T701] ? rcu_is_watching+0x16/0xd0 [ 26.557800][ T701] ? lock_acquire+0x13c/0x160 [ 26.557806][ T701] console_flush_one_record+0x46f/0x710 [ 26.557813][ T701] ? console_emit_next_record+0x4c0/0x4c0 [ 26.557815][ T701] ? __lock_acquire+0x518/0xc20 [ 26.557823][ T701] console_unlock+0xee/0x1f0 [ 26.557827][ T701] ? console_flush_one_record+0x710/0x710 [ 26.557830][ T701] ? rcu_is_watching+0x16/0xd0 [ 26.557833][ T701] ? lock_acquire+0x60/0x160 [ 26.557838][ T701] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.557840][ T701] ? vprintk_emit+0x320/0x3e0 [ 26.557845][ T701] vprintk_emit+0x37c/0x3e0 [ 26.557851][ T701] ? wake_up_klogd_work_func+0x90/0x90 [ 26.557856][ T701] ? __lock_acquire+0x518/0xc20 [ 26.557863][ T701] _printk+0xc7/0x100 [ 26.557873][ T701] ? snapshot_read.cold+0x21/0x21 [ 26.557881][ T701] ? do_raw_spin_lock+0x131/0x280 [ 26.557885][ T701] ? __rwlock_init+0x150/0x150 [ 26.557892][ T701] ? do_raw_spin_lock+0x131/0x280 [ 26.557899][ T701] do_exit.cold+0x82/0x9c [ 26.557905][ T701] ? exit_notify+0x890/0x890 [ 26.557908][ T701] ? __lock_release.isra.0+0x69/0x1a0 [ 26.557912][ T701] ? rcu_is_watching+0x16/0xd0 [ 26.557918][ T701] do_group_exit+0xb8/0x370 [ 26.557924][ T701] __x64_sys_exit_group+0x3c/0x50 [ 26.557927][ T701] x64_sys_call+0x1567/0x1570 [ 26.557930][ T701] do_syscall_64+0xff/0x530 [ 26.557934][ T701] ? exc_page_fault+0xee/0x100 [ 26.557940][ T701] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.557943][ T701] RIP: 0033:0x7f703aeda1b8 [ 26.557947][ T701] Code: Unable to access opcode bytes at 0x7f703aeda18e. [ 26.557949][ T701] RSP: 002b:00007ffe19541108 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 26.557953][ T701] RAX: ffffffffffffffda RBX: 00007f703b00af88 RCX: 00007f703aeda1b8 [ 26.557955][ T701] RDX: 00007f703ae17a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 26.557957][ T701] RBP: 00007ffe19541160 R08: 0000000000000000 R09: 0000000000000000 [ 26.557958][ T701] R10: 00007ffe19540fa0 R11: 0000000000000246 R12: 0000000000000001 [ 26.557959][ T701] R13: 0000000000000000 R14: 00007f703b009680 R15: 00007f703b00afa0 [ 26.557971][ T701]