[ 11.364320][ T199] ip (199) used greatest stack depth: 24072 bytes left [ 11.364340][ T199] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.364342][ T199] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 199, name: ip [ 11.364344][ T199] preempt_count: 2, expected: 0 [ 11.364345][ T199] RCU nest depth: 0, expected: 0 [ 11.364346][ T199] locks held by ip/199: 5, last CPU#3: [ 11.364348][ T199] #0: ffffffffb70167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.364359][ T199] #1: ffffffffb717ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.364364][ T199] #2: ffffffffb717de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.364369][ T199] #3: ffffffffb709d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.364373][ T199] #4: ffffffffb709d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.364377][ T199] irq event stamp: 28074 [ 11.364378][ T199] hardirqs last enabled at (28073): [] __down_trylock_console_sem+0x86/0xa0 [ 11.364381][ T199] hardirqs last disabled at (28074): [] console_emit_next_record+0x3d4/0x4c0 [ 11.364383][ T199] softirqs last enabled at (27504): [] handle_softirqs+0x67c/0x900 [ 11.364385][ T199] softirqs last disabled at (27497): [] __irq_exit_rcu+0x145/0x1c0 [ 11.364388][ T199] Preemption disabled at: [ 11.364389][ T199] [<0000000000000000>] 0x0 [ 11.364396][ T199] CPU: 3 UID: 0 PID: 199 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.364400][ T199] Tainted: [W]=WARN [ 11.364401][ T199] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.364403][ T199] Call Trace: [ 11.364404][ T199] [ 11.364406][ T199] dump_stack_lvl+0x6f/0xa0 [ 11.364413][ T199] __might_resched.cold+0x1fe/0x2c1 [ 11.364417][ T199] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.364422][ T199] ? __kmalloc_noprof+0xdb/0x760 [ 11.364426][ T199] __kmalloc_noprof+0x443/0x760 [ 11.364428][ T199] ? alloc_buf.isra.0+0x4b/0x260 [ 11.364435][ T199] ? do_raw_spin_unlock+0x59/0x250 [ 11.364438][ T199] alloc_buf.isra.0+0x4b/0x260 [ 11.364442][ T199] put_chars+0x1e1/0x2f0 [ 11.364444][ T199] ? __send_to_port+0x420/0x420 [ 11.364446][ T199] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.364449][ T199] ? validate_chain+0x38b/0xc20 [ 11.364455][ T199] hvc_console_print+0x292/0x780 [ 11.364463][ T199] ? hvc_write+0x3a0/0x3a0 [ 11.364466][ T199] ? rcu_is_watching+0x16/0xd0 [ 11.364468][ T199] ? lock_acquire+0x13c/0x160 [ 11.364472][ T199] console_emit_next_record+0x22f/0x4c0 [ 11.364476][ T199] ? devkmsg_read+0x4b0/0x4b0 [ 11.364478][ T199] ? console_flush_one_record+0x106/0x710 [ 11.364481][ T199] ? rcu_is_watching+0x16/0xd0 [ 11.364483][ T199] ? lock_acquire+0x13c/0x160 [ 11.364487][ T199] console_flush_one_record+0x46f/0x710 [ 11.364492][ T199] ? console_emit_next_record+0x4c0/0x4c0 [ 11.364494][ T199] ? __lock_acquire+0x518/0xc20 [ 11.364499][ T199] console_unlock+0xee/0x1f0 [ 11.364502][ T199] ? console_flush_one_record+0x710/0x710 [ 11.364504][ T199] ? rcu_is_watching+0x16/0xd0 [ 11.364506][ T199] ? lock_acquire+0xe0/0x160 [ 11.364510][ T199] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.364512][ T199] ? vprintk_emit+0x320/0x3e0 [ 11.364514][ T199] vprintk_emit+0x37c/0x3e0 [ 11.364518][ T199] ? wake_up_klogd_work_func+0x90/0x90 [ 11.364521][ T199] ? __lock_acquire+0x518/0xc20 [ 11.364524][ T199] _printk+0xc7/0x100 [ 11.364528][ T199] ? snapshot_read.cold+0x21/0x21 [ 11.364531][ T199] ? do_raw_spin_lock+0x131/0x280 [ 11.364534][ T199] ? __rwlock_init+0x150/0x150 [ 11.364538][ T199] ? do_raw_spin_lock+0x131/0x280 [ 11.364541][ T199] do_exit.cold+0x82/0x9c [ 11.364545][ T199] ? exit_notify+0x890/0x890 [ 11.364546][ T199] ? __lock_release.isra.0+0x69/0x1a0 [ 11.364549][ T199] ? rcu_is_watching+0x16/0xd0 [ 11.364553][ T199] do_group_exit+0xb8/0x370 [ 11.364556][ T199] __x64_sys_exit_group+0x3c/0x50 [ 11.364558][ T199] x64_sys_call+0x1567/0x1570 [ 11.364560][ T199] do_syscall_64+0xff/0x530 [ 11.364565][ T199] ? exc_page_fault+0xee/0x100 [ 11.364568][ T199] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.364570][ T199] RIP: 0033:0x7fc2527551b8 [ 11.364573][ T199] Code: Unable to access opcode bytes at 0x7fc25275518e. [ 11.364574][ T199] RSP: 002b:00007ffd10e69028 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.364576][ T199] RAX: ffffffffffffffda RBX: 00007fc252885f88 RCX: 00007fc2527551b8 [ 11.364578][ T199] RDX: 00007fc25249ffc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.364579][ T199] RBP: 00007ffd10e69080 R08: 0000000000000000 R09: 0000000000000050 [ 11.364580][ T199] R10: 00007ffd10e68e40 R11: 0000000000000246 R12: 0000000000000001 [ 11.364580][ T199] R13: 0000000000000000 R14: 00007fc252884680 R15: 00007fc252885fa0 [ 11.364588][ T199] [ 11.985340][ T212] ip (212) used greatest stack depth: 23936 bytes left