[ 16.382389][ T438] ip (438) used greatest stack depth: 23664 bytes left [ 16.382408][ T438] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.382410][ T438] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 438, name: ip [ 16.382412][ T438] preempt_count: 2, expected: 0 [ 16.382412][ T438] RCU nest depth: 0, expected: 0 [ 16.382413][ T438] locks held by ip/438: 5, last CPU#2: [ 16.382415][ T438] #0: ffffffff910167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 16.382427][ T438] #1: ffffffff9117ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.382432][ T438] #2: ffffffff9117de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.382436][ T438] #3: ffffffff9109d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.382440][ T438] #4: ffffffff9109d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.382444][ T438] irq event stamp: 27472 [ 16.382445][ T438] hardirqs last enabled at (27471): [] __down_trylock_console_sem+0x86/0xa0 [ 16.382448][ T438] hardirqs last disabled at (27472): [] console_emit_next_record+0x3d4/0x4c0 [ 16.382450][ T438] softirqs last enabled at (25906): [] netlink_release+0x17b/0xcf0 [ 16.382455][ T438] softirqs last disabled at (25904): [] netlink_release+0xd2/0xcf0 [ 16.382457][ T438] Preemption disabled at: [ 16.382458][ T438] [<0000000000000000>] 0x0 [ 16.382465][ T438] CPU: 2 UID: 0 PID: 438 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.382468][ T438] Tainted: [W]=WARN [ 16.382469][ T438] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.382471][ T438] Call Trace: [ 16.382472][ T438] [ 16.382474][ T438] dump_stack_lvl+0x6f/0xa0 [ 16.382481][ T438] __might_resched.cold+0x1fe/0x2c1 [ 16.382485][ T438] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.382490][ T438] ? __kmalloc_noprof+0xdb/0x760 [ 16.382494][ T438] __kmalloc_noprof+0x443/0x760 [ 16.382496][ T438] ? alloc_buf.isra.0+0x4b/0x260 [ 16.382503][ T438] ? do_raw_spin_unlock+0x59/0x250 [ 16.382505][ T438] alloc_buf.isra.0+0x4b/0x260 [ 16.382509][ T438] put_chars+0x1e1/0x2f0 [ 16.382512][ T438] ? __send_to_port+0x420/0x420 [ 16.382513][ T438] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.382517][ T438] ? validate_chain+0x38b/0xc20 [ 16.382522][ T438] hvc_console_print+0x292/0x780 [ 16.382530][ T438] ? hvc_write+0x3a0/0x3a0 [ 16.382533][ T438] ? rcu_is_watching+0x16/0xd0 [ 16.382535][ T438] ? lock_acquire+0x13c/0x160 [ 16.382539][ T438] console_emit_next_record+0x22f/0x4c0 [ 16.382543][ T438] ? devkmsg_read+0x4b0/0x4b0 [ 16.382545][ T438] ? console_flush_one_record+0x106/0x710 [ 16.382548][ T438] ? rcu_is_watching+0x16/0xd0 [ 16.382550][ T438] ? lock_acquire+0x13c/0x160 [ 16.382553][ T438] console_flush_one_record+0x46f/0x710 [ 16.382558][ T438] ? console_emit_next_record+0x4c0/0x4c0 [ 16.382560][ T438] ? __lock_acquire+0x518/0xc20 [ 16.382565][ T438] console_unlock+0xee/0x1f0 [ 16.382568][ T438] ? console_flush_one_record+0x710/0x710 [ 16.382569][ T438] ? rcu_is_watching+0x16/0xd0 [ 16.382571][ T438] ? lock_acquire+0xe0/0x160 [ 16.382575][ T438] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.382577][ T438] ? vprintk_emit+0x320/0x3e0 [ 16.382579][ T438] vprintk_emit+0x37c/0x3e0 [ 16.382582][ T438] ? wake_up_klogd_work_func+0x90/0x90 [ 16.382585][ T438] ? __lock_acquire+0x518/0xc20 [ 16.382589][ T438] _printk+0xc7/0x100 [ 16.382592][ T438] ? snapshot_read.cold+0x21/0x21 [ 16.382595][ T438] ? do_raw_spin_lock+0x131/0x280 [ 16.382598][ T438] ? __rwlock_init+0x150/0x150 [ 16.382602][ T438] ? do_raw_spin_lock+0x131/0x280 [ 16.382605][ T438] do_exit.cold+0x82/0x9c [ 16.382609][ T438] ? exit_notify+0x890/0x890 [ 16.382610][ T438] ? __lock_release.isra.0+0x69/0x1a0 [ 16.382613][ T438] ? rcu_is_watching+0x16/0xd0 [ 16.382616][ T438] do_group_exit+0xb8/0x370 [ 16.382619][ T438] __x64_sys_exit_group+0x3c/0x50 [ 16.382621][ T438] x64_sys_call+0x1567/0x1570 [ 16.382623][ T438] do_syscall_64+0xff/0x530 [ 16.382627][ T438] ? exc_page_fault+0xee/0x100 [ 16.382630][ T438] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.382632][ T438] RIP: 0033:0x7f243c25a1b8 [ 16.382634][ T438] Code: Unable to access opcode bytes at 0x7f243c25a18e. [ 16.382636][ T438] RSP: 002b:00007ffd92240528 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 16.382638][ T438] RAX: ffffffffffffffda RBX: 00007f243c38af88 RCX: 00007f243c25a1b8 [ 16.382639][ T438] RDX: 00007f243bfa4fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 16.382640][ T438] RBP: 00007ffd92240580 R08: 0000000000000000 R09: 0000000000000050 [ 16.382641][ T438] R10: 00007ffd92240340 R11: 0000000000000246 R12: 0000000000000001 [ 16.382642][ T438] R13: 0000000000000000 R14: 00007f243c389680 R15: 00007f243c38afa0 [ 16.382649][ T438]