[ 11.108244][ T205] ip (205) used greatest stack depth: 24592 bytes left [ 11.108265][ T205] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.108267][ T205] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 205, name: ip [ 11.108270][ T205] preempt_count: 2, expected: 0 [ 11.108271][ T205] RCU nest depth: 0, expected: 0 [ 11.108273][ T205] locks held by ip/205: 5, last CPU#2: [ 11.108276][ T205] #0: ffffffffbb2167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.108290][ T205] #1: ffffffffbb37ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.108297][ T205] #2: ffffffffbb37de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.108304][ T205] #3: ffffffffbb29d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.108310][ T205] #4: ffffffffbb29d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.108316][ T205] irq event stamp: 38498 [ 11.108318][ T205] hardirqs last enabled at (38497): [] __down_trylock_console_sem+0x86/0xa0 [ 11.108322][ T205] hardirqs last disabled at (38498): [] console_emit_next_record+0x3d4/0x4c0 [ 11.108325][ T205] softirqs last enabled at (37846): [] handle_softirqs+0x67c/0x900 [ 11.108328][ T205] softirqs last disabled at (36847): [] __irq_exit_rcu+0x145/0x1c0 [ 11.108332][ T205] Preemption disabled at: [ 11.108333][ T205] [<0000000000000000>] 0x0 [ 11.108342][ T205] CPU: 2 UID: 0 PID: 205 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.108347][ T205] Tainted: [W]=WARN [ 11.108349][ T205] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.108351][ T205] Call Trace: [ 11.108353][ T205] [ 11.108355][ T205] dump_stack_lvl+0x6f/0xa0 [ 11.108364][ T205] __might_resched.cold+0x1fe/0x2c1 [ 11.108370][ T205] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.108376][ T205] ? __kmalloc_noprof+0xdb/0x760 [ 11.108382][ T205] __kmalloc_noprof+0x443/0x760 [ 11.108386][ T205] ? alloc_buf.isra.0+0x4b/0x260 [ 11.108396][ T205] ? do_raw_spin_unlock+0x59/0x250 [ 11.108399][ T205] alloc_buf.isra.0+0x4b/0x260 [ 11.108405][ T205] put_chars+0x1e1/0x2f0 [ 11.108409][ T205] ? __send_to_port+0x420/0x420 [ 11.108411][ T205] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.108417][ T205] ? validate_chain+0x38b/0xc20 [ 11.108426][ T205] hvc_console_print+0x292/0x780 [ 11.108439][ T205] ? hvc_write+0x3a0/0x3a0 [ 11.108443][ T205] ? rcu_is_watching+0x16/0xd0 [ 11.108446][ T205] ? lock_acquire+0x13c/0x160 [ 11.108453][ T205] console_emit_next_record+0x22f/0x4c0 [ 11.108460][ T205] ? devkmsg_read+0x4b0/0x4b0 [ 11.108463][ T205] ? console_flush_one_record+0x106/0x710 [ 11.108468][ T205] ? rcu_is_watching+0x16/0xd0 [ 11.108471][ T205] ? lock_acquire+0x13c/0x160 [ 11.108478][ T205] console_flush_one_record+0x46f/0x710 [ 11.108485][ T205] ? console_emit_next_record+0x4c0/0x4c0 [ 11.108488][ T205] ? __lock_acquire+0x518/0xc20 [ 11.108497][ T205] console_unlock+0xee/0x1f0 [ 11.108502][ T205] ? console_flush_one_record+0x710/0x710 [ 11.108504][ T205] ? rcu_is_watching+0x16/0xd0 [ 11.108507][ T205] ? lock_acquire+0xe0/0x160 [ 11.108514][ T205] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.108516][ T205] ? vprintk_emit+0x320/0x3e0 [ 11.108521][ T205] vprintk_emit+0x37c/0x3e0 [ 11.108526][ T205] ? wake_up_klogd_work_func+0x90/0x90 [ 11.108531][ T205] ? __lock_acquire+0x518/0xc20 [ 11.108537][ T205] _printk+0xc7/0x100 [ 11.108542][ T205] ? snapshot_read.cold+0x21/0x21 [ 11.108546][ T205] ? do_raw_spin_lock+0x131/0x280 [ 11.108551][ T205] ? __rwlock_init+0x150/0x150 [ 11.108557][ T205] ? do_raw_spin_lock+0x131/0x280 [ 11.108562][ T205] do_exit.cold+0x82/0x9c [ 11.108567][ T205] ? exit_notify+0x890/0x890 [ 11.108569][ T205] ? __lock_release.isra.0+0x69/0x1a0 [ 11.108574][ T205] ? rcu_is_watching+0x16/0xd0 [ 11.108580][ T205] do_group_exit+0xb8/0x370 [ 11.108585][ T205] __x64_sys_exit_group+0x3c/0x50 [ 11.108589][ T205] x64_sys_call+0x1567/0x1570 [ 11.108592][ T205] do_syscall_64+0xff/0x530 [ 11.108597][ T205] ? exc_page_fault+0xee/0x100 [ 11.108601][ T205] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.108605][ T205] RIP: 0033:0x7f01f85cf1b8 [ 11.108608][ T205] Code: Unable to access opcode bytes at 0x7f01f85cf18e. [ 11.108610][ T205] RSP: 002b:00007ffc6687c328 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.108613][ T205] RAX: ffffffffffffffda RBX: 00007f01f86fff88 RCX: 00007f01f85cf1b8 [ 11.108615][ T205] RDX: 00007f01f8319fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.108617][ T205] RBP: 00007ffc6687c380 R08: 0000000000000000 R09: 0000000000000000 [ 11.108618][ T205] R10: 00007ffc6687c140 R11: 0000000000000246 R12: 0000000000000001 [ 11.108620][ T205] R13: 0000000000000000 R14: 00007f01f86fe680 R15: 00007f01f86fffa0 [ 11.108633][ T205] [ 11.366152][ T209] ip (209) used greatest stack depth: 24160 bytes left