[ 14.446654][ T254] ip (254) used greatest stack depth: 24208 bytes left [ 14.446673][ T254] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.446675][ T254] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 254, name: ip [ 14.446677][ T254] preempt_count: 2, expected: 0 [ 14.446678][ T254] RCU nest depth: 0, expected: 0 [ 14.446679][ T254] locks held by ip/254: 5, last CPU#2: [ 14.446680][ T254] #0: ffffffff962167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 14.446692][ T254] #1: ffffffff9637ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.446696][ T254] #2: ffffffff9637de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.446701][ T254] #3: ffffffff9629d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.446705][ T254] #4: ffffffff9629d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.446709][ T254] irq event stamp: 21264 [ 14.446710][ T254] hardirqs last enabled at (21263): [] __down_trylock_console_sem+0x86/0xa0 [ 14.446713][ T254] hardirqs last disabled at (21264): [] console_emit_next_record+0x3d4/0x4c0 [ 14.446715][ T254] softirqs last enabled at (19976): [] netlink_release+0x17b/0xcf0 [ 14.446719][ T254] softirqs last disabled at (19974): [] netlink_release+0xd2/0xcf0 [ 14.446722][ T254] Preemption disabled at: [ 14.446722][ T254] [<0000000000000000>] 0x0 [ 14.446729][ T254] CPU: 2 UID: 0 PID: 254 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.446733][ T254] Tainted: [W]=WARN [ 14.446734][ T254] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.446736][ T254] Call Trace: [ 14.446737][ T254] [ 14.446739][ T254] dump_stack_lvl+0x6f/0xa0 [ 14.446745][ T254] __might_resched.cold+0x1fe/0x2c1 [ 14.446754][ T254] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.446758][ T254] ? __kmalloc_noprof+0xdb/0x760 [ 14.446763][ T254] __kmalloc_noprof+0x443/0x760 [ 14.446766][ T254] ? alloc_buf.isra.0+0x4b/0x260 [ 14.446773][ T254] ? do_raw_spin_unlock+0x59/0x250 [ 14.446776][ T254] alloc_buf.isra.0+0x4b/0x260 [ 14.446780][ T254] put_chars+0x1e1/0x2f0 [ 14.446783][ T254] ? __send_to_port+0x420/0x420 [ 14.446784][ T254] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.446788][ T254] ? validate_chain+0x38b/0xc20 [ 14.446799][ T254] hvc_console_print+0x292/0x780 [ 14.446807][ T254] ? hvc_write+0x3a0/0x3a0 [ 14.446810][ T254] ? rcu_is_watching+0x16/0xd0 [ 14.446812][ T254] ? lock_acquire+0x13c/0x160 [ 14.446817][ T254] console_emit_next_record+0x22f/0x4c0 [ 14.446821][ T254] ? devkmsg_read+0x4b0/0x4b0 [ 14.446823][ T254] ? console_flush_one_record+0x106/0x710 [ 14.446827][ T254] ? rcu_is_watching+0x16/0xd0 [ 14.446829][ T254] ? lock_acquire+0x13c/0x160 [ 14.446833][ T254] console_flush_one_record+0x46f/0x710 [ 14.446837][ T254] ? console_emit_next_record+0x4c0/0x4c0 [ 14.446839][ T254] ? __lock_acquire+0x518/0xc20 [ 14.446845][ T254] console_unlock+0xee/0x1f0 [ 14.446849][ T254] ? console_flush_one_record+0x710/0x710 [ 14.446851][ T254] ? rcu_is_watching+0x16/0xd0 [ 14.446853][ T254] ? lock_acquire+0xe0/0x160 [ 14.446857][ T254] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.446859][ T254] ? vprintk_emit+0x320/0x3e0 [ 14.446862][ T254] vprintk_emit+0x37c/0x3e0 [ 14.446866][ T254] ? wake_up_klogd_work_func+0x90/0x90 [ 14.446869][ T254] ? __lock_acquire+0x518/0xc20 [ 14.446873][ T254] _printk+0xc7/0x100 [ 14.446877][ T254] ? snapshot_read.cold+0x21/0x21 [ 14.446880][ T254] ? do_raw_spin_lock+0x131/0x280 [ 14.446883][ T254] ? __rwlock_init+0x150/0x150 [ 14.446888][ T254] ? do_raw_spin_lock+0x131/0x280 [ 14.446891][ T254] do_exit.cold+0x82/0x9c [ 14.446895][ T254] ? exit_notify+0x890/0x890 [ 14.446897][ T254] ? __lock_release.isra.0+0x69/0x1a0 [ 14.446900][ T254] ? rcu_is_watching+0x16/0xd0 [ 14.446904][ T254] do_group_exit+0xb8/0x370 [ 14.446908][ T254] __x64_sys_exit_group+0x3c/0x50 [ 14.446910][ T254] x64_sys_call+0x1567/0x1570 [ 14.446912][ T254] do_syscall_64+0xff/0x530 [ 14.446916][ T254] ? exc_page_fault+0xee/0x100 [ 14.446920][ T254] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.446922][ T254] RIP: 0033:0x7f2d7879b1b8 [ 14.446924][ T254] Code: Unable to access opcode bytes at 0x7f2d7879b18e. [ 14.446925][ T254] RSP: 002b:00007ffd239b0538 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 14.446928][ T254] RAX: ffffffffffffffda RBX: 00007f2d788cbf88 RCX: 00007f2d7879b1b8 [ 14.446929][ T254] RDX: 00007f2d784e5fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 14.446930][ T254] RBP: 00007ffd239b0590 R08: 0000000000000000 R09: 0000000000000060 [ 14.446931][ T254] R10: 00007ffd239b0350 R11: 0000000000000246 R12: 0000000000000001 [ 14.446932][ T254] R13: 0000000000000000 R14: 00007f2d788ca680 R15: 00007f2d788cbfa0 [ 14.446941][ T254]