[ 12.419310][ T225] ip (225) used greatest stack depth: 23584 bytes left [ 12.419334][ T225] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.419336][ T225] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 225, name: ip [ 12.419341][ T225] preempt_count: 2, expected: 0 [ 12.419342][ T225] RCU nest depth: 0, expected: 0 [ 12.419344][ T225] locks held by ip/225: 5, last CPU#0: [ 12.419346][ T225] #0: ffffffff864167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.419361][ T225] #1: ffffffff8657ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.419368][ T225] #2: ffffffff8657de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.419375][ T225] #3: ffffffff8649d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.419381][ T225] #4: ffffffff8649d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.419387][ T225] irq event stamp: 45616 [ 12.419388][ T225] hardirqs last enabled at (45615): [] __down_trylock_console_sem+0x86/0xa0 [ 12.419392][ T225] hardirqs last disabled at (45616): [] console_emit_next_record+0x3d4/0x4c0 [ 12.419395][ T225] softirqs last enabled at (44996): [] handle_softirqs+0x67c/0x900 [ 12.419398][ T225] softirqs last disabled at (44065): [] __irq_exit_rcu+0x145/0x1c0 [ 12.419402][ T225] Preemption disabled at: [ 12.419403][ T225] [<0000000000000000>] 0x0 [ 12.419411][ T225] CPU: 0 UID: 0 PID: 225 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.419416][ T225] Tainted: [W]=WARN [ 12.419417][ T225] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.419420][ T225] Call Trace: [ 12.419422][ T225] [ 12.419424][ T225] dump_stack_lvl+0x6f/0xa0 [ 12.419433][ T225] __might_resched.cold+0x1fe/0x2c1 [ 12.419439][ T225] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.419445][ T225] ? __kmalloc_noprof+0xdb/0x760 [ 12.419451][ T225] __kmalloc_noprof+0x443/0x760 [ 12.419454][ T225] ? alloc_buf.isra.0+0x4b/0x260 [ 12.419464][ T225] ? do_raw_spin_unlock+0x59/0x250 [ 12.419468][ T225] alloc_buf.isra.0+0x4b/0x260 [ 12.419474][ T225] put_chars+0x1e1/0x2f0 [ 12.419478][ T225] ? __send_to_port+0x420/0x420 [ 12.419480][ T225] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.419485][ T225] ? validate_chain+0x38b/0xc20 [ 12.419495][ T225] hvc_console_print+0x292/0x780 [ 12.419506][ T225] ? hvc_write+0x3a0/0x3a0 [ 12.419510][ T225] ? rcu_is_watching+0x16/0xd0 [ 12.419514][ T225] ? lock_acquire+0x13c/0x160 [ 12.419520][ T225] console_emit_next_record+0x22f/0x4c0 [ 12.419527][ T225] ? devkmsg_read+0x4b0/0x4b0 [ 12.419529][ T225] ? console_flush_one_record+0x106/0x710 [ 12.419535][ T225] ? rcu_is_watching+0x16/0xd0 [ 12.419538][ T225] ? lock_acquire+0x13c/0x160 [ 12.419544][ T225] console_flush_one_record+0x46f/0x710 [ 12.419551][ T225] ? console_emit_next_record+0x4c0/0x4c0 [ 12.419554][ T225] ? __lock_acquire+0x518/0xc20 [ 12.419563][ T225] console_unlock+0xee/0x1f0 [ 12.419568][ T225] ? console_flush_one_record+0x710/0x710 [ 12.419570][ T225] ? rcu_is_watching+0x16/0xd0 [ 12.419573][ T225] ? lock_acquire+0xe0/0x160 [ 12.419579][ T225] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.419582][ T225] ? vprintk_emit+0x320/0x3e0 [ 12.419587][ T225] vprintk_emit+0x37c/0x3e0 [ 12.419592][ T225] ? wake_up_klogd_work_func+0x90/0x90 [ 12.419597][ T225] ? __lock_acquire+0x518/0xc20 [ 12.419603][ T225] _printk+0xc7/0x100 [ 12.419609][ T225] ? snapshot_read.cold+0x21/0x21 [ 12.419613][ T225] ? do_raw_spin_lock+0x131/0x280 [ 12.419617][ T225] ? __rwlock_init+0x150/0x150 [ 12.419623][ T225] ? do_raw_spin_lock+0x131/0x280 [ 12.419628][ T225] do_exit.cold+0x82/0x9c [ 12.419633][ T225] ? exit_notify+0x890/0x890 [ 12.419635][ T225] ? __lock_release.isra.0+0x69/0x1a0 [ 12.419640][ T225] ? rcu_is_watching+0x16/0xd0 [ 12.419646][ T225] do_group_exit+0xb8/0x370 [ 12.419651][ T225] __x64_sys_exit_group+0x3c/0x50 [ 12.419654][ T225] x64_sys_call+0x1567/0x1570 [ 12.419658][ T225] do_syscall_64+0xff/0x530 [ 12.419663][ T225] ? exc_page_fault+0xee/0x100 [ 12.419668][ T225] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.419671][ T225] RIP: 0033:0x7fa265f3b1b8 [ 12.419674][ T225] Code: Unable to access opcode bytes at 0x7fa265f3b18e. [ 12.419676][ T225] RSP: 002b:00007ffe1152eb78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.419680][ T225] RAX: ffffffffffffffda RBX: 00007fa26606bf88 RCX: 00007fa265f3b1b8 [ 12.419682][ T225] RDX: 00007fa265c85fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 12.419683][ T225] RBP: 00007ffe1152ebd0 R08: 0000000000000000 R09: 0000000000000050 [ 12.419685][ T225] R10: 00007ffe1152e990 R11: 0000000000000246 R12: 0000000000000001 [ 12.419686][ T225] R13: 0000000000000000 R14: 00007fa26606a680 R15: 00007fa26606bfa0 [ 12.419698][ T225]