[ 9.860250][ T230] ip (230) used greatest stack depth: 24080 bytes left [ 9.860264][ T230] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.860266][ T230] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 230, name: ip [ 9.860268][ T230] preempt_count: 2, expected: 0 [ 9.860269][ T230] RCU nest depth: 0, expected: 0 [ 9.860270][ T230] locks held by ip/230: 5, last CPU#2: [ 9.860271][ T230] #0: ffffffffaec167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.860283][ T230] #1: ffffffffaed7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.860287][ T230] #2: ffffffffaed7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.860292][ T230] #3: ffffffffaec9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.860295][ T230] #4: ffffffffaec9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.860299][ T230] irq event stamp: 52048 [ 9.860300][ T230] hardirqs last enabled at (52047): [] __down_trylock_console_sem+0x86/0xa0 [ 9.860303][ T230] hardirqs last disabled at (52048): [] console_emit_next_record+0x3d4/0x4c0 [ 9.860305][ T230] softirqs last enabled at (51936): [] handle_softirqs+0x67c/0x900 [ 9.860308][ T230] softirqs last disabled at (50879): [] __irq_exit_rcu+0x145/0x1c0 [ 9.860310][ T230] Preemption disabled at: [ 9.860311][ T230] [<0000000000000000>] 0x0 [ 9.860317][ T230] CPU: 2 UID: 0 PID: 230 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.860320][ T230] Tainted: [W]=WARN [ 9.860321][ T230] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.860323][ T230] Call Trace: [ 9.860324][ T230] [ 9.860326][ T230] dump_stack_lvl+0x6f/0xa0 [ 9.860332][ T230] __might_resched.cold+0x1fe/0x2c1 [ 9.860337][ T230] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.860341][ T230] ? __kmalloc_noprof+0xdb/0x760 [ 9.860345][ T230] __kmalloc_noprof+0x443/0x760 [ 9.860347][ T230] ? alloc_buf.isra.0+0x4b/0x260 [ 9.860354][ T230] ? do_raw_spin_unlock+0x59/0x250 [ 9.860357][ T230] alloc_buf.isra.0+0x4b/0x260 [ 9.860361][ T230] put_chars+0x1e1/0x2f0 [ 9.860363][ T230] ? __send_to_port+0x420/0x420 [ 9.860364][ T230] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.860368][ T230] ? validate_chain+0x38b/0xc20 [ 9.860373][ T230] hvc_console_print+0x292/0x780 [ 9.860381][ T230] ? hvc_write+0x3a0/0x3a0 [ 9.860384][ T230] ? rcu_is_watching+0x16/0xd0 [ 9.860386][ T230] ? lock_acquire+0x13c/0x160 [ 9.860390][ T230] console_emit_next_record+0x22f/0x4c0 [ 9.860393][ T230] ? devkmsg_read+0x4b0/0x4b0 [ 9.860395][ T230] ? console_flush_one_record+0x106/0x710 [ 9.860398][ T230] ? rcu_is_watching+0x16/0xd0 [ 9.860400][ T230] ? lock_acquire+0x13c/0x160 [ 9.860404][ T230] console_flush_one_record+0x46f/0x710 [ 9.860408][ T230] ? console_emit_next_record+0x4c0/0x4c0 [ 9.860410][ T230] ? __lock_acquire+0x518/0xc20 [ 9.860415][ T230] console_unlock+0xee/0x1f0 [ 9.860418][ T230] ? console_flush_one_record+0x710/0x710 [ 9.860420][ T230] ? rcu_is_watching+0x16/0xd0 [ 9.860422][ T230] ? lock_acquire+0xe0/0x160 [ 9.860425][ T230] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.860427][ T230] ? vprintk_emit+0x320/0x3e0 [ 9.860430][ T230] vprintk_emit+0x37c/0x3e0 [ 9.860433][ T230] ? wake_up_klogd_work_func+0x90/0x90 [ 9.860436][ T230] ? __lock_acquire+0x518/0xc20 [ 9.860440][ T230] _printk+0xc7/0x100 [ 9.860444][ T230] ? snapshot_read.cold+0x21/0x21 [ 9.860446][ T230] ? do_raw_spin_lock+0x131/0x280 [ 9.860449][ T230] ? __rwlock_init+0x150/0x150 [ 9.860453][ T230] ? do_raw_spin_lock+0x131/0x280 [ 9.860455][ T230] do_exit.cold+0x82/0x9c [ 9.860459][ T230] ? exit_notify+0x890/0x890 [ 9.860460][ T230] ? __lock_release.isra.0+0x69/0x1a0 [ 9.860463][ T230] ? rcu_is_watching+0x16/0xd0 [ 9.860466][ T230] do_group_exit+0xb8/0x370 [ 9.860469][ T230] __x64_sys_exit_group+0x3c/0x50 [ 9.860471][ T230] x64_sys_call+0x1567/0x1570 [ 9.860473][ T230] do_syscall_64+0xff/0x530 [ 9.860477][ T230] ? exc_page_fault+0xee/0x100 [ 9.860480][ T230] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.860482][ T230] RIP: 0033:0x7f1c2f0731b8 [ 9.860484][ T230] Code: Unable to access opcode bytes at 0x7f1c2f07318e. [ 9.860485][ T230] RSP: 002b:00007fff9e5ab298 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.860488][ T230] RAX: ffffffffffffffda RBX: 00007f1c2f1a3f88 RCX: 00007f1c2f0731b8 [ 9.860489][ T230] RDX: 00007f1c2edbdfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.860490][ T230] RBP: 00007fff9e5ab2f0 R08: 0000000000000000 R09: 0000000000000000 [ 9.860490][ T230] R10: 00007fff9e5ab0b0 R11: 0000000000000246 R12: 0000000000000001 [ 9.860491][ T230] R13: 0000000000000000 R14: 00007f1c2f1a2680 R15: 00007f1c2f1a3fa0 [ 9.860498][ T230]