[ 20.759351][ T699] ip (699) used greatest stack depth: 23776 bytes left [ 20.759371][ T699] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.759373][ T699] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 699, name: ip [ 20.759375][ T699] preempt_count: 2, expected: 0 [ 20.759376][ T699] RCU nest depth: 0, expected: 0 [ 20.759377][ T699] locks held by ip/699: 5, last CPU#2: [ 20.759379][ T699] #0: ffffffff858167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 20.759391][ T699] #1: ffffffff8597ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.759396][ T699] #2: ffffffff8597de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.759401][ T699] #3: ffffffff8589d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.759405][ T699] #4: ffffffff8589d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 20.759409][ T699] irq event stamp: 32642 [ 20.759409][ T699] hardirqs last enabled at (32641): [] __down_trylock_console_sem+0x86/0xa0 [ 20.759412][ T699] hardirqs last disabled at (32642): [] console_emit_next_record+0x3d4/0x4c0 [ 20.759414][ T699] softirqs last enabled at (31572): [] handle_softirqs+0x67c/0x900 [ 20.759417][ T699] softirqs last disabled at (30913): [] __irq_exit_rcu+0x145/0x1c0 [ 20.759419][ T699] Preemption disabled at: [ 20.759420][ T699] [<0000000000000000>] 0x0 [ 20.759426][ T699] CPU: 2 UID: 0 PID: 699 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.759430][ T699] Tainted: [W]=WARN [ 20.759431][ T699] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.759432][ T699] Call Trace: [ 20.759434][ T699] [ 20.759436][ T699] dump_stack_lvl+0x6f/0xa0 [ 20.759442][ T699] __might_resched.cold+0x1fe/0x2c1 [ 20.759447][ T699] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.759451][ T699] ? __kmalloc_noprof+0xdb/0x760 [ 20.759455][ T699] __kmalloc_noprof+0x443/0x760 [ 20.759457][ T699] ? alloc_buf.isra.0+0x4b/0x260 [ 20.759464][ T699] ? do_raw_spin_unlock+0x59/0x250 [ 20.759467][ T699] alloc_buf.isra.0+0x4b/0x260 [ 20.759473][ T699] put_chars+0x1e1/0x2f0 [ 20.759476][ T699] ? __send_to_port+0x420/0x420 [ 20.759477][ T699] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.759481][ T699] ? validate_chain+0x38b/0xc20 [ 20.759486][ T699] hvc_console_print+0x292/0x780 [ 20.759494][ T699] ? hvc_write+0x3a0/0x3a0 [ 20.759496][ T699] ? rcu_is_watching+0x16/0xd0 [ 20.759498][ T699] ? lock_acquire+0x13c/0x160 [ 20.759502][ T699] console_emit_next_record+0x22f/0x4c0 [ 20.759506][ T699] ? devkmsg_read+0x4b0/0x4b0 [ 20.759508][ T699] ? console_flush_one_record+0x106/0x710 [ 20.759512][ T699] ? rcu_is_watching+0x16/0xd0 [ 20.759513][ T699] ? lock_acquire+0x13c/0x160 [ 20.759517][ T699] console_flush_one_record+0x46f/0x710 [ 20.759522][ T699] ? console_emit_next_record+0x4c0/0x4c0 [ 20.759524][ T699] ? __lock_acquire+0x518/0xc20 [ 20.759529][ T699] console_unlock+0xee/0x1f0 [ 20.759532][ T699] ? console_flush_one_record+0x710/0x710 [ 20.759534][ T699] ? rcu_is_watching+0x16/0xd0 [ 20.759535][ T699] ? lock_acquire+0xe0/0x160 [ 20.759539][ T699] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.759541][ T699] ? vprintk_emit+0x320/0x3e0 [ 20.759544][ T699] vprintk_emit+0x37c/0x3e0 [ 20.759547][ T699] ? wake_up_klogd_work_func+0x90/0x90 [ 20.759549][ T699] ? __lock_acquire+0x518/0xc20 [ 20.759553][ T699] _printk+0xc7/0x100 [ 20.759557][ T699] ? snapshot_read.cold+0x21/0x21 [ 20.759560][ T699] ? do_raw_spin_lock+0x131/0x280 [ 20.759562][ T699] ? __rwlock_init+0x150/0x150 [ 20.759566][ T699] ? do_raw_spin_lock+0x131/0x280 [ 20.759569][ T699] do_exit.cold+0x82/0x9c [ 20.759573][ T699] ? exit_notify+0x890/0x890 [ 20.759574][ T699] ? __lock_release.isra.0+0x69/0x1a0 [ 20.759577][ T699] ? rcu_is_watching+0x16/0xd0 [ 20.759580][ T699] do_group_exit+0xb8/0x370 [ 20.759583][ T699] __x64_sys_exit_group+0x3c/0x50 [ 20.759585][ T699] x64_sys_call+0x1567/0x1570 [ 20.759588][ T699] do_syscall_64+0xff/0x530 [ 20.759592][ T699] ? exc_page_fault+0xee/0x100 [ 20.759595][ T699] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.759597][ T699] RIP: 0033:0x7f1bc0efe1b8 [ 20.759599][ T699] Code: Unable to access opcode bytes at 0x7f1bc0efe18e. [ 20.759600][ T699] RSP: 002b:00007ffdf49d8008 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 20.759603][ T699] RAX: ffffffffffffffda RBX: 00007f1bc102ef88 RCX: 00007f1bc0efe1b8 [ 20.759604][ T699] RDX: 00007f1bc0c48fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 20.759605][ T699] RBP: 00007ffdf49d8060 R08: 0000000000000000 R09: 0000000000000050 [ 20.759606][ T699] R10: 00007ffdf49d7e20 R11: 0000000000000246 R12: 0000000000000001 [ 20.759607][ T699] R13: 0000000000000000 R14: 00007f1bc102d680 R15: 00007f1bc102efa0 [ 20.759614][ T699]