[ 9.564322][ T209] ip (209) used greatest stack depth: 24096 bytes left [ 9.564338][ T209] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.564340][ T209] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 209, name: ip [ 9.564342][ T209] preempt_count: 2, expected: 0 [ 9.564342][ T209] RCU nest depth: 0, expected: 0 [ 9.564343][ T209] locks held by ip/209: 5, last CPU#2: [ 9.564345][ T209] #0: ffffffff98a167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.564357][ T209] #1: ffffffff98b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.564362][ T209] #2: ffffffff98b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.564366][ T209] #3: ffffffff98a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.564370][ T209] #4: ffffffff98a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.564373][ T209] irq event stamp: 36244 [ 9.564374][ T209] hardirqs last enabled at (36243): [] __down_trylock_console_sem+0x86/0xa0 [ 9.564377][ T209] hardirqs last disabled at (36244): [] console_emit_next_record+0x3d4/0x4c0 [ 9.564379][ T209] softirqs last enabled at (34672): [] netlink_release+0x17b/0xcf0 [ 9.564384][ T209] softirqs last disabled at (34670): [] netlink_release+0xd2/0xcf0 [ 9.564386][ T209] Preemption disabled at: [ 9.564386][ T209] [<0000000000000000>] 0x0 [ 9.564393][ T209] CPU: 2 UID: 0 PID: 209 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.564396][ T209] Tainted: [W]=WARN [ 9.564397][ T209] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.564399][ T209] Call Trace: [ 9.564401][ T209] [ 9.564402][ T209] dump_stack_lvl+0x6f/0xa0 [ 9.564409][ T209] __might_resched.cold+0x1fe/0x2c1 [ 9.564413][ T209] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.564417][ T209] ? __kmalloc_noprof+0xdb/0x760 [ 9.564422][ T209] __kmalloc_noprof+0x443/0x760 [ 9.564423][ T209] ? alloc_buf.isra.0+0x4b/0x260 [ 9.564430][ T209] ? do_raw_spin_unlock+0x59/0x250 [ 9.564433][ T209] alloc_buf.isra.0+0x4b/0x260 [ 9.564436][ T209] put_chars+0x1e1/0x2f0 [ 9.564439][ T209] ? __send_to_port+0x420/0x420 [ 9.564440][ T209] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.564443][ T209] ? validate_chain+0x38b/0xc20 [ 9.564449][ T209] hvc_console_print+0x292/0x780 [ 9.564456][ T209] ? hvc_write+0x3a0/0x3a0 [ 9.564459][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.564461][ T209] ? lock_acquire+0x13c/0x160 [ 9.564465][ T209] console_emit_next_record+0x22f/0x4c0 [ 9.564469][ T209] ? devkmsg_read+0x4b0/0x4b0 [ 9.564470][ T209] ? console_flush_one_record+0x106/0x710 [ 9.564474][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.564475][ T209] ? lock_acquire+0x13c/0x160 [ 9.564479][ T209] console_flush_one_record+0x46f/0x710 [ 9.564483][ T209] ? console_emit_next_record+0x4c0/0x4c0 [ 9.564485][ T209] ? __lock_acquire+0x518/0xc20 [ 9.564490][ T209] console_unlock+0xee/0x1f0 [ 9.564493][ T209] ? console_flush_one_record+0x710/0x710 [ 9.564495][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.564496][ T209] ? lock_acquire+0xe0/0x160 [ 9.564500][ T209] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.564502][ T209] ? vprintk_emit+0x320/0x3e0 [ 9.564504][ T209] vprintk_emit+0x37c/0x3e0 [ 9.564507][ T209] ? wake_up_klogd_work_func+0x90/0x90 [ 9.564510][ T209] ? __lock_acquire+0x518/0xc20 [ 9.564514][ T209] _printk+0xc7/0x100 [ 9.564518][ T209] ? snapshot_read.cold+0x21/0x21 [ 9.564522][ T209] ? do_raw_spin_lock+0x131/0x280 [ 9.564524][ T209] ? __rwlock_init+0x150/0x150 [ 9.564528][ T209] ? do_raw_spin_lock+0x131/0x280 [ 9.564531][ T209] do_exit.cold+0x82/0x9c [ 9.564535][ T209] ? exit_notify+0x890/0x890 [ 9.564536][ T209] ? __lock_release.isra.0+0x69/0x1a0 [ 9.564539][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.564542][ T209] do_group_exit+0xb8/0x370 [ 9.564545][ T209] __x64_sys_exit_group+0x3c/0x50 [ 9.564547][ T209] x64_sys_call+0x1567/0x1570 [ 9.564549][ T209] do_syscall_64+0xff/0x530 [ 9.564553][ T209] ? exc_page_fault+0xee/0x100 [ 9.564556][ T209] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.564558][ T209] RIP: 0033:0x7f0b9ce1c1b8 [ 9.564560][ T209] Code: Unable to access opcode bytes at 0x7f0b9ce1c18e. [ 9.564561][ T209] RSP: 002b:00007ffe6d1e5618 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.564564][ T209] RAX: ffffffffffffffda RBX: 00007f0b9cf4cf88 RCX: 00007f0b9ce1c1b8 [ 9.564565][ T209] RDX: 00007f0b9cb66fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.564566][ T209] RBP: 00007ffe6d1e5670 R08: 0000000000000000 R09: 0000000000000000 [ 9.564567][ T209] R10: 00007ffe6d1e5430 R11: 0000000000000246 R12: 0000000000000001 [ 9.564567][ T209] R13: 0000000000000000 R14: 00007f0b9cf4b680 R15: 00007f0b9cf4cfa0 [ 9.564574][ T209]