[ 230.913030][T10148] ip (10148) used greatest stack depth: 23312 bytes left [ 230.913048][T10148] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 230.913051][T10148] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10148, name: ip [ 230.913052][T10148] preempt_count: 2, expected: 0 [ 230.913053][T10148] RCU nest depth: 0, expected: 0 [ 230.913054][T10148] locks held by ip/10148: 5, last CPU#2: [ 230.913056][T10148] #0: ffffffffa6402f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 230.913068][T10148] #1: ffffffffa656a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 230.913074][T10148] #2: ffffffffa656a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 230.913077][T10148] #3: ffffffffa6489de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 230.913081][T10148] #4: ffffffffa6489ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 230.913084][T10148] irq event stamp: 21384 [ 230.913085][T10148] hardirqs last enabled at (21383): [] __down_trylock_console_sem+0x86/0xa0 [ 230.913089][T10148] hardirqs last disabled at (21384): [] console_emit_next_record+0x3d4/0x4c0 [ 230.913090][T10148] softirqs last enabled at (20102): [] netlink_release+0x17b/0xcf0 [ 230.913094][T10148] softirqs last disabled at (20100): [] netlink_release+0xd2/0xcf0 [ 230.913097][T10148] Preemption disabled at: [ 230.913097][T10148] [<0000000000000000>] 0x0 [ 230.913104][T10148] CPU: 2 UID: 0 PID: 10148 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 230.913107][T10148] Tainted: [W]=WARN [ 230.913108][T10148] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 230.913110][T10148] Call Trace: [ 230.913111][T10148] [ 230.913113][T10148] dump_stack_lvl+0x6f/0xa0 [ 230.913118][T10148] __might_resched.cold+0x1fe/0x2c1 [ 230.913123][T10148] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 230.913126][T10148] ? __kmalloc_noprof+0xdb/0x760 [ 230.913131][T10148] __kmalloc_noprof+0x443/0x760 [ 230.913134][T10148] ? alloc_buf.isra.0+0x4b/0x260 [ 230.913140][T10148] ? do_raw_spin_unlock+0x59/0x250 [ 230.913143][T10148] alloc_buf.isra.0+0x4b/0x260 [ 230.913146][T10148] put_chars+0x1e1/0x2f0 [ 230.913149][T10148] ? __send_to_port+0x420/0x420 [ 230.913155][T10148] hvc_console_print+0x292/0x780 [ 230.913162][T10148] ? hvc_write+0x3a0/0x3a0 [ 230.913165][T10148] ? lock_acquire+0x13c/0x160 [ 230.913170][T10148] console_emit_next_record+0x22f/0x4c0 [ 230.913173][T10148] ? devkmsg_read+0x4b0/0x4b0 [ 230.913174][T10148] ? console_flush_one_record+0x106/0x710 [ 230.913177][T10148] ? rcu_is_watching+0x16/0xd0 [ 230.913181][T10148] ? lock_acquire+0x13c/0x160 [ 230.913185][T10148] console_flush_one_record+0x46f/0x710 [ 230.913189][T10148] ? console_emit_next_record+0x4c0/0x4c0 [ 230.913190][T10148] ? __lock_acquire+0x518/0xc20 [ 230.913195][T10148] console_unlock+0xee/0x1f0 [ 230.913198][T10148] ? console_flush_one_record+0x710/0x710 [ 230.913199][T10148] ? rcu_is_watching+0x16/0xd0 [ 230.913201][T10148] ? lock_acquire+0x60/0x160 [ 230.913205][T10148] ? __down_trylock_console_sem+0x5e/0xa0 [ 230.913207][T10148] ? vprintk_emit+0x320/0x3e0 [ 230.913210][T10148] vprintk_emit+0x37c/0x3e0 [ 230.913213][T10148] ? wake_up_klogd_work_func+0x90/0x90 [ 230.913216][T10148] ? __lock_acquire+0x518/0xc20 [ 230.913220][T10148] _printk+0xc7/0x100 [ 230.913224][T10148] ? snapshot_read.cold+0x21/0x21 [ 230.913227][T10148] ? do_raw_spin_lock+0x131/0x280 [ 230.913229][T10148] ? __rwlock_init+0x150/0x150 [ 230.913234][T10148] ? do_raw_spin_lock+0x131/0x280 [ 230.913237][T10148] do_exit.cold+0x82/0x9c [ 230.913241][T10148] ? exit_notify+0x890/0x890 [ 230.913242][T10148] ? __lock_release.isra.0+0x69/0x1a0 [ 230.913245][T10148] ? rcu_is_watching+0x16/0xd0 [ 230.913249][T10148] do_group_exit+0xb8/0x370 [ 230.913252][T10148] __x64_sys_exit_group+0x3c/0x50 [ 230.913254][T10148] x64_sys_call+0x1567/0x1570 [ 230.913256][T10148] do_syscall_64+0x10e/0x570 [ 230.913260][T10148] ? exc_page_fault+0xee/0x100 [ 230.913263][T10148] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 230.913265][T10148] RIP: 0033:0x7f632c9c21b8 [ 230.913267][T10148] Code: Unable to access opcode bytes at 0x7f632c9c218e. [ 230.913269][T10148] RSP: 002b:00007ffcf691f708 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 230.913271][T10148] RAX: ffffffffffffffda RBX: 00007f632caf2f88 RCX: 00007f632c9c21b8 [ 230.913272][T10148] RDX: 00007f632c70cfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 230.913273][T10148] RBP: 00007ffcf691f760 R08: 0000000000000000 R09: 0000000000008010 [ 230.913274][T10148] R10: 00007ffcf691f520 R11: 0000000000000246 R12: 0000000000000001 [ 230.913275][T10148] R13: 0000000000000000 R14: 00007f632caf1680 R15: 00007f632caf2fa0 [ 230.913282][T10148]