[ 10.544331][ T213] ip (213) used greatest stack depth: 24336 bytes left [ 10.544350][ T213] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.544352][ T213] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 213, name: ip [ 10.544353][ T213] preempt_count: 2, expected: 0 [ 10.544354][ T213] RCU nest depth: 0, expected: 0 [ 10.544355][ T213] locks held by ip/213: 5, last CPU#0: [ 10.544357][ T213] #0: ffffffff940167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.544368][ T213] #1: ffffffff9417ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.544373][ T213] #2: ffffffff9417de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.544378][ T213] #3: ffffffff9409d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.544382][ T213] #4: ffffffff9409d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.544385][ T213] irq event stamp: 31900 [ 10.544386][ T213] hardirqs last enabled at (31899): [] __down_trylock_console_sem+0x86/0xa0 [ 10.544389][ T213] hardirqs last disabled at (31900): [] console_emit_next_record+0x3d4/0x4c0 [ 10.544392][ T213] softirqs last enabled at (30608): [] netlink_release+0x17b/0xcf0 [ 10.544396][ T213] softirqs last disabled at (30606): [] netlink_release+0xd2/0xcf0 [ 10.544398][ T213] Preemption disabled at: [ 10.544399][ T213] [<0000000000000000>] 0x0 [ 10.544405][ T213] CPU: 0 UID: 0 PID: 213 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.544409][ T213] Tainted: [W]=WARN [ 10.544410][ T213] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.544412][ T213] Call Trace: [ 10.544413][ T213] [ 10.544414][ T213] dump_stack_lvl+0x6f/0xa0 [ 10.544421][ T213] __might_resched.cold+0x1fe/0x2c1 [ 10.544426][ T213] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.544430][ T213] ? __kmalloc_noprof+0xdb/0x760 [ 10.544434][ T213] __kmalloc_noprof+0x443/0x760 [ 10.544436][ T213] ? alloc_buf.isra.0+0x4b/0x260 [ 10.544442][ T213] ? do_raw_spin_unlock+0x59/0x250 [ 10.544445][ T213] alloc_buf.isra.0+0x4b/0x260 [ 10.544449][ T213] put_chars+0x1e1/0x2f0 [ 10.544451][ T213] ? __send_to_port+0x420/0x420 [ 10.544452][ T213] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.544456][ T213] ? validate_chain+0x38b/0xc20 [ 10.544461][ T213] hvc_console_print+0x292/0x780 [ 10.544469][ T213] ? hvc_write+0x3a0/0x3a0 [ 10.544471][ T213] ? rcu_is_watching+0x16/0xd0 [ 10.544473][ T213] ? lock_acquire+0x13c/0x160 [ 10.544477][ T213] console_emit_next_record+0x22f/0x4c0 [ 10.544481][ T213] ? devkmsg_read+0x4b0/0x4b0 [ 10.544483][ T213] ? console_flush_one_record+0x106/0x710 [ 10.544486][ T213] ? rcu_is_watching+0x16/0xd0 [ 10.544487][ T213] ? lock_acquire+0x13c/0x160 [ 10.544491][ T213] console_flush_one_record+0x46f/0x710 [ 10.544495][ T213] ? console_emit_next_record+0x4c0/0x4c0 [ 10.544497][ T213] ? __lock_acquire+0x518/0xc20 [ 10.544502][ T213] console_unlock+0xee/0x1f0 [ 10.544505][ T213] ? console_flush_one_record+0x710/0x710 [ 10.544507][ T213] ? rcu_is_watching+0x16/0xd0 [ 10.544508][ T213] ? lock_acquire+0xe0/0x160 [ 10.544512][ T213] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.544514][ T213] ? vprintk_emit+0x320/0x3e0 [ 10.544516][ T213] vprintk_emit+0x37c/0x3e0 [ 10.544519][ T213] ? wake_up_klogd_work_func+0x90/0x90 [ 10.544522][ T213] ? __lock_acquire+0x518/0xc20 [ 10.544526][ T213] _printk+0xc7/0x100 [ 10.544529][ T213] ? snapshot_read.cold+0x21/0x21 [ 10.544532][ T213] ? do_raw_spin_lock+0x131/0x280 [ 10.544535][ T213] ? __rwlock_init+0x150/0x150 [ 10.544538][ T213] ? do_raw_spin_lock+0x131/0x280 [ 10.544541][ T213] do_exit.cold+0x82/0x9c [ 10.544545][ T213] ? exit_notify+0x890/0x890 [ 10.544546][ T213] ? __lock_release.isra.0+0x69/0x1a0 [ 10.544549][ T213] ? rcu_is_watching+0x16/0xd0 [ 10.544552][ T213] do_group_exit+0xb8/0x370 [ 10.544555][ T213] __x64_sys_exit_group+0x3c/0x50 [ 10.544557][ T213] x64_sys_call+0x1567/0x1570 [ 10.544559][ T213] do_syscall_64+0xff/0x530 [ 10.544563][ T213] ? exc_page_fault+0xee/0x100 [ 10.544566][ T213] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.544568][ T213] RIP: 0033:0x7f1eedc5f1b8 [ 10.544570][ T213] Code: Unable to access opcode bytes at 0x7f1eedc5f18e. [ 10.544571][ T213] RSP: 002b:00007ffcca06ad48 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.544574][ T213] RAX: ffffffffffffffda RBX: 00007f1eedd8ff88 RCX: 00007f1eedc5f1b8 [ 10.544575][ T213] RDX: 00007f1eed9a9fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.544576][ T213] RBP: 00007ffcca06ada0 R08: 0000000000000000 R09: 0000000000000050 [ 10.544577][ T213] R10: 00007ffcca06ab60 R11: 0000000000000246 R12: 0000000000000001 [ 10.544577][ T213] R13: 0000000000000000 R14: 00007f1eedd8e680 R15: 00007f1eedd8ffa0 [ 10.544584][ T213]