[ 10.600307][ T201] ip (201) used greatest stack depth: 23664 bytes left [ 10.600381][ T201] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.600383][ T201] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 201, name: ip [ 10.600385][ T201] preempt_count: 2, expected: 0 [ 10.600386][ T201] RCU nest depth: 0, expected: 0 [ 10.600387][ T201] locks held by ip/201: 5, last CPU#0: [ 10.600389][ T201] #0: ffffffff89c167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.600400][ T201] #1: ffffffff89d7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.600404][ T201] #2: ffffffff89d7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.600409][ T201] #3: ffffffff89c9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.600413][ T201] #4: ffffffff89c9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.600416][ T201] irq event stamp: 34812 [ 10.600417][ T201] hardirqs last enabled at (34811): [] irqentry_exit+0x21c/0x790 [ 10.600422][ T201] hardirqs last disabled at (34812): [] console_emit_next_record+0x3d4/0x4c0 [ 10.600424][ T201] softirqs last enabled at (33514): [] netlink_release+0x17b/0xcf0 [ 10.600428][ T201] softirqs last disabled at (33512): [] netlink_release+0xd2/0xcf0 [ 10.600430][ T201] Preemption disabled at: [ 10.600431][ T201] [<0000000000000000>] 0x0 [ 10.600438][ T201] CPU: 0 UID: 0 PID: 201 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.600441][ T201] Tainted: [W]=WARN [ 10.600442][ T201] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.600444][ T201] Call Trace: [ 10.600445][ T201] [ 10.600447][ T201] dump_stack_lvl+0x6f/0xa0 [ 10.600453][ T201] __might_resched.cold+0x1fe/0x2c1 [ 10.600458][ T201] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.600462][ T201] ? __kmalloc_noprof+0xdb/0x760 [ 10.600466][ T201] __kmalloc_noprof+0x443/0x760 [ 10.600468][ T201] ? alloc_buf.isra.0+0x4b/0x260 [ 10.600475][ T201] ? do_raw_spin_unlock+0x59/0x250 [ 10.600478][ T201] alloc_buf.isra.0+0x4b/0x260 [ 10.600482][ T201] put_chars+0x1e1/0x2f0 [ 10.600484][ T201] ? __send_to_port+0x420/0x420 [ 10.600485][ T201] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.600489][ T201] ? validate_chain+0x38b/0xc20 [ 10.600494][ T201] hvc_console_print+0x292/0x780 [ 10.600502][ T201] ? hvc_write+0x3a0/0x3a0 [ 10.600504][ T201] ? rcu_is_watching+0x16/0xd0 [ 10.600506][ T201] ? lock_acquire+0x13c/0x160 [ 10.600510][ T201] console_emit_next_record+0x22f/0x4c0 [ 10.600514][ T201] ? devkmsg_read+0x4b0/0x4b0 [ 10.600516][ T201] ? console_flush_one_record+0x106/0x710 [ 10.600519][ T201] ? rcu_is_watching+0x16/0xd0 [ 10.600521][ T201] ? lock_acquire+0x13c/0x160 [ 10.600525][ T201] console_flush_one_record+0x46f/0x710 [ 10.600529][ T201] ? console_emit_next_record+0x4c0/0x4c0 [ 10.600531][ T201] ? __lock_acquire+0x518/0xc20 [ 10.600536][ T201] console_unlock+0xee/0x1f0 [ 10.600539][ T201] ? console_flush_one_record+0x710/0x710 [ 10.600540][ T201] ? rcu_is_watching+0x16/0xd0 [ 10.600542][ T201] ? lock_acquire+0xe0/0x160 [ 10.600546][ T201] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.600548][ T201] ? vprintk_emit+0x320/0x3e0 [ 10.600550][ T201] vprintk_emit+0x37c/0x3e0 [ 10.600553][ T201] ? wake_up_klogd_work_func+0x90/0x90 [ 10.600556][ T201] ? __lock_acquire+0x518/0xc20 [ 10.600560][ T201] _printk+0xc7/0x100 [ 10.600563][ T201] ? snapshot_read.cold+0x21/0x21 [ 10.600566][ T201] ? do_raw_spin_lock+0x131/0x280 [ 10.600569][ T201] ? __rwlock_init+0x150/0x150 [ 10.600573][ T201] ? do_raw_spin_lock+0x131/0x280 [ 10.600575][ T201] do_exit.cold+0x82/0x9c [ 10.600579][ T201] ? exit_notify+0x890/0x890 [ 10.600580][ T201] ? __lock_release.isra.0+0x69/0x1a0 [ 10.600583][ T201] ? rcu_is_watching+0x16/0xd0 [ 10.600586][ T201] do_group_exit+0xb8/0x370 [ 10.600589][ T201] __x64_sys_exit_group+0x3c/0x50 [ 10.600591][ T201] x64_sys_call+0x1567/0x1570 [ 10.600593][ T201] do_syscall_64+0xff/0x530 [ 10.600596][ T201] ? exc_page_fault+0xee/0x100 [ 10.600599][ T201] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.600601][ T201] RIP: 0033:0x7f572b3dc1b8 [ 10.600603][ T201] Code: Unable to access opcode bytes at 0x7f572b3dc18e. [ 10.600604][ T201] RSP: 002b:00007ffee09c2f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.600606][ T201] RAX: ffffffffffffffda RBX: 00007f572b50cf88 RCX: 00007f572b3dc1b8 [ 10.600607][ T201] RDX: 00007f572b126fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.600608][ T201] RBP: 00007ffee09c2fe0 R08: 0000000000000000 R09: 0000000000008010 [ 10.600609][ T201] R10: 00007ffee09c2da0 R11: 0000000000000246 R12: 0000000000000001 [ 10.600610][ T201] R13: 0000000000000000 R14: 00007f572b50b680 R15: 00007f572b50cfa0 [ 10.600617][ T201]