[ 9.540547][ T207] ip (207) used greatest stack depth: 24536 bytes left [ 9.540563][ T207] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.540564][ T207] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 207, name: ip [ 9.540566][ T207] preempt_count: 2, expected: 0 [ 9.540567][ T207] RCU nest depth: 0, expected: 0 [ 9.540568][ T207] locks held by ip/207: 5, last CPU#0: [ 9.540570][ T207] #0: ffffffff9a2167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.540581][ T207] #1: ffffffff9a37ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.540586][ T207] #2: ffffffff9a37de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.540590][ T207] #3: ffffffff9a29d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.540594][ T207] #4: ffffffff9a29d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.540597][ T207] irq event stamp: 37572 [ 9.540598][ T207] hardirqs last enabled at (37571): [] __down_trylock_console_sem+0x86/0xa0 [ 9.540601][ T207] hardirqs last disabled at (37572): [] console_emit_next_record+0x3d4/0x4c0 [ 9.540603][ T207] softirqs last enabled at (36230): [] handle_softirqs+0x67c/0x900 [ 9.540605][ T207] softirqs last disabled at (35583): [] __irq_exit_rcu+0x145/0x1c0 [ 9.540607][ T207] Preemption disabled at: [ 9.540608][ T207] [<0000000000000000>] 0x0 [ 9.540614][ T207] CPU: 0 UID: 0 PID: 207 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.540618][ T207] Tainted: [W]=WARN [ 9.540619][ T207] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.540620][ T207] Call Trace: [ 9.540622][ T207] [ 9.540624][ T207] dump_stack_lvl+0x6f/0xa0 [ 9.540630][ T207] __might_resched.cold+0x1fe/0x2c1 [ 9.540634][ T207] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.540638][ T207] ? __kmalloc_noprof+0xdb/0x760 [ 9.540642][ T207] __kmalloc_noprof+0x443/0x760 [ 9.540644][ T207] ? alloc_buf.isra.0+0x4b/0x260 [ 9.540651][ T207] ? do_raw_spin_unlock+0x59/0x250 [ 9.540653][ T207] alloc_buf.isra.0+0x4b/0x260 [ 9.540657][ T207] put_chars+0x1e1/0x2f0 [ 9.540659][ T207] ? __send_to_port+0x420/0x420 [ 9.540660][ T207] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.540664][ T207] ? validate_chain+0x38b/0xc20 [ 9.540669][ T207] hvc_console_print+0x292/0x780 [ 9.540676][ T207] ? hvc_write+0x3a0/0x3a0 [ 9.540679][ T207] ? rcu_is_watching+0x16/0xd0 [ 9.540681][ T207] ? lock_acquire+0x13c/0x160 [ 9.540685][ T207] console_emit_next_record+0x22f/0x4c0 [ 9.540689][ T207] ? devkmsg_read+0x4b0/0x4b0 [ 9.540690][ T207] ? console_flush_one_record+0x106/0x710 [ 9.540693][ T207] ? rcu_is_watching+0x16/0xd0 [ 9.540695][ T207] ? lock_acquire+0x13c/0x160 [ 9.540699][ T207] console_flush_one_record+0x46f/0x710 [ 9.540703][ T207] ? console_emit_next_record+0x4c0/0x4c0 [ 9.540705][ T207] ? __lock_acquire+0x518/0xc20 [ 9.540710][ T207] console_unlock+0xee/0x1f0 [ 9.540713][ T207] ? console_flush_one_record+0x710/0x710 [ 9.540715][ T207] ? rcu_is_watching+0x16/0xd0 [ 9.540716][ T207] ? lock_acquire+0xe0/0x160 [ 9.540720][ T207] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.540721][ T207] ? vprintk_emit+0x320/0x3e0 [ 9.540724][ T207] vprintk_emit+0x37c/0x3e0 [ 9.540727][ T207] ? wake_up_klogd_work_func+0x90/0x90 [ 9.540730][ T207] ? __lock_acquire+0x518/0xc20 [ 9.540733][ T207] _printk+0xc7/0x100 [ 9.540737][ T207] ? snapshot_read.cold+0x21/0x21 [ 9.540740][ T207] ? do_raw_spin_lock+0x131/0x280 [ 9.540742][ T207] ? __rwlock_init+0x150/0x150 [ 9.540746][ T207] ? do_raw_spin_lock+0x131/0x280 [ 9.540749][ T207] do_exit.cold+0x82/0x9c [ 9.540752][ T207] ? exit_notify+0x890/0x890 [ 9.540753][ T207] ? __lock_release.isra.0+0x69/0x1a0 [ 9.540756][ T207] ? rcu_is_watching+0x16/0xd0 [ 9.540759][ T207] do_group_exit+0xb8/0x370 [ 9.540762][ T207] __x64_sys_exit_group+0x3c/0x50 [ 9.540764][ T207] x64_sys_call+0x1567/0x1570 [ 9.540766][ T207] do_syscall_64+0xff/0x530 [ 9.540770][ T207] ? exc_page_fault+0xee/0x100 [ 9.540773][ T207] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.540775][ T207] RIP: 0033:0x7f34b47e71b8 [ 9.540777][ T207] Code: Unable to access opcode bytes at 0x7f34b47e718e. [ 9.540778][ T207] RSP: 002b:00007fff61055498 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.540781][ T207] RAX: ffffffffffffffda RBX: 00007f34b4917f88 RCX: 00007f34b47e71b8 [ 9.540782][ T207] RDX: 00007f34b4531fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.540783][ T207] RBP: 00007fff610554f0 R08: 0000000000000000 R09: 0000000000000000 [ 9.540784][ T207] R10: 00007fff610552b0 R11: 0000000000000246 R12: 0000000000000001 [ 9.540784][ T207] R13: 0000000000000000 R14: 00007f34b4916680 R15: 00007f34b4917fa0 [ 9.540791][ T207]