[ 17.663247][ T347] ip (347) used greatest stack depth: 23680 bytes left [ 17.663264][ T347] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.663266][ T347] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 347, name: ip [ 17.663268][ T347] preempt_count: 2, expected: 0 [ 17.663269][ T347] RCU nest depth: 0, expected: 0 [ 17.663270][ T347] locks held by ip/347: 5, last CPU#2: [ 17.663271][ T347] #0: ffffffff97a167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 17.663283][ T347] #1: ffffffff97b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.663288][ T347] #2: ffffffff97b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.663293][ T347] #3: ffffffff97a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.663297][ T347] #4: ffffffff97a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.663301][ T347] irq event stamp: 18872 [ 17.663302][ T347] hardirqs last enabled at (18871): [] __down_trylock_console_sem+0x86/0xa0 [ 17.663305][ T347] hardirqs last disabled at (18872): [] console_emit_next_record+0x3d4/0x4c0 [ 17.663307][ T347] softirqs last enabled at (17302): [] netlink_release+0x17b/0xcf0 [ 17.663311][ T347] softirqs last disabled at (17300): [] netlink_release+0xd2/0xcf0 [ 17.663313][ T347] Preemption disabled at: [ 17.663314][ T347] [<0000000000000000>] 0x0 [ 17.663321][ T347] CPU: 2 UID: 0 PID: 347 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.663324][ T347] Tainted: [W]=WARN [ 17.663325][ T347] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.663327][ T347] Call Trace: [ 17.663328][ T347] [ 17.663330][ T347] dump_stack_lvl+0x6f/0xa0 [ 17.663336][ T347] __might_resched.cold+0x1fe/0x2c1 [ 17.663341][ T347] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.663347][ T347] ? __kmalloc_noprof+0xdb/0x760 [ 17.663352][ T347] __kmalloc_noprof+0x443/0x760 [ 17.663354][ T347] ? alloc_buf.isra.0+0x4b/0x260 [ 17.663360][ T347] ? do_raw_spin_unlock+0x59/0x250 [ 17.663363][ T347] alloc_buf.isra.0+0x4b/0x260 [ 17.663367][ T347] put_chars+0x1e1/0x2f0 [ 17.663369][ T347] ? __send_to_port+0x420/0x420 [ 17.663370][ T347] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.663374][ T347] ? validate_chain+0x38b/0xc20 [ 17.663379][ T347] hvc_console_print+0x292/0x780 [ 17.663387][ T347] ? hvc_write+0x3a0/0x3a0 [ 17.663389][ T347] ? rcu_is_watching+0x16/0xd0 [ 17.663391][ T347] ? lock_acquire+0x13c/0x160 [ 17.663395][ T347] console_emit_next_record+0x22f/0x4c0 [ 17.663399][ T347] ? devkmsg_read+0x4b0/0x4b0 [ 17.663401][ T347] ? console_flush_one_record+0x106/0x710 [ 17.663404][ T347] ? rcu_is_watching+0x16/0xd0 [ 17.663405][ T347] ? lock_acquire+0x13c/0x160 [ 17.663409][ T347] console_flush_one_record+0x46f/0x710 [ 17.663413][ T347] ? console_emit_next_record+0x4c0/0x4c0 [ 17.663415][ T347] ? __lock_acquire+0x518/0xc20 [ 17.663420][ T347] console_unlock+0xee/0x1f0 [ 17.663423][ T347] ? console_flush_one_record+0x710/0x710 [ 17.663425][ T347] ? rcu_is_watching+0x16/0xd0 [ 17.663426][ T347] ? lock_acquire+0xe0/0x160 [ 17.663430][ T347] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.663432][ T347] ? vprintk_emit+0x320/0x3e0 [ 17.663435][ T347] vprintk_emit+0x37c/0x3e0 [ 17.663438][ T347] ? wake_up_klogd_work_func+0x90/0x90 [ 17.663440][ T347] ? __lock_acquire+0x518/0xc20 [ 17.663444][ T347] _printk+0xc7/0x100 [ 17.663448][ T347] ? snapshot_read.cold+0x21/0x21 [ 17.663454][ T347] ? do_raw_spin_lock+0x131/0x280 [ 17.663457][ T347] ? __rwlock_init+0x150/0x150 [ 17.663461][ T347] ? do_raw_spin_lock+0x131/0x280 [ 17.663463][ T347] do_exit.cold+0x82/0x9c [ 17.663467][ T347] ? exit_notify+0x890/0x890 [ 17.663468][ T347] ? __lock_release.isra.0+0x69/0x1a0 [ 17.663471][ T347] ? rcu_is_watching+0x16/0xd0 [ 17.663474][ T347] do_group_exit+0xb8/0x370 [ 17.663477][ T347] __x64_sys_exit_group+0x3c/0x50 [ 17.663479][ T347] x64_sys_call+0x1567/0x1570 [ 17.663481][ T347] do_syscall_64+0xff/0x530 [ 17.663485][ T347] ? exc_page_fault+0xee/0x100 [ 17.663488][ T347] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.663490][ T347] RIP: 0033:0x7f0853ab51b8 [ 17.663493][ T347] Code: Unable to access opcode bytes at 0x7f0853ab518e. [ 17.663494][ T347] RSP: 002b:00007ffcb23dd3d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 17.663496][ T347] RAX: ffffffffffffffda RBX: 00007f0853be5f88 RCX: 00007f0853ab51b8 [ 17.663497][ T347] RDX: 00007f08537fffc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 17.663498][ T347] RBP: 00007ffcb23dd430 R08: 0000000000000000 R09: 0000000000000060 [ 17.663499][ T347] R10: 00007ffcb23dd1f0 R11: 0000000000000246 R12: 0000000000000001 [ 17.663500][ T347] R13: 0000000000000000 R14: 00007f0853be4680 R15: 00007f0853be5fa0 [ 17.663507][ T347]