[ 10.285464][ T233] ip (233) used greatest stack depth: 23776 bytes left [ 10.285480][ T233] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.285482][ T233] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 233, name: ip [ 10.285484][ T233] preempt_count: 2, expected: 0 [ 10.285485][ T233] RCU nest depth: 0, expected: 0 [ 10.285486][ T233] locks held by ip/233: 5, last CPU#3: [ 10.285487][ T233] #0: ffffffffae6167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.285498][ T233] #1: ffffffffae77ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.285503][ T233] #2: ffffffffae77de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.285507][ T233] #3: ffffffffae69d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.285511][ T233] #4: ffffffffae69d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.285515][ T233] irq event stamp: 26920 [ 10.285516][ T233] hardirqs last enabled at (26919): [] __down_trylock_console_sem+0x86/0xa0 [ 10.285519][ T233] hardirqs last disabled at (26920): [] console_emit_next_record+0x3d4/0x4c0 [ 10.285521][ T233] softirqs last enabled at (26652): [] handle_softirqs+0x67c/0x900 [ 10.285523][ T233] softirqs last disabled at (26647): [] __irq_exit_rcu+0x145/0x1c0 [ 10.285526][ T233] Preemption disabled at: [ 10.285526][ T233] [<0000000000000000>] 0x0 [ 10.285533][ T233] CPU: 3 UID: 0 PID: 233 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.285536][ T233] Tainted: [W]=WARN [ 10.285537][ T233] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.285539][ T233] Call Trace: [ 10.285540][ T233] [ 10.285541][ T233] dump_stack_lvl+0x6f/0xa0 [ 10.285548][ T233] __might_resched.cold+0x1fe/0x2c1 [ 10.285552][ T233] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.285556][ T233] ? __kmalloc_noprof+0xdb/0x760 [ 10.285560][ T233] __kmalloc_noprof+0x443/0x760 [ 10.285562][ T233] ? alloc_buf.isra.0+0x4b/0x260 [ 10.285568][ T233] ? do_raw_spin_unlock+0x59/0x250 [ 10.285571][ T233] alloc_buf.isra.0+0x4b/0x260 [ 10.285575][ T233] put_chars+0x1e1/0x2f0 [ 10.285577][ T233] ? __send_to_port+0x420/0x420 [ 10.285578][ T233] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.285582][ T233] ? validate_chain+0x38b/0xc20 [ 10.285587][ T233] hvc_console_print+0x292/0x780 [ 10.285594][ T233] ? hvc_write+0x3a0/0x3a0 [ 10.285597][ T233] ? rcu_is_watching+0x16/0xd0 [ 10.285599][ T233] ? lock_acquire+0x13c/0x160 [ 10.285603][ T233] console_emit_next_record+0x22f/0x4c0 [ 10.285607][ T233] ? devkmsg_read+0x4b0/0x4b0 [ 10.285609][ T233] ? console_flush_one_record+0x106/0x710 [ 10.285612][ T233] ? rcu_is_watching+0x16/0xd0 [ 10.285613][ T233] ? lock_acquire+0x13c/0x160 [ 10.285617][ T233] console_flush_one_record+0x46f/0x710 [ 10.285621][ T233] ? console_emit_next_record+0x4c0/0x4c0 [ 10.285623][ T233] ? __lock_acquire+0x518/0xc20 [ 10.285628][ T233] console_unlock+0xee/0x1f0 [ 10.285631][ T233] ? console_flush_one_record+0x710/0x710 [ 10.285633][ T233] ? rcu_is_watching+0x16/0xd0 [ 10.285635][ T233] ? lock_acquire+0xe0/0x160 [ 10.285638][ T233] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.285640][ T233] ? vprintk_emit+0x320/0x3e0 [ 10.285643][ T233] vprintk_emit+0x37c/0x3e0 [ 10.285646][ T233] ? wake_up_klogd_work_func+0x90/0x90 [ 10.285648][ T233] ? __lock_acquire+0x518/0xc20 [ 10.285652][ T233] _printk+0xc7/0x100 [ 10.285656][ T233] ? snapshot_read.cold+0x21/0x21 [ 10.285658][ T233] ? do_raw_spin_lock+0x131/0x280 [ 10.285661][ T233] ? __rwlock_init+0x150/0x150 [ 10.285665][ T233] ? do_raw_spin_lock+0x131/0x280 [ 10.285667][ T233] do_exit.cold+0x82/0x9c [ 10.285671][ T233] ? exit_notify+0x890/0x890 [ 10.285673][ T233] ? __lock_release.isra.0+0x69/0x1a0 [ 10.285675][ T233] ? rcu_is_watching+0x16/0xd0 [ 10.285679][ T233] do_group_exit+0xb8/0x370 [ 10.285681][ T233] __x64_sys_exit_group+0x3c/0x50 [ 10.285683][ T233] x64_sys_call+0x1567/0x1570 [ 10.285686][ T233] do_syscall_64+0xff/0x530 [ 10.285690][ T233] ? exc_page_fault+0xee/0x100 [ 10.285692][ T233] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.285694][ T233] RIP: 0033:0x7fe95d9781b8 [ 10.285696][ T233] Code: Unable to access opcode bytes at 0x7fe95d97818e. [ 10.285697][ T233] RSP: 002b:00007ffeab0e45c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.285699][ T233] RAX: ffffffffffffffda RBX: 00007fe95daa8f88 RCX: 00007fe95d9781b8 [ 10.285701][ T233] RDX: 00007fe95d6c2fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.285702][ T233] RBP: 00007ffeab0e4620 R08: 0000000000000000 R09: 0000000000000050 [ 10.285702][ T233] R10: 00007ffeab0e43e0 R11: 0000000000000246 R12: 0000000000000001 [ 10.285703][ T233] R13: 0000000000000000 R14: 00007fe95daa7680 R15: 00007fe95daa8fa0 [ 10.285710][ T233]