[ 30.629639][ T1089] ip (1089) used greatest stack depth: 23632 bytes left [ 30.629653][ T1089] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.629655][ T1089] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1089, name: ip [ 30.629657][ T1089] preempt_count: 2, expected: 0 [ 30.629658][ T1089] RCU nest depth: 0, expected: 0 [ 30.629659][ T1089] locks held by ip/1089: 5, last CPU#1: [ 30.629661][ T1089] #0: ffffffffb76167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 30.629671][ T1089] #1: ffffffffb777ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.629676][ T1089] #2: ffffffffb777de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.629680][ T1089] #3: ffffffffb769d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.629684][ T1089] #4: ffffffffb769d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 30.629688][ T1089] irq event stamp: 38808 [ 30.629689][ T1089] hardirqs last enabled at (38807): [] __down_trylock_console_sem+0x86/0xa0 [ 30.629692][ T1089] hardirqs last disabled at (38808): [] console_emit_next_record+0x3d4/0x4c0 [ 30.629694][ T1089] softirqs last enabled at (38302): [] handle_softirqs+0x67c/0x900 [ 30.629696][ T1089] softirqs last disabled at (38297): [] __irq_exit_rcu+0x145/0x1c0 [ 30.629699][ T1089] Preemption disabled at: [ 30.629699][ T1089] [<0000000000000000>] 0x0 [ 30.629706][ T1089] CPU: 1 UID: 0 PID: 1089 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.629709][ T1089] Tainted: [W]=WARN [ 30.629710][ T1089] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.629711][ T1089] Call Trace: [ 30.629713][ T1089] [ 30.629714][ T1089] dump_stack_lvl+0x6f/0xa0 [ 30.629721][ T1089] __might_resched.cold+0x1fe/0x2c1 [ 30.629725][ T1089] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.629729][ T1089] ? __kmalloc_noprof+0xdb/0x760 [ 30.629733][ T1089] __kmalloc_noprof+0x443/0x760 [ 30.629735][ T1089] ? alloc_buf.isra.0+0x4b/0x260 [ 30.629742][ T1089] ? do_raw_spin_unlock+0x59/0x250 [ 30.629745][ T1089] alloc_buf.isra.0+0x4b/0x260 [ 30.629748][ T1089] put_chars+0x1e1/0x2f0 [ 30.629751][ T1089] ? __send_to_port+0x420/0x420 [ 30.629752][ T1089] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 30.629755][ T1089] ? validate_chain+0x38b/0xc20 [ 30.629761][ T1089] hvc_console_print+0x292/0x780 [ 30.629768][ T1089] ? hvc_write+0x3a0/0x3a0 [ 30.629771][ T1089] ? rcu_is_watching+0x16/0xd0 [ 30.629773][ T1089] ? lock_acquire+0x13c/0x160 [ 30.629777][ T1089] console_emit_next_record+0x22f/0x4c0 [ 30.629780][ T1089] ? devkmsg_read+0x4b0/0x4b0 [ 30.629782][ T1089] ? console_flush_one_record+0x106/0x710 [ 30.629785][ T1089] ? rcu_is_watching+0x16/0xd0 [ 30.629787][ T1089] ? lock_acquire+0x13c/0x160 [ 30.629791][ T1089] console_flush_one_record+0x46f/0x710 [ 30.629795][ T1089] ? console_emit_next_record+0x4c0/0x4c0 [ 30.629797][ T1089] ? __lock_acquire+0x518/0xc20 [ 30.629802][ T1089] console_unlock+0xee/0x1f0 [ 30.629805][ T1089] ? console_flush_one_record+0x710/0x710 [ 30.629807][ T1089] ? rcu_is_watching+0x16/0xd0 [ 30.629809][ T1089] ? lock_acquire+0xe0/0x160 [ 30.629812][ T1089] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.629814][ T1089] ? vprintk_emit+0x320/0x3e0 [ 30.629817][ T1089] vprintk_emit+0x37c/0x3e0 [ 30.629820][ T1089] ? wake_up_klogd_work_func+0x90/0x90 [ 30.629823][ T1089] ? __lock_acquire+0x518/0xc20 [ 30.629826][ T1089] _printk+0xc7/0x100 [ 30.629830][ T1089] ? snapshot_read.cold+0x21/0x21 [ 30.629833][ T1089] ? do_raw_spin_lock+0x131/0x280 [ 30.629835][ T1089] ? __rwlock_init+0x150/0x150 [ 30.629839][ T1089] ? do_raw_spin_lock+0x131/0x280 [ 30.629842][ T1089] do_exit.cold+0x82/0x9c [ 30.629846][ T1089] ? exit_notify+0x890/0x890 [ 30.629847][ T1089] ? __lock_release.isra.0+0x69/0x1a0 [ 30.629854][ T1089] ? rcu_is_watching+0x16/0xd0 [ 30.629858][ T1089] do_group_exit+0xb8/0x370 [ 30.629861][ T1089] __x64_sys_exit_group+0x3c/0x50 [ 30.629863][ T1089] x64_sys_call+0x1567/0x1570 [ 30.629865][ T1089] do_syscall_64+0xff/0x530 [ 30.629869][ T1089] ? exc_page_fault+0xee/0x100 [ 30.629872][ T1089] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.629874][ T1089] RIP: 0033:0x7f81603be1b8 [ 30.629876][ T1089] Code: Unable to access opcode bytes at 0x7f81603be18e. [ 30.629877][ T1089] RSP: 002b:00007ffff8cb7f48 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 30.629880][ T1089] RAX: ffffffffffffffda RBX: 00007f81604eef88 RCX: 00007f81603be1b8 [ 30.629881][ T1089] RDX: 00007f8160108fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 30.629882][ T1089] RBP: 00007ffff8cb7fa0 R08: 0000000000000000 R09: 0000000000000000 [ 30.629883][ T1089] R10: 00007ffff8cb7d60 R11: 0000000000000246 R12: 0000000000000001 [ 30.629883][ T1089] R13: 0000000000000000 R14: 00007f81604ed680 R15: 00007f81604eefa0 [ 30.629890][ T1089]