[ 12.633419][ T316] ip (316) used greatest stack depth: 24256 bytes left [ 12.633436][ T316] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.633438][ T316] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 316, name: ip [ 12.633440][ T316] preempt_count: 2, expected: 0 [ 12.633440][ T316] RCU nest depth: 0, expected: 0 [ 12.633442][ T316] locks held by ip/316: 5, last CPU#3: [ 12.633443][ T316] #0: ffffffffae8167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.633455][ T316] #1: ffffffffae97ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.633460][ T316] #2: ffffffffae97de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.633465][ T316] #3: ffffffffae89d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.633469][ T316] #4: ffffffffae89d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.633473][ T316] irq event stamp: 27736 [ 12.633473][ T316] hardirqs last enabled at (27735): [] __down_trylock_console_sem+0x86/0xa0 [ 12.633477][ T316] hardirqs last disabled at (27736): [] console_emit_next_record+0x3d4/0x4c0 [ 12.633479][ T316] softirqs last enabled at (27340): [] handle_softirqs+0x67c/0x900 [ 12.633481][ T316] softirqs last disabled at (27335): [] __irq_exit_rcu+0x145/0x1c0 [ 12.633484][ T316] Preemption disabled at: [ 12.633485][ T316] [<0000000000000000>] 0x0 [ 12.633491][ T316] CPU: 3 UID: 0 PID: 316 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.633494][ T316] Tainted: [W]=WARN [ 12.633495][ T316] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.633497][ T316] Call Trace: [ 12.633498][ T316] [ 12.633500][ T316] dump_stack_lvl+0x6f/0xa0 [ 12.633506][ T316] __might_resched.cold+0x1fe/0x2c1 [ 12.633511][ T316] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.633515][ T316] ? __kmalloc_noprof+0xdb/0x760 [ 12.633520][ T316] __kmalloc_noprof+0x443/0x760 [ 12.633522][ T316] ? alloc_buf.isra.0+0x4b/0x260 [ 12.633529][ T316] ? do_raw_spin_unlock+0x59/0x250 [ 12.633532][ T316] alloc_buf.isra.0+0x4b/0x260 [ 12.633536][ T316] put_chars+0x1e1/0x2f0 [ 12.633538][ T316] ? __send_to_port+0x420/0x420 [ 12.633539][ T316] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.633543][ T316] ? validate_chain+0x38b/0xc20 [ 12.633549][ T316] hvc_console_print+0x292/0x780 [ 12.633557][ T316] ? hvc_write+0x3a0/0x3a0 [ 12.633559][ T316] ? rcu_is_watching+0x16/0xd0 [ 12.633562][ T316] ? lock_acquire+0x13c/0x160 [ 12.633566][ T316] console_emit_next_record+0x22f/0x4c0 [ 12.633570][ T316] ? devkmsg_read+0x4b0/0x4b0 [ 12.633572][ T316] ? console_flush_one_record+0x106/0x710 [ 12.633575][ T316] ? rcu_is_watching+0x16/0xd0 [ 12.633577][ T316] ? lock_acquire+0x13c/0x160 [ 12.633581][ T316] console_flush_one_record+0x46f/0x710 [ 12.633585][ T316] ? console_emit_next_record+0x4c0/0x4c0 [ 12.633587][ T316] ? __lock_acquire+0x518/0xc20 [ 12.633593][ T316] console_unlock+0xee/0x1f0 [ 12.633596][ T316] ? console_flush_one_record+0x710/0x710 [ 12.633598][ T316] ? rcu_is_watching+0x16/0xd0 [ 12.633600][ T316] ? lock_acquire+0xe0/0x160 [ 12.633604][ T316] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.633605][ T316] ? vprintk_emit+0x320/0x3e0 [ 12.633608][ T316] vprintk_emit+0x37c/0x3e0 [ 12.633611][ T316] ? wake_up_klogd_work_func+0x90/0x90 [ 12.633614][ T316] ? __lock_acquire+0x518/0xc20 [ 12.633618][ T316] _printk+0xc7/0x100 [ 12.633622][ T316] ? snapshot_read.cold+0x21/0x21 [ 12.633625][ T316] ? do_raw_spin_lock+0x131/0x280 [ 12.633628][ T316] ? __rwlock_init+0x150/0x150 [ 12.633632][ T316] ? do_raw_spin_lock+0x131/0x280 [ 12.633635][ T316] do_exit.cold+0x82/0x9c [ 12.633639][ T316] ? exit_notify+0x890/0x890 [ 12.633640][ T316] ? __lock_release.isra.0+0x69/0x1a0 [ 12.633643][ T316] ? rcu_is_watching+0x16/0xd0 [ 12.633647][ T316] do_group_exit+0xb8/0x370 [ 12.633650][ T316] __x64_sys_exit_group+0x3c/0x50 [ 12.633652][ T316] x64_sys_call+0x1567/0x1570 [ 12.633654][ T316] do_syscall_64+0xff/0x530 [ 12.633658][ T316] ? exc_page_fault+0xee/0x100 [ 12.633662][ T316] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.633664][ T316] RIP: 0033:0x7f75a33631b8 [ 12.633666][ T316] Code: Unable to access opcode bytes at 0x7f75a336318e. [ 12.633667][ T316] RSP: 002b:00007ffc4fe77e78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.633670][ T316] RAX: ffffffffffffffda RBX: 00007f75a3493f88 RCX: 00007f75a33631b8 [ 12.633671][ T316] RDX: 00007f75a30adfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 12.633672][ T316] RBP: 00007ffc4fe77ed0 R08: 0000000000000000 R09: 0000000000000050 [ 12.633673][ T316] R10: 00007ffc4fe77c90 R11: 0000000000000246 R12: 0000000000000001 [ 12.633674][ T316] R13: 0000000000000000 R14: 00007f75a3492680 R15: 00007f75a3493fa0 [ 12.633681][ T316] [ 13.111664][ T333] ip (333) used greatest stack depth: 24232 bytes left